Skip to content

Instantly share code, notes, and snippets.

@felipecosta09
Last active April 10, 2020 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipecosta09/bd18db30db5f262031e9a57fca156809 to your computer and use it in GitHub Desktop.
Save felipecosta09/bd18db30db5f262031e9a57fca156809 to your computer and use it in GitHub Desktop.
Create KOPS Cluster Configuration
# Create KOPS Cluster Configuration
kops create cluster --zones us-east-1a,us-east-1b,us-east-1c ${NAME}
------------------------------------------------------------------------------
# Result
[root@ec2-user] kops create cluster --zones us-east-1a,us-east-1b,us-east-1c ${NAME}
I0408 11:25:53.884925 26564 create_cluster.go:562] Inferred --cloud=aws from zone "us-east-1a"
I0408 11:25:53.942924 26564 subnets.go:184] Assigned CIDR 172.20.32.0/19 to subnet us-east-1a
I0408 11:25:53.943055 26564 subnets.go:184] Assigned CIDR 172.20.64.0/19 to subnet us-east-1b
I0408 11:25:53.943097 26564 subnets.go:184] Assigned CIDR 172.20.96.0/19 to subnet us-east-1c
Previewing changes that will be made:
SSH public key must be specified when running with AWS (create with `kops create secret --name k8s-gitlab.k8s.local sshpublickey admin -i ~/.ssh/id_rsa.pub`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment