Skip to content

Instantly share code, notes, and snippets.

@recollir
Created April 9, 2018 10:51
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 recollir/5b19d543adaa50b1889aabafeb77b847 to your computer and use it in GitHub Desktop.
Save recollir/5b19d543adaa50b1889aabafeb77b847 to your computer and use it in GitHub Desktop.
kops rolling-update cluster
kops rolling-update cluster <redacted> --instance-group master-eu-west-1a --yes
NAME STATUS NEEDUPDATE READY MIN MAX NODES
master-eu-west-1a NeedsUpdate 1 0 1 1 1
I0401 00:00:00.000000 64621 instancegroups.go:130] Draining the node: "ip-10-xxx-yyy-zzz.eu-west-1.compute.internal".
node "ip-10-xxx-yyy-zzz.eu-west-1.compute.internal" cordoned
node "ip-10-xxx-yyy-zzz.eu-west-1.compute.internal" cordoned
WARNING: Ignoring DaemonSet-managed pods: aws-node-12345; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: etcd-server-events-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal, etcd-server-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal, kube-apiserver-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal, kube-controller-manager-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal, kube-proxy-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal, kube-scheduler-ip-10-xxx-yyy-zzz.eu-west-1.compute.internal
node "ip-10-xxx-yyy-zzz.eu-west-1.compute.internal" drained
I0401 00:00:00.000000 64621 instancegroups.go:237] Stopping instance "i-xyz", node "ip-10-xxx-yyy-zzz.eu-west-1.compute.internal", in group "master-eu-west-1a.masters.<redacted>".
I0401 00:00:00.000000 64621 instancegroups.go:161] Validating the cluster.
I0401 00:00:00.000000 64621 instancegroups.go:209] Cluster did not validate, will try again in "30s" until duration "5m0s" expires: your masters are NOT ready <redaxted>.
I0401 00:00:00.000000 64621 instancegroups.go:209] Cluster did not validate, will try again in "30s" until duration "5m0s" expires: your nodes are NOT ready <redacted>.
...
...
E0401 00:05:00.000000 64621 instancegroups.go:166] Cluster did not validate within 5m0s
error validating cluster after removing a node: cluster did not validate within a duation of "5m0s"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment