Skip to content

Instantly share code, notes, and snippets.

@mrballcb
Created January 19, 2018 05:47
Show Gist options
  • Save mrballcb/c6ae28c7ef4754c36da6bd81055a8550 to your computer and use it in GitHub Desktop.
Save mrballcb/c6ae28c7ef4754c36da6bd81055a8550 to your computer and use it in GitHub Desktop.
kops rolling-update --interactive, answered always yes
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $ $KOPS rolling-update cluster sjc1.cloud.net --interactive --yes
NAME STATUS NEEDUPDATE READY MIN MAX NODES
master-us-west-1a-1 Ready 0 1 1 1 1
master-us-west-1a-2 Ready 0 1 1 1 1
master-us-west-1b-1 Ready 0 1 1 1 1
nodes NeedsUpdate 2 0 2 20 2
I0118 21:30:59.601800 41879 instancegroups.go:160] Draining the node: "ip-10-1-61-41.us-west-1.compute.internal".
node "ip-10-1-61-41.us-west-1.compute.internal" cordoned
node "ip-10-1-61-41.us-west-1.compute.internal" cordoned
WARNING: Ignoring DaemonSet-managed pods: canal-p1xkr; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-41.us-west-1.compute.internal; Deleting pods with local storage: monitoring-grafana-1831171644-ndpkv, monitoring-influxdb-3570645011-0gk5p
pod "heapster-84017538-3mj7g" evicted
pod "tiller-deploy-1853538654-7zw5d" evicted
pod "logstash-dev-saas-relay-3709837321-ndw32" evicted
pod "kube-dns-1311260920-wsng4" evicted
pod "kube-dns-1311260920-gdlnm" evicted
pod "monitoring-influxdb-3570645011-0gk5p" evicted
pod "kube-dns-autoscaler-1818915203-xw7sz" evicted
pod "monitoring-grafana-1831171644-ndpkv" evicted
pod "logstash-prod-saas-relay-1218196112-js691" evicted
pod "external-dns-213181680-jzsc3" evicted
node "ip-10-1-61-41.us-west-1.compute.internal" drained
I0118 21:32:32.493740 41879 instancegroups.go:277] Stopping instance "i-0693a4afa6bfbefd5", node "ip-10-1-61-41.us-west-1.compute.internal", in group "nodes.sjc1.cloud.net".
I0118 21:36:32.845554 41879 instancegroups.go:191] Validating the cluster.
I0118 21:36:33.602801 41879 instancegroups.go:252] Cluster validated.
I0118 21:36:33.602816 41879 instancegroups.go:74] Pausing after finished "ip-10-1-61-41.us-west-1.compute.internal"
Continue? (Y)es, (N)o, (A)lwaysYes: [Y] a
I0118 21:36:36.701355 41879 instancegroups.go:92] Always Yes, stop prompting for rest of hosts
I0118 21:36:36.701375 41879 instancegroups.go:160] Draining the node: "ip-10-1-61-106.us-west-1.compute.internal".
node "ip-10-1-61-106.us-west-1.compute.internal" cordoned
node "ip-10-1-61-106.us-west-1.compute.internal" cordoned
WARNING: Ignoring DaemonSet-managed pods: canal-lrbwp; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-106.us-west-1.compute.internal; Deleting pods with local storage: monitoring-grafana-1831171644-s0hq9, monitoring-influxdb-3570645011-21ncl
pod "heapster-84017538-sb0rr" evicted
pod "tiller-deploy-1853538654-7vrcw" evicted
pod "monitoring-influxdb-3570645011-21ncl" evicted
pod "logstash-prod-saas-relay-1218196112-hk716" evicted
pod "external-dns-213181680-tkvx1" evicted
pod "monitoring-grafana-1831171644-s0hq9" evicted
pod "logstash-dev-saas-relay-3709837321-t5tz1" evicted
pod "kube-dns-autoscaler-1818915203-dp11c" evicted
pod "kube-dns-1311260920-4g7xj" evicted
pod "kube-dns-1311260920-47hlm" evicted
node "ip-10-1-61-106.us-west-1.compute.internal" drained
I0118 21:38:09.634997 41879 instancegroups.go:277] Stopping instance "i-08a779d3ec83a3e23", node "ip-10-1-61-106.us-west-1.compute.internal", in group "nodes.sjc1.cloud.net".
I0118 21:42:09.985912 41879 instancegroups.go:191] Validating the cluster.
I0118 21:42:10.575905 41879 instancegroups.go:252] Cluster validated.
I0118 21:42:10.575933 41879 rollingupdate.go:193] Rolling update completed for cluster "sjc1.cloud.net"!
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment