kops

kops

TLDR

Create a cluster from the configuration specification

$ kops create cluster -f [cluster_name.yaml]
copy


Create a new ssh public key
$ kops create secret sshpublickey [key_name] -i [~/.ssh/id_rsa.pub]
copy


Export the cluster configuration to the ~/.kube/config file
$ kops export kubecfg [cluster_name]
copy


Get the cluster configuration as YAML
$ kops get cluster [cluster_name] -o yaml
copy


Delete a cluster
$ kops delete cluster [cluster_name] --yes
copy

Copied to clipboard