Open NiklasRosenstein opened 1 year ago
Using Calico instead of kube-router now as I'm supposed to 😄 Now I'm getting this error that I'm unsure how to resolve:
time="2023-03-31 18:15:42" level=warning msg="exit status 1" component=kubelet.exe
time="2023-03-31 18:15:42" level=info msg="respawning in 5s" component=kubelet.exe
time="2023-03-31 18:15:47" level=error msg="Probing components" component=prober
time="2023-03-31 18:15:47" level=info msg="Restarted (4)" component=kubelet.exe
time="2023-03-31 18:15:47" level=info msg="Flag --pod-infra-container-image has been deprecated, will be removed in 1.27. Image garbage collector will get sandbox image information from CRI." component=kubelet.exe stream=stderr
time="2023-03-31 18:15:47" level=info msg="E0331 18:15:47.984733 5964 run.go:74] \"command failed\" err=\"failed to parse kubelet flag: unknown flag: --cni-conf-dir\"" component=kubelet.exe stream=stderr
Another interesting issue is that in this state I can't seem to Ctrl^C
the k0s worker process.
After removing C:\bootstrap.ps1
, C:\CalicoWindows
and C:\var
and rerunning k0s.exe worker
(with a fresh token, just in case), I get
time="2023-03-31 18:38:31" level=warning pre-flight-check=memory property="Total memory detection unsupported on this platform"
time="2023-03-31 18:38:31" level=warning pre-flight-check="disk:C:\\var\\lib\\k0s" property="Disk space detection unsupported on this platform"
time="2023-03-31 18:38:31" level=info msg="Bootstrapping kubelet client configuration using win-6sehifo1fki as node name"
time="2023-03-31 18:38:32" level=info msg="No cached API server addresses found"
time="2023-03-31 18:38:32" level=info msg="initializing OCIBundleReconciler"
time="2023-03-31 18:38:32" level=info msg="initializing Kubelet"
time="2023-03-31 18:38:32" level=info msg="initializing KubeProxy"
time="2023-03-31 18:38:32" level=info msg="initializing CalicoInstaller"
time="2023-03-31 18:38:32" level=info msg="Staging 'C:\\var\\lib\\k0s\\bin\\kubelet.exe'"
time="2023-03-31 18:38:32" level=info msg="Staging 'C:\\var\\lib\\k0s\\bin\\kube-proxy.exe'"
time="2023-03-31 18:38:32" level=info msg="initializing Status"
time="2023-03-31 18:38:32" level=info msg="initializing Autopilot"
time="2023-03-31 18:38:32" level=info msg="Listening address C:\\var\\lib\\k0s\\run\\status.sock" component=status
Error: can't get calico-kube-config: unexpected response status: 403 Forbidden
And after another invokation I get the above error message again.
I believe you stumbled upon https://github.com/k0sproject/k0s/issues/2460
Do I read correctly from that issue that Windows support in K0s with Kubernetes 1.24+ is completely broken?
Do I read correctly from that issue that Windows support in K0s with Kubernetes 1.24+ is completely broken?
Pretty much yes. 😢
Can you share some light into what is your use case for running Windows containers?
We have a plan in place to get the Windows side back on track. The obvious big challenge for us is to come up with a solution for CI test automation (GH Action) so that we can actually test it too on each PR.
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.26.2+k0s.1
Sysinfo
`k0s sysinfo`
What happened?
Running the
k0s worker
on Windows doesn't trust the Kubernetes CA. Wouldn't establishing that trust be embedded in the token? Could it be an issue because I have the Linux nodes (controller and other workers) managed by k0sctl?Steps to reproduce
k0sctl
Expected behavior
No response
Actual behavior
No response
Screenshots and logs
No response
Additional context
No response