kops
Kops is a top-tier tool for deploying Kubernetes clusters. Its versatility allows it to automatically set up high-availability Kubernetes clusters on platforms such as AWS, GCE, and VMWare vSphere. Here are some of its standout features:
Automated deployment of high-availability Kubernetes clusters.
Upgrade capability from clusters created with kube-up to Kops versions.
Dry-run and automatic idempotent upgrades, based on a state synchronization model.
Auto-generation of AWS CloudFormation and Terraform configurations.
Customizable extension add-ons.
Command-line auto-completion.
Installing kops and kubectl
# on macOS
brew install kubectl kops
# on Linux
wget https://github.com/kubernetes/kops/releases/download/1.7.0/kops-linux-amd64
chmod +x kops-linux-amd64
mv kops-linux-amd64 /usr/local/bin/kopsLaunching on AWS
First, you'll need to install AWS CLI and configure IAM:
Next, create a route53 domain:
Then, set up an S3 storage bucket:
Now you're ready to deploy a Kubernetes cluster:
Want a high-availability cluster? No problem:
When your needs shift, you can delete your cluster:
Launching on GCE
最后更新于