Kubeadm scheduler manifest contains incorrect flag #2716
Labels
area/upgrades
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Error: unknown flag: --address
BUG REPORT
After upgrading from 1.23.8 to 1.24.2 I saw that my pods are not getting scheduled. so I checked the issue and found that kube-scheduler is in error due to an old flag i.e. --address, however in 1.24 it is changed to --bind-address.
Versions
kubeadm version : 1.24.2
Environment:
uname -a
): Linux vjs-net-in 5.15.0-30-generic The product_uuid and the hostname should be unique across nodes #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxWhat happened?
Pods not getting scheduled after upgrade to 1.24.x
What you expected to happen?
Pods should be scheduled.
How to reproduce it (as minimally and precisely as possible)?
Install or upgrade kubernetes to 1.24.x
Anything else we need to know?
I was able to resolve the issue by running the below command.
sudo sed -i -e 's/--address=0.0.0.0/--bind-address=0.0.0.0/' /etc/kubernetes/manifests/kube-scheduler.yaml
Please fix the issue in upcoming versions.
The text was updated successfully, but these errors were encountered: