Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
kubeadm upgrade plan
issue with FQDN nodes names
the fix introduced in kubernetes#110634 also introduces a bug preventing `kubeadm upgrade plan` from running on nodes having a different `os.Hostname()` than node name. concretely, for a node `titi.company.ch`, `os.Hostname()` will return `titi`, while the full node name is actually `titi.company.ch`. this simple fix uses the `cfg.NodeRegistration.Name` instead, which fixes the issue on my nodes with a FQDN node name Keep previous hostname retrieval as fallback for dupURL CRI fix
- Loading branch information