Skip to content

Instantly share code, notes, and snippets.

@mrballcb
Created January 19, 2018 06:10
Show Gist options
  • Save mrballcb/7899624679cc45c16e6d396ece9e688e to your computer and use it in GitHub Desktop.
Save mrballcb/7899624679cc45c16e6d396ece9e688e to your computer and use it in GitHub Desktop.
kops rolling-update --interactive, default (not yes, no, nor Alwaysyes)
~/repos/kubernetes-kops tlyons(⎈ |iad1:default) (test_1_8_0_interactive_cli) $ $KOPS rolling-update cluster sjc1.cloud.net --interactive --yes --node-interval 3m0s
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:58:37.724453 47095 instancegroups.go:158] Draining the node: "ip-10-1-61-118.us-west-1.compute.internal".
node "ip-10-1-61-118.us-west-1.compute.internal" cordoned
node "ip-10-1-61-118.us-west-1.compute.internal" cordoned
WARNING: Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-118.us-west-1.compute.internal; Ignoring DaemonSet-managed pods: canal-40x89
node "ip-10-1-61-118.us-west-1.compute.internal" drained
I0118 22:00:07.963342 47095 instancegroups.go:275] Stopping instance "i-056bd45fe24028650", node "ip-10-1-61-118.us-west-1.compute.internal", in group "nodes.sjc1.cloud.net".
I0118 22:03:08.271489 47095 instancegroups.go:189] Validating the cluster.
I0118 22:03:08.981337 47095 instancegroups.go:250] Cluster validated.
I0118 22:03:08.981354 47095 instancegroups.go:74] Pausing after finished "ip-10-1-61-118.us-west-1.compute.internal"
Continue? (Y)es, (N)o, (A)lwaysYes: [Y]
I0118 22:03:12.367472 47095 instancegroups.go:158] Draining the node: "ip-10-1-61-50.us-west-1.compute.internal".
node "ip-10-1-61-50.us-west-1.compute.internal" cordoned
node "ip-10-1-61-50.us-west-1.compute.internal" cordoned
WARNING: Ignoring DaemonSet-managed pods: canal-qxj4j; Deleting pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet: kube-proxy-ip-10-1-61-50.us-west-1.compute.internal; Deleting pods with local storage: monitoring-grafana-1831171644-spdv7, monitoring-influxdb-3570645011-22rd9
pod "heapster-84017538-76jzl" evicted
pod "kube-dns-1311260920-gpthn" evicted
pod "monitoring-influxdb-3570645011-22rd9" evicted
pod "kube-dns-1311260920-6qwvp" evicted
pod "monitoring-grafana-1831171644-spdv7" evicted
pod "external-dns-213181680-05nl4" evicted
pod "tiller-deploy-1853538654-b4vj1" evicted
pod "logstash-prod-saas-relay-1218196112-bldx2" evicted
pod "logstash-dev-saas-relay-3709837321-dsckr" evicted
pod "kube-dns-autoscaler-1818915203-f657g" evicted
node "ip-10-1-61-50.us-west-1.compute.internal" drained
I0118 22:04:45.251582 47095 instancegroups.go:275] Stopping instance "i-0bf873a8d58170b9c", node "ip-10-1-61-50.us-west-1.compute.internal", in group "nodes.sjc1.cloud.net".
I0118 22:07:45.553241 47095 instancegroups.go:189] Validating the cluster.
I0118 22:07:46.027638 47095 instancegroups.go:250] Cluster validated.
I0118 22:07:46.027658 47095 instancegroups.go:74] Pausing after finished "ip-10-1-61-50.us-west-1.compute.internal"
Continue? (Y)es, (N)o, (A)lwaysYes: [Y] No
I0118 22:07:56.504064 47095 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