Git Product home page Git Product logo

Comments (3)

justmeandopensource avatar justmeandopensource commented on May 26, 2024 1

@LeonidShamis thanks for reporting this issue and yes @tecnocrata PR will solve this issue. Meanwhile I am working on updating the scripts to test the latest version of containerd runtime and validating if we still require the patch in 2024. Thanks.

from kubernetes.

LeonidShamis avatar LeonidShamis commented on May 26, 2024

I saw that @ak2766 has suggested in #84 (comment) that the problem may be related to flannel

I checked it as instructed in the following comment #84 (comment) and indeed it looks like the problem with flannel

leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$ kubectl get ns
NAME              STATUS   AGE
default           Active   61m
kube-flannel      Active   61m
kube-node-lease   Active   61m
kube-public       Active   61m
kube-system       Active   61m
leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$ kubectl -n kube-flannel get all
NAME                        READY   STATUS             RESTARTS         AGE
pod/kube-flannel-ds-9ckl7   0/1     CrashLoopBackOff   19 (58s ago)     60m
pod/kube-flannel-ds-g6gqj   0/1     CrashLoopBackOff   18 (5m4s ago)    61m
pod/kube-flannel-ds-hwxqc   0/1     CrashLoopBackOff   18 (3m34s ago)   59m
pod/kube-flannel-ds-mnt99   0/1     CrashLoopBackOff   18 (37s ago)     58m

NAME                             DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/kube-flannel-ds   4         4         0       4            0           <none>          61m
leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$

leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$ kubectl -n kube-flannel logs pod/kube-flannel-ds-9ckl7 -p
Defaulted container "kube-flannel" out of: kube-flannel, install-cni-plugin (init), install-cni (init)
I0206 06:19:42.398092       1 main.go:204] CLI flags config: {etcdEndpoints:http://127.0.0.1:4001,http://127.0.0.1:2379 etcdPrefix:/coreos.com/network etcdKeyfile: etcdCertfile: etcdCAFile: etcdUsername: etcdPassword: version:false kubeSubnetMgr:true kubeApiUrl: kubeAnnotationPrefix:flannel.alpha.coreos.com kubeConfigFile: iface:[] ifaceRegex:[] ipMasq:true ifaceCanReach: subnetFile:/run/flannel/subnet.env publicIP: publicIPv6: subnetLeaseRenewMargin:60 healthzIP:0.0.0.0 healthzPort:0 iptablesResyncSeconds:5 iptablesForwardRules:true netConfPath:/etc/kube-flannel/net-conf.json setNodeNetworkUnavailable:true}
W0206 06:19:42.398120       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
E0206 06:20:12.399031       1 main.go:221] Failed to create SubnetManager: error retrieving pod spec for 'kube-flannel/kube-flannel-ds-9ckl7': Get "https://10.96.0.1:443/api/v1/namespaces/kube-flannel/pods/kube-flannel-ds-9ckl7": dial tcp 10.96.0.1:443: i/o timeout
leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$

leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$ kubectl -n kube-flannel logs pod/kube-flannel-ds-g6gqj -p
Defaulted container "kube-flannel" out of: kube-flannel, install-cni-plugin (init), install-cni (init)
I0206 06:21:16.885501       1 main.go:204] CLI flags config: {etcdEndpoints:http://127.0.0.1:4001,http://127.0.0.1:2379 etcdPrefix:/coreos.com/network etcdKeyfile: etcdCertfile: etcdCAFile: etcdUsername: etcdPassword: version:false kubeSubnetMgr:true kubeApiUrl: kubeAnnotationPrefix:flannel.alpha.coreos.com kubeConfigFile: iface:[] ifaceRegex:[] ipMasq:true ifaceCanReach: subnetFile:/run/flannel/subnet.env publicIP: publicIPv6: subnetLeaseRenewMargin:60 healthzIP:0.0.0.0 healthzPort:0 iptablesResyncSeconds:5 iptablesForwardRules:true netConfPath:/etc/kube-flannel/net-conf.json setNodeNetworkUnavailable:true}
W0206 06:21:16.885538       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
E0206 06:21:46.886424       1 main.go:221] Failed to create SubnetManager: error retrieving pod spec for 'kube-flannel/kube-flannel-ds-g6gqj': Get "https://10.96.0.1:443/api/v1/namespaces/kube-flannel/pods/kube-flannel-ds-g6gqj": dial tcp 10.96.0.1:443: i/o timeout
leonid@xlr2:~/dev/lxc_lxd/kubernetes/lxd-provisioning$

So, it looks like the Issue #84 which is now Closed

Not sure how to progress from here :(

from kubernetes.

tecnocrata avatar tecnocrata commented on May 26, 2024

My PR would solve the issue, I think: #135

from kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.