Deployment with replicaset & node shutdown

10 views
Skip to first unread message

vis...@gmail.com

unread,
Jun 4, 2018, 5:06:04 PM6/4/18
to Kubernetes user discussion and Q&A
We have a deployment with replicas: 1
We deploy it in a 3 agent node k8s cluster (k8s 1.8.13) and it gets deployed to a node (say agent node-0). When I shutdown node-0, the rs does not get rescheduled (its been more than an hour now).
I have checked that the selector labels are correct and we have plenty of capacity in the cluster (and also we don’t specify resource requests). Also I checked that our node selectors are just checking for agent nodes and there are 2 other agent nodes available.
Is there any special treatments around this shutdown scenario that k8s does ?

Rodrigo Campos

unread,
Jun 5, 2018, 5:17:48 PM6/5/18
to kubernet...@googlegroups.com
No special treatment, it should work.

The Node should not be detected anymore and the kubectl describe of the pod (or other objects too) should tell you more information on what's happening
--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages