Node NotReady after webhook-authenticator update #1560
-
Hi all, I have a 4.11.0-0.okd-2022-11-05-030711 cluster on baremetal and when the secret "webhook-authenticator" gets updated: one master goes NotReady, kubelet service shows that the api don't recognize this node and can't connect. Then I have to reboot the server to connect it again to the cluster. This happens almost all the times that this secret gets updated, each 10 days or so. It's strange that a couple of times, it worked fine. It's possible to stop or going manual this updates? Kind regards, Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
what does it mean? Which "api" doesn't recognize the node?
You can disable the cluster-kube-apiserver operator, but that would make your certificates expire after ~month |
Beta Was this translation helpful? Give feedback.
-
I finally fix it, the solution was changing the dns order in /etc/nsswitch.conf. from: then, the node resolve well the other nodes and api FQDN, and it doesn't get out of cluster. |
Beta Was this translation helpful? Give feedback.
I finally fix it, the solution was changing the dns order in /etc/nsswitch.conf.
from:
hosts: files myhostname resolve [!UNAVAIL=return] dns
to:
hosts: files myhostname resolve dns [!UNAVAIL=return]
then, the node resolve well the other nodes and api FQDN, and it doesn't get out of cluster.