Skip to content

Instantly share code, notes, and snippets.

@felipecosta09
Created April 10, 2020 11:52
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/5ca1650b706ad0558bc89765c5681120 to your computer and use it in GitHub Desktop.
Save felipecosta09/5ca1650b706ad0558bc89765c5681120 to your computer and use it in GitHub Desktop.
KOPS Configuration and Deploy your Cluster
# Apply KOPS Configuration and Deploy your Cluster
kops update cluster ${NAME} --yes
I0408 11:40:22.496308 26686 apply_cluster.go:556] Gossip DNS: skipping DNS validation
I0408 11:40:22.868197 26686 executor.go:103] Tasks: 0 done / 96 total; 44 can run
I0408 11:40:24.467352 26686 vfs_castore.go:729] Issuing new certificate: "apiserver-aggregator-ca"
I0408 11:40:24.603492 26686 vfs_castore.go:729] Issuing new certificate: "etcd-manager-ca-events"
I0408 11:40:24.722944 26686 vfs_castore.go:729] Issuing new certificate: "ca"
I0408 11:40:25.039968 26686 vfs_castore.go:729] Issuing new certificate: "etcd-manager-ca-main"
I0408 11:40:25.058545 26686 vfs_castore.go:729] Issuing new certificate: "etcd-peers-ca-events"
I0408 11:40:25.130856 26686 vfs_castore.go:729] Issuing new certificate: "etcd-clients-ca"
I0408 11:40:25.245445 26686 vfs_castore.go:729] Issuing new certificate: "etcd-peers-ca-main"
I0408 11:40:25.921655 26686 executor.go:103] Tasks: 44 done / 96 total; 26 can run
I0408 11:40:27.156626 26686 vfs_castore.go:729] Issuing new certificate: "kube-controller-manager"
I0408 11:40:27.291622 26686 vfs_castore.go:729] Issuing new certificate: "kube-proxy"
I0408 11:40:27.607405 26686 vfs_castore.go:729] Issuing new certificate: "kubelet"
I0408 11:40:27.613786 26686 vfs_castore.go:729] Issuing new certificate: "apiserver-aggregator"
I0408 11:40:27.622847 26686 vfs_castore.go:729] Issuing new certificate: "kops"
I0408 11:40:27.762243 26686 vfs_castore.go:729] Issuing new certificate: "kubecfg"
I0408 11:40:28.157757 26686 vfs_castore.go:729] Issuing new certificate: "kube-scheduler"
I0408 11:40:28.371086 26686 vfs_castore.go:729] Issuing new certificate: "kubelet-api"
I0408 11:40:29.329908 26686 vfs_castore.go:729] Issuing new certificate: "apiserver-proxy-client"
I0408 11:40:29.657829 26686 executor.go:103] Tasks: 70 done / 96 total; 22 can run
I0408 11:40:29.873880 26686 launchconfiguration.go:375] waiting for IAM instance profile "nodes.k8s-gitlab.k8s.local" to be ready
I0408 11:40:40.283628 26686 executor.go:103] Tasks: 92 done / 96 total; 3 can run
I0408 11:40:40.892999 26686 vfs_castore.go:729] Issuing new certificate: "master"
I0408 11:40:41.161211 26686 executor.go:103] Tasks: 95 done / 96 total; 1 can run
I0408 11:40:41.447250 26686 executor.go:103] Tasks: 96 done / 96 total; 0 can run
I0408 11:40:41.541043 26686 update_cluster.go:305] Exporting kubecfg for cluster
kops has set your kubectl context to k8s-gitlab.k8s.local
Cluster is starting. It should be ready in a few minutes.
Suggestions:
* validate cluster: kops validate cluster
* list nodes: kubectl get nodes --show-labels
* ssh to the master: ssh -i ~/.ssh/id_rsa admin@api.k8s-gitlab.k8s.local
* the admin user is specific to Debian. If not using Debian please use the appropriate user based on your OS.
* read about installing addons at: https://github.com/kubernetes/kops/blob/master/docs/operations/addons.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment