andy
andy

Reputation: 4289

Can we restart kubelet without affecting the running pods

I have configure kubelet to run properly for some days. However, currently, i want to add some image gc parameters to kubelet. I am now curiously about whether i can just add the command parameters and restart kubelet.

Any thing i should take care before of after doing this?

Upvotes: 2

Views: 1692

Answers (1)

Tim Hockin
Tim Hockin

Reputation: 3662

It should be completely safe to bring Kubelet down for a short while. If it is down too long (40 seconds, I think), the master might detect the node as dead, though :)

Upvotes: 1

Related Questions