-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
x509: cannot validate certificate for <WORKER_NODE_IP> because it doesn't contain any IP SANs #9683
Comments
I'm linking this issue to the issue I created in MicroK8s: canonical/microk8s#4814 |
@MugenTwo what makes you believe this has something to do with Calico? AFAIK, Calico isn't involved in the management of the certificate(s) in question. But my knowledge of the Windows side of things is a bit fuzzy. Perhaps @coutinhop can chime in here as well. But IMO this sounds like a problem with the way Kubernetes is installed on the cluster, and nothing to do with Calico. |
Hi @caseydavenport ! The reason is because the script to install and run kubelet and kube-proxy that is recommended in the Microk8s guide is done via calico scripts: https://github.com/projectcalico/calico/tree/master/node/windows-packaging/CalicoWindows/kubernetes Here is the command from the Microk8s guide (https://microk8s.io/docs/add-a-windows-worker-node-to-microk8s): |
From finding #6754 and kubernetes/kubernetes#62939 (similar, but related to kubeadm configuration) it seems like it's a microk8s configuration issue... Perhaps best to follow up on canonical/microk8s#4814 |
Hi @coutinhop ! I think I found a workaround to this. But I need to do another test, just to confirm (because I tried so many things and am unsure how I actually got it to work). But basically, I created the .crt file with the IP SANs and signed it with the CA.cert file from MicroK8s and replaced the certs in the kubelet of the windows worker node (the one installed by calico scripts). I will do another test sometime end of this month (or early next month) and comeback here with more details. Thanks! Appreciate your time! |
My setup is:
Expected Behavior
There should NOT be cert errors.
Current Behavior
Possible Solution
I've tried to:
None of which has fixed the issue
Steps to Reproduce (for bugs)
Context
Your Environment
CALICO_VERSION="3.25.0"
Microk8s on ubuntu server running in HyperV (105 IP)
Windows worker node (106 IP)
The text was updated successfully, but these errors were encountered: