You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu server inside HyperV running MicroK8s (the host of the hyperv is the windows server). I followed the standard installation: https://microk8s.io/docs/getting-started
The cluster seems to be connected and I can run windows containers inside the windows worker node and linux containers in the ubuntu server microk8s (control plane + worker node).
This is what I see when I do a kubectl get nodes
However, there are cert issues whenever I do certain operations on pods running in the Windows worker node like kubectl log, kubectl port-forward:
Expected Behavior
There should NOT be cert errors.
Current Behavior
However, there are cert issues whenever I do certain operations on pods running in the Windows worker node like kubectl log, kubectl port-forward:
Possible Solution
I've tried to:
Initially I install Kubernetes services version 1.27.1, and I got the cert error.
So, I decided to uninstall this version 1.27.1 and then I installed 1.32.0 because my control plane (microk8s) had this version.
I tried deleting the cert: C:\var\lib\kubelet\pki and then restarting the kubelet.
I also checked how the kubelet was being run in the kubelet,out.log that is under "C:\k" and I printed the kubelet.exe parameters:
From what I read online the IP SAN might be dependant on the --node-ip, but the --node-ip in kubelet.exe args seems correct in my case.
None of which has fixed the issue
Steps to Reproduce (for bugs)
Ubuntu server inside HyperV running MicroK8s (the host of the hyperv is the windows server). I followed the standard installation: https://microk8s.io/docs/getting-started
Ubuntu server inside HyperV running MicroK8s (the host of the hyperv is the windows server). I followed the standard installation: https://microk8s.io/docs/getting-started
I'm linking this issue to the issue I created in MicroK8s: canonical/microk8s#4814
As I think it might have something to do with the integration with MicroK8s
@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.
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: