Cheat Sheet
Useful Kops tricks.
Enable autocomplete
source <(kops completion bash)Create cluster
export AWS_ACCESS_KEY_ID=ThyFreeFolk
export AWS_SECRET_ACCESS_KEY=YouShallNotPass
export EC2_REGION=ap-southeast-2
export AWS_DEFAULT_REGION=ap-southeast-2kops create cluster \
--zones=ap-southeast-2a \
--master-size=t2.small \
--node-size=t2.medium \
--node-count=1 \
--admin-access=0.0.0.0/0 \
--authorization=AlwaysAllow \
--cloud=aws \
--name=YOUR-CLUSTER-NAME \
--state=s3://STATE-BUCKET
--yesGet cluster credentials
Get admin password
Get token
Upgrade Kubernetes version
Before you begin
Manual upgrade (recommended)
Automated update
References
Last updated