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
svclb-traefik-3d8f13e3 stuck in ContainerCreating?.. Interesting. Let's see...
$ kubectl events -n kube-system
3m27s (x26 over 8m50s) Warning FailedCreatePodSandBox Pod/svclb-traefik-a96f858d-24pdl Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory: unknown
3m26s (x26 over 8m50s) Warning FailedCreatePodSandBox Pod/svclb-traefik-a96f858d-hqvjl Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory: unknown
3m24s (x26 over 8m50s) Warning FailedCreatePodSandBox Pod/svclb-traefik-a96f858d-2b8qs Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/forwarding: no such file or directory: unknown
So this is because I follow the best security practices and disable IPv6 support completely if I don't need it, especially in IoT, which is kinda one of the main targets for k3s. 🙂
Is there maybe at least a way to configure the built-in svclb to not even try IPv6 ? 🙂
If IPv6 support is disabled in the kernel, the guide does not work. After an investigation, I think I've found the problem:
svclb-traefik-3d8f13e3
stuck inContainerCreating
?.. Interesting. Let's see...So this is because I follow the best security practices and disable IPv6 support completely if I don't need it, especially in IoT, which is kinda one of the main targets for k3s. 🙂
Is there maybe at least a way to configure the built-in svclb to not even try IPv6 ? 🙂
What did you do
Exactly followed the first part of this guide: https://k3d.io/v5.7.3/usage/exposing_services/#1-via-ingress-recommended
How was the cluster created?
k3d cluster create --api-port 6550 -p "8081:80@loadbalancer" --agents 2
What did you do afterwards?
kubectl create deployment nginx --image=nginx
kubectl create service clusterip nginx --tcp=80:80
nano thatfile.yaml # Paste the YAML in the guide
kubectl apply -f thatfile.yaml
curl localhost:8081
What did you expect to happen
curl outputting the default Nginx HTML page
Actual output:
curl: (52) Empty reply from server
Which OS & Architecture
Which version of
k3d
Which version of docker
The text was updated successfully, but these errors were encountered: