```[root@VM-8-2-centos ~]# kubectl -n kube-flannel...
# general
Copy code
[root@VM-8-2-centos ~]# kubectl -n kube-flannel logs kube-flannel-ds-hrlp9
Defaulted container "kube-flannel" out of: kube-flannel, install-cni-plugin (init), install-cni (init)
I1211 05:38:04.531603       1 main.go:204] CLI flags config: {etcdEndpoints:<>,<> etcdPrefix:/coreos.com/network etcdKeyfile: etcdCertfile: etcdCAFile: etcdUsername: etcdPassword: version:false kubeSubnetMgr:true kubeApiUrl: kubeAnnotationPrefix:<http://flannel.alpha.coreos.com|flannel.alpha.coreos.com> kubeConfigFile: iface:[] ifaceRegex:[] ipMasq:true ifaceCanReach: subnetFile:/run/flannel/subnet.env publicIP: publicIPv6: subnetLeaseRenewMargin:60 healthzIP: healthzPort:0 iptablesResyncSeconds:5 iptablesForwardRules:true netConfPath:/etc/kube-flannel/net-conf.json setNodeNetworkUnavailable:true}
W1211 05:38:04.531676       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I1211 05:38:04.540479       1 kube.go:126] Waiting 10m0s for node controller to sync
I1211 05:38:04.631479       1 kube.go:431] Starting kube subnet manager
I1211 05:38:04.633428       1 kube.go:452] Creating the node lease for IPv4. This is the n.Spec.PodCIDRs: []
I1211 05:38:05.631564       1 kube.go:133] Node controller sync successful
I1211 05:38:05.631583       1 main.go:224] Created subnet manager: Kubernetes Subnet Manager - vm-8-2-centos
I1211 05:38:05.631587       1 main.go:227] Installing signal handlers
I1211 05:38:05.631659       1 main.go:467] Found network config - Backend type: vxlan
I1211 05:38:05.631696       1 match.go:206] Determining IP address of default interface
I1211 05:38:05.632363       1 match.go:259] Using interface with name eth0 and address
I1211 05:38:05.632394       1 match.go:281] Defaulting external address to interface address (
I1211 05:38:05.632466       1 vxlan.go:138] VXLAN config: VNI=1 Port=0 GBP=false Learning=false DirectRouting=false
I1211 05:38:05.639390       1 main.go:416] Current network or subnet (, is not equal to previous one (,, trying to recycle old iptables rules
I1211 05:38:05.640425       1 kube.go:452] Creating the node lease for IPv4. This is the n.Spec.PodCIDRs: []
I1211 05:38:05.935150       1 main.go:342] Setting up masking rules
I1211 05:38:05.937659       1 main.go:364] Changing default FORWARD chain policy to ACCEPT
I1211 05:38:06.031834       1 main.go:379] Wrote subnet file to /run/flannel/subnet.env
I1211 05:38:06.031856       1 main.go:383] Running backend.
I1211 05:38:06.032031       1 vxlan_network.go:61] watching for new subnet leases
I1211 05:38:06.132099       1 main.go:404] Waiting for all goroutines to exit
I1211 05:38:06.333454       1 iptables.go:270] bootstrap done
I1211 05:38:06.335965       1 iptables.go:270] bootstrap done