-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kube-controller and kube-scheduler not working on kubernetes v1.18.8 #2279
Comments
/triage support |
Thank you for the reply. |
Yes CS was deprecaded in 1.19 but we also disabled insecure serving of
these components for older versions. To restore that functionality you can
remove the --port=0 from their manifests. Not recommended as this can
expose their metrics to the whole internet.
/close
|
@neolit123: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thank you for the reply. I double checked it by commenting the --port=0. There are few scripts in our env that used kubectl get cs output to check status. Guess i need to change it. |
@neolit123 Sorry for commenting on this older post but what is the recommended way to check status of these components now ? Currently we are checking |
you can use |
What keywords did you search in kubeadm issues before filing this one?
Yes.
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Versions
kubeadm version (use
kubeadm version
):kubeadm version: &version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:10:16Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Environment: Production
Kubernetes version (use
kubectl version
):Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"9f2892aab98fe339f3bd70e3c470144299398ace", GitTreeState:"clean", BuildDate:"2020-08-13T16:12:48Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration: On premise VMs
OS (e.g. from /etc/os-release): VERSION="18.04.4 LTS (Bionic Beaver)"
Kernel (e.g.
uname -a
):Linux mrprodkubesmaster2 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Others:
What happened?
Installed Kubernetes version 1.18.8 on production server using kubeadm. I saw no error during the installtion. All the pods in kube-system are running fine with out any frequent restarts. However when i get error when i run below command i get error:
While troubleshooting i found that the ports are not being listened.
What you expected to happen?
The cluster status should be healthy and port 10251 and 10252 should be bind to controller and scheduler process. Below is the example of the developemnt cluster on v1.17.4 which is running without any issue.
How to reproduce it (as minimally and precisely as possible)?
Install kubernetes version v1.18.8 on Ubuntu 18.04 using kubeadm
Anything else we need to know?
My cluster setup has 3 Master and 3 Worker nodes with external kube-api loadbalancer. I am using conatinerd as a runtime.
The text was updated successfully, but these errors were encountered: