-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Cluster validation error "master ** is missing kube-apiserver pod, master ** is missing kube-controller-manager pod, master ** is missing kube-scheduler pod" but they exist #10041
Comments
Is this something you are consistently experiencing across clusters? The test for pods existing is fairly trivial so I am very curious how it can fail in this manner. Are you able to provide a cluster manifest where you can reproduce this error with a plain AWS-based cluster? |
I have found the cause in the source code:
|
can you check |
The priority class is not set at /etc/kubernetes/manifests/kube-apiserver.manifest. |
This is done by nodeup, so it may be that your custom nodeup is somewhat outdated. |
It appears the PriorityClassName is set on static pods starting with Kops 1.15.0. So this will happen when upgrading from Kops 1.14 or earlier directly to Kops 1.18 or later. |
1. What
kops
version are you running? The commandkops version
, will displaythis information.
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.14.2
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
First I ran
kops replace -f <manifest>
kops update cluster --yes
kops rolling-update cluster --yes --cloudonly
I ran it after migration from kops 1.14.1 (git-8aeefa9a4) to kops 1.18.1 (git-453d7d96be) and several updates in instance groups config files
5. What happened after the commands executed?
Kops prints the following messages every 30 seconds. The pods exist for sure and have the label
k8s.io/app: kube-scheduler
etc. but kops thinks they are missing.6. What did you expect to happen?
This validation error should not happen since these pods exist.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest. You may want to remove your cluster name and other sensitive information.8. Please run the commands with most verbose logging by adding the
-v 10
flag. Paste the logs into this report, or in a gist and provide the gist link here.9. Anything else do we need to know?
I am using spotinst with the following NODEUP_URL: https://nuvo-temporary-spot-nodup-bucket.s3.amazonaws.com/nodeup
The text was updated successfully, but these errors were encountered: