Skip to content

Flannel pod creation failed #2220

Open
Open
@githuber196

Description

@githuber196

I use the official yml file to deploy the flannel plug-in through kubeclt apply -f, but the pod status is always error, and there is no clear error information in the kubectl logs. I checked the br_netfilter module according to the flannel installation requirements, the cni plug-in is also installed, and the vxlan module is also loaded. The firewall is turned off. What is going on?

kubectl logs kube-flannel-ds-6s9xx -n kube-flannel
Defaulted container "kube-flannel" out of: kube-flannel, install-cni-plugin (init), install-cni (init)
I0404 08:02:26.321280       1 main.go:211] 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}
W0404 08:02:26.323314       1 client_config.go:618] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0404 08:02:26.427615       1 kube.go:469] Starting kube subnet manager
I0404 08:02:26.427896       1 kube.go:139] Waiting 10m0s for node controller to sync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions