kubermatic / kubermatic

Kubermatic Kubernetes Platform - the Central Kubernetes Management Platform For Any Infrastructure
https://www.kubermatic.com
Other
1.08k stars 162 forks source link

machine-controller is not restarted when cloud credentials are updated #13670

Closed judge-red closed 4 weeks ago

judge-red commented 2 months ago

What happened?

When updating the cloud credentials in the Cluster resource, they're rolled out to all the correct places (cloud-config, etc.) Furthermore things like the CCM and I think the CSI are restarted. However, the machine-controller and machine-controller-webhook are not. Thus, if the old credentials don't work anymore, machines can't be added or removed anymore.

Expected behavior

Changing cloud credentials should restart the machine-controller pod.

How to reproduce the issue?

How is your environment configured?

Provide your KKP manifest here (if applicable)

N/A

What cloud provider are you running on?

OpenStack

What operating system are you running in your user cluster?

Ubuntu 22.04

Additional information

csengerszabo commented 2 months ago

/label sig/cluster-management

judge-red commented 1 month ago

Oops, I forgot we disabled the kubermatic-operator (replicas=0) in the environment where I tried this to work around another issue. I don't expect the operator would have anything to do with this rollout, but can't verify it right now, so please let me know if that's the case.