moving vms to different node don't update the topology.kubernetes.io/zone #126
Replies: 2 comments
-
Hello, CCM cannot change region/zone/instance-type/provider-id after creation. So, it is not kubernetes way to migrate nodes between zone/region. Better to create new instance and drain/migrate the pods. |
Beta Was this translation helpful? Give feedback.
-
For future reference, this is easier and faster way to trigger re-labeling ;) # kubectl taint node $(kubectl get nodes -o name) node.cloudprovider.kubernetes.io/uninitialized:NoSchedule --overwrite I just created fresh cluster as a clone from template VM, so they naturally spawned on 1st Proxmox Node. Recreating them just because of that wasn't worth the time, so triggering relabeling is a lot better and faster after migrating them. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Description
did live migration of vms to different proxmox node and the topology.kubernetes.io/zone stayed the same
Logs
Environment
kubernetes 1.28
latest plugin
ubuntu 22.04
kubectl version --short
]kubectl describe node <node>
]cat /etc/os-release
]Beta Was this translation helpful? Give feedback.
All reactions