Skip to content

Instantly share code, notes, and snippets.

@felipecosta09
Last active April 11, 2020 07:21
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/df6c34eca0c90cf6343f9accb895547f to your computer and use it in GitHub Desktop.
Save felipecosta09/df6c34eca0c90cf6343f9accb895547f to your computer and use it in GitHub Desktop.
KOPS Worker Nodes Configuration
# Edit KOPS Worker Nodes Configuration
kops edit ig nodes --name ${NAME}
---------------------------------------------
# Result
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2020-04-08T11:25:54Z"
generation: 1
labels:
kops.k8s.io/cluster: k8s-gitlab.k8s.local
name: nodes
spec:
image: kope.io/k8s-1.16-debian-stretch-amd64-hvm-ebs-2020-01-17
machineType: t2.medium
maxSize: 5
minSize: 3
nodeLabels:
kops.k8s.io/instancegroup: nodes
role: Node
subnets:
- us-east-1a
- us-east-1b
- us-east-1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment