Jeff 我把flannel组件的cpu内存调大了一些,现在pod状态正常不会CrashLoopBaclOff了,但是网络还是会不通,重启一下flannel就好了
I1219 16:16:22.113150 1 main.go:518] Determining IP address of default interface
I1219 16:16:22.204691 1 main.go:531] Using interface with name ens192 and address 10.108.0.228
I1219 16:16:22.204779 1 main.go:548] Defaulting external address to interface address (10.108.0.228)
W1219 16:16:22.204827 1 client_config.go:517] Neither –kubeconfig nor –master was specified. Using the inClusterConfig. This might not work.
I1219 16:16:22.316004 1 kube.go:119] Waiting 10m0s for node controller to sync
I1219 16:16:22.316214 1 kube.go:306] Starting kube subnet manager
I1219 16:16:23.316361 1 kube.go:126] Node controller sync successful
I1219 16:16:23.316426 1 main.go:246] Created subnet manager: Kubernetes Subnet Manager - node4
I1219 16:16:23.316440 1 main.go:249] Installing signal handlers
I1219 16:16:23.316658 1 main.go:390] Found network config - Backend type: vxlan
I1219 16:16:23.316826 1 vxlan.go:121] VXLAN config: VNI=1 Port=0 GBP=false Learning=false DirectRouting=false
I1219 16:16:23.334583 1 main.go:305] Setting up masking rules
I1219 16:16:23.448451 1 main.go:313] Changing default FORWARD chain policy to ACCEPT
I1219 16:16:23.451832 1 main.go:321] Wrote subnet file to /run/flannel/subnet.env
I1219 16:16:23.451904 1 main.go:325] Running backend.
I1219 16:16:23.451945 1 main.go:343] Waiting for all goroutines to exit
I1219 16:16:23.451996 1 vxlan_network.go:60] watching for new subnet leases