kops Command Examples

Create, destroy, upgrade and maintain Kubernetes clusters. More information: https://github.com/kubernetes/kops/.

kops create cluster {{[-f|--filename]}} {{cluster_name.yaml}}

kops create sshpublickey {{key_name}} {{[-i|--ssh-public-key]}} {{~/.ssh/id_rsa.pub}}

kops export kubecfg {{cluster_name}}

kops get cluster {{cluster_name}} {{[-o|--output]}} yaml

kops delete cluster {{cluster_name}} {{[-y|--yes]}}

kops validate cluster {{cluster_name}} --wait {{wait_time_until_ready}} --count {{num_required_validations}}