calico的pod处于pending状态很长时间
来源:5-7 网络插件-Calico_1
qq_慕丝0528892
2021-06-12
我在装calico的时候发现pod很长时间内都处于Pending的Init状态
这应该是我的网络下载镜像慢的原因. 我等了十分钟左右才好.
但我想知道这种情况怎么排查, 因为我在等待期间我也不知道它是不是正在下载镜像还是在干啥, 这么久都没有启动成功我想知道他当前在做什么工作能查吗?
$ kubectl get pod -n kube-system
NAME READY STATUS RESTARTS AGE
calico-kube-controllers-7f4f5bf95d-rhvwh 0/1 Pending 0 14m
calico-node-84xgx 0/1 Init:0/3 0 14m
calico-node-lpqht 0/1 Init:0/3 0 14m
nginx-proxy-k-node-2 1/1 Running 0 11h
这是 describe 出来的信息, 还看到几个警告信息也不知道影不影响
Warning FailedCreatePodSandBox
$ kubectl describe pods -n kube-system
Name: calico-kube-controllers-7f4f5bf95d-rhvwh
Namespace: kube-system
Priority: 2000000000
Priority Class Name: system-cluster-critical
Node: k-node-1/192.168.211.11
Start Time: Sat, 12 Jun 2021 05:55:51 +0000
Labels: k8s-app=calico-kube-controllers
pod-template-hash=7f4f5bf95d
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/calico-kube-controllers-7f4f5bf95d
Containers:
calico-kube-controllers:
Container ID:
Image: docker.io/calico/kube-controllers:v3.19.1
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Liveness: exec [/usr/bin/check-status -l] delay=10s timeout=1s period=10s #success=1 #failure=6
Readiness: exec [/usr/bin/check-status -r] delay=0s timeout=1s period=10s #success=1 #failure=3
Environment:
ENABLED_CONTROLLERS: node
DATASTORE_TYPE: kubernetes
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from calico-kube-controllers-token-m4c52 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
calico-kube-controllers-token-m4c52:
Type: Secret (a volume populated by a Secret)
SecretName: calico-kube-controllers-token-m4c52
Optional: false
QoS Class: BestEffort
Node-Selectors: kubernetes.io/os=linux
Tolerations: CriticalAddonsOnly op=Exists
node-role.kubernetes.io/master:NoSchedule
node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 112s (x18 over 18m) default-scheduler 0/2 nodes are available: 2 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn't tolerate.
Normal Scheduled 101s default-scheduler Successfully assigned kube-system/calico-kube-controllers-7f4f5bf95d-rhvwh to k-node-1
Warning FailedCreatePodSandBox 100s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "059bfb420db02bd94c43aa853c8f4e4e871f92d8797e9d58bf952dca0e8d00f3": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 87s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "637ef3dd3f6090e935350f7ada1898cd40e68f47c3087603fb650e573f6103b7": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 73s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "83eca53f34630c5d66c2fab29ee4db586a422991344a880803e53915b316e31f": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 59s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "301c31f31c18d96519ddd729f20385c5cec038079aee8274275a6ecfdce6fe62": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 43s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3dbdc18bb1837fcf34f0530202f6934b0a4b4e587964e0350bab0f0bc9c4ee17": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 32s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8e489267d02cd68329b8a5654d7690106433e7373c0765cfe33e893a26c3d7a0": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 21s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "85866776bbf52f5f6e8a9d15839209243b4e99c9e2acaa0ea2b3d4c4fd8e410e": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Warning FailedCreatePodSandBox 9s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "07cacbe03ef4327b6f95e01772c730e7559d30b00e96032bcd457dd3ec7de860": stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/
Name: calico-node-84xgx
Namespace: kube-system
Priority: 2000001000
Priority Class Name: system-node-critical
Node: k-node-2/192.168.211.12
Start Time: Sat, 12 Jun 2021 05:39:11 +0000
Labels: controller-revision-hash=764b69f7cc
k8s-app=calico-node
pod-template-generation=1
Annotations: <none>
Status: Pending
IP: 192.168.211.12
IPs:
IP: 192.168.211.12
Controlled By: DaemonSet/calico-node
Init Containers:
upgrade-ipam:
Container ID: containerd://3ae44bffd8b41e260666d4f12d773c9acaf73f4dc136e8751acc7821d97d4266
Image: docker.io/calico/cni:v3.19.1
Image ID: docker.io/calico/cni@sha256:f301171be0add870152483fcce71b28cafb8e910f61ff003032e9b1053b062c4
Port: <none>
Host Port: <none>
Command:
/opt/cni/bin/calico-ipam
-upgrade
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:55:43 +0000
Finished: Sat, 12 Jun 2021 05:55:43 +0000
Ready: True
Restart Count: 0
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
Mounts:
/host/opt/cni/bin from cni-bin-dir (rw)
/var/lib/cni/networks from host-local-net-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
install-cni:
Container ID: containerd://7dffac175047de4d612e11068838c91e889dc7912a530dd41c1c69853bc926df
Image: docker.io/calico/cni:v3.19.1
Image ID: docker.io/calico/cni@sha256:f301171be0add870152483fcce71b28cafb8e910f61ff003032e9b1053b062c4
Port: <none>
Host Port: <none>
Command:
/opt/cni/bin/install
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:55:44 +0000
Finished: Sat, 12 Jun 2021 05:55:45 +0000
Ready: True
Restart Count: 0
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
CNI_CONF_NAME: 10-calico.conflist
CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
SLEEP: false
Mounts:
/host/etc/cni/net.d from cni-net-dir (rw)
/host/opt/cni/bin from cni-bin-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
flexvol-driver:
Container ID: containerd://85eda2a034db039d3d549328ead2ce137f19c8287d4d074c9c6fe3d4fc577edb
Image: docker.io/calico/pod2daemon-flexvol:v3.19.1
Image ID: docker.io/calico/pod2daemon-flexvol@sha256:bcac7dc4f1301b062d91a177a52d13716907636975c44131fb8350e7f851c944
Port: <none>
Host Port: <none>
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:56:35 +0000
Finished: Sat, 12 Jun 2021 05:56:35 +0000
Ready: True
Restart Count: 0
Environment: <none>
Mounts:
/host/driver from flexvol-driver-host (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
Containers:
calico-node:
Container ID:
Image: docker.io/calico/node:v3.19.1
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Requests:
cpu: 250m
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
DATASTORE_TYPE: kubernetes
WAIT_FOR_DATASTORE: true
NODENAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
CLUSTER_TYPE: k8s,bgp
IP: (v1:status.hostIP)
CALICO_IPV4POOL_IPIP: Always
CALICO_IPV4POOL_VXLAN: Never
FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
CALICO_IPV4POOL_CIDR: 10.200.0.0/16
CALICO_DISABLE_FILE_LOGGING: true
FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT
FELIX_IPV6SUPPORT: false
FELIX_HEALTHENABLED: true
Mounts:
/lib/modules from lib-modules (ro)
/run/xtables.lock from xtables-lock (rw)
/sys/fs/ from sysfs (rw)
/var/lib/calico from var-lib-calico (rw)
/var/log/calico/cni from cni-log-dir (ro)
/var/run/calico from var-run-calico (rw)
/var/run/nodeagent from policysync (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
lib-modules:
Type: HostPath (bare host directory volume)
Path: /lib/modules
HostPathType:
var-run-calico:
Type: HostPath (bare host directory volume)
Path: /var/run/calico
HostPathType:
var-lib-calico:
Type: HostPath (bare host directory volume)
Path: /var/lib/calico
HostPathType:
xtables-lock:
Type: HostPath (bare host directory volume)
Path: /run/xtables.lock
HostPathType: FileOrCreate
sysfs:
Type: HostPath (bare host directory volume)
Path: /sys/fs/
HostPathType: DirectoryOrCreate
cni-bin-dir:
Type: HostPath (bare host directory volume)
Path: /opt/cni/bin
HostPathType:
cni-net-dir:
Type: HostPath (bare host directory volume)
Path: /etc/cni/net.d
HostPathType:
cni-log-dir:
Type: HostPath (bare host directory volume)
Path: /var/log/calico/cni
HostPathType:
host-local-net-dir:
Type: HostPath (bare host directory volume)
Path: /var/lib/cni/networks
HostPathType:
policysync:
Type: HostPath (bare host directory volume)
Path: /var/run/nodeagent
HostPathType: DirectoryOrCreate
flexvol-driver-host:
Type: HostPath (bare host directory volume)
Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
HostPathType: DirectoryOrCreate
calico-node-token-4kx6c:
Type: Secret (a volume populated by a Secret)
SecretName: calico-node-token-4kx6c
Optional: false
QoS Class: Burstable
Node-Selectors: kubernetes.io/os=linux
Tolerations: :NoSchedule op=Exists
:NoExecute op=Exists
CriticalAddonsOnly op=Exists
node.kubernetes.io/disk-pressure:NoSchedule op=Exists
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
node.kubernetes.io/unreachable:NoExecute op=Exists
node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 18m default-scheduler Successfully assigned kube-system/calico-node-84xgx to k-node-2
Normal Pulling 18m kubelet Pulling image "docker.io/calico/cni:v3.19.1"
Normal Pulled 109s kubelet Successfully pulled image "docker.io/calico/cni:v3.19.1" in 16m32.053057088s
Normal Created 109s kubelet Created container upgrade-ipam
Normal Started 109s kubelet Started container upgrade-ipam
Normal Pulled 108s kubelet Container image "docker.io/calico/cni:v3.19.1" already present on machine
Normal Started 108s kubelet Started container install-cni
Normal Created 108s kubelet Created container install-cni
Normal Pulling 106s kubelet Pulling image "docker.io/calico/pod2daemon-flexvol:v3.19.1"
Normal Pulled 57s kubelet Successfully pulled image "docker.io/calico/pod2daemon-flexvol:v3.19.1" in 49.112680495s
Normal Created 57s kubelet Created container flexvol-driver
Normal Started 57s kubelet Started container flexvol-driver
Normal Pulling 56s kubelet Pulling image "docker.io/calico/node:v3.19.1"
Name: calico-node-lpqht
Namespace: kube-system
Priority: 2000001000
Priority Class Name: system-node-critical
Node: k-node-1/192.168.211.11
Start Time: Sat, 12 Jun 2021 05:39:11 +0000
Labels: controller-revision-hash=764b69f7cc
k8s-app=calico-node
pod-template-generation=1
Annotations: <none>
Status: Pending
IP: 192.168.211.11
IPs:
IP: 192.168.211.11
Controlled By: DaemonSet/calico-node
Init Containers:
upgrade-ipam:
Container ID: containerd://c09584633565d1988586cb23ab92ddd54d0a71e26633b27dcaa402b5df1d9bc6
Image: docker.io/calico/cni:v3.19.1
Image ID: docker.io/calico/cni@sha256:f301171be0add870152483fcce71b28cafb8e910f61ff003032e9b1053b062c4
Port: <none>
Host Port: <none>
Command:
/opt/cni/bin/calico-ipam
-upgrade
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:55:30 +0000
Finished: Sat, 12 Jun 2021 05:55:30 +0000
Ready: True
Restart Count: 0
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
Mounts:
/host/opt/cni/bin from cni-bin-dir (rw)
/var/lib/cni/networks from host-local-net-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
install-cni:
Container ID: containerd://faa7717002a78b884efbcac6f761a74c32ad092fc7cbbf364a8aea380be47074
Image: docker.io/calico/cni:v3.19.1
Image ID: docker.io/calico/cni@sha256:f301171be0add870152483fcce71b28cafb8e910f61ff003032e9b1053b062c4
Port: <none>
Host Port: <none>
Command:
/opt/cni/bin/install
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:55:31 +0000
Finished: Sat, 12 Jun 2021 05:55:32 +0000
Ready: True
Restart Count: 0
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
CNI_CONF_NAME: 10-calico.conflist
CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
SLEEP: false
Mounts:
/host/etc/cni/net.d from cni-net-dir (rw)
/host/opt/cni/bin from cni-bin-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
flexvol-driver:
Container ID: containerd://cdd0a482dc6844116d3c17d685951a5c72f2669cb97d562cf147082044e114ea
Image: docker.io/calico/pod2daemon-flexvol:v3.19.1
Image ID: docker.io/calico/pod2daemon-flexvol@sha256:bcac7dc4f1301b062d91a177a52d13716907636975c44131fb8350e7f851c944
Port: <none>
Host Port: <none>
State: Terminated
Reason: Completed
Exit Code: 0
Started: Sat, 12 Jun 2021 05:55:59 +0000
Finished: Sat, 12 Jun 2021 05:55:59 +0000
Ready: True
Restart Count: 0
Environment: <none>
Mounts:
/host/driver from flexvol-driver-host (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
Containers:
calico-node:
Container ID:
Image: docker.io/calico/node:v3.19.1
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Requests:
cpu: 250m
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
Environment Variables from:
kubernetes-services-endpoint ConfigMap Optional: true
Environment:
DATASTORE_TYPE: kubernetes
WAIT_FOR_DATASTORE: true
NODENAME: (v1:spec.nodeName)
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
CLUSTER_TYPE: k8s,bgp
IP: (v1:status.hostIP)
CALICO_IPV4POOL_IPIP: Always
CALICO_IPV4POOL_VXLAN: Never
FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
CALICO_IPV4POOL_CIDR: 10.200.0.0/16
CALICO_DISABLE_FILE_LOGGING: true
FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT
FELIX_IPV6SUPPORT: false
FELIX_HEALTHENABLED: true
Mounts:
/lib/modules from lib-modules (ro)
/run/xtables.lock from xtables-lock (rw)
/sys/fs/ from sysfs (rw)
/var/lib/calico from var-lib-calico (rw)
/var/log/calico/cni from cni-log-dir (ro)
/var/run/calico from var-run-calico (rw)
/var/run/nodeagent from policysync (rw)
/var/run/secrets/kubernetes.io/serviceaccount from calico-node-token-4kx6c (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
lib-modules:
Type: HostPath (bare host directory volume)
Path: /lib/modules
HostPathType:
var-run-calico:
Type: HostPath (bare host directory volume)
Path: /var/run/calico
HostPathType:
var-lib-calico:
Type: HostPath (bare host directory volume)
Path: /var/lib/calico
HostPathType:
xtables-lock:
Type: HostPath (bare host directory volume)
Path: /run/xtables.lock
HostPathType: FileOrCreate
sysfs:
Type: HostPath (bare host directory volume)
Path: /sys/fs/
HostPathType: DirectoryOrCreate
cni-bin-dir:
Type: HostPath (bare host directory volume)
Path: /opt/cni/bin
HostPathType:
cni-net-dir:
Type: HostPath (bare host directory volume)
Path: /etc/cni/net.d
HostPathType:
cni-log-dir:
Type: HostPath (bare host directory volume)
Path: /var/log/calico/cni
HostPathType:
host-local-net-dir:
Type: HostPath (bare host directory volume)
Path: /var/lib/cni/networks
HostPathType:
policysync:
Type: HostPath (bare host directory volume)
Path: /var/run/nodeagent
HostPathType: DirectoryOrCreate
flexvol-driver-host:
Type: HostPath (bare host directory volume)
Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
HostPathType: DirectoryOrCreate
calico-node-token-4kx6c:
Type: Secret (a volume populated by a Secret)
SecretName: calico-node-token-4kx6c
Optional: false
QoS Class: Burstable
Node-Selectors: kubernetes.io/os=linux
Tolerations: :NoSchedule op=Exists
:NoExecute op=Exists
CriticalAddonsOnly op=Exists
node.kubernetes.io/disk-pressure:NoSchedule op=Exists
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
node.kubernetes.io/unreachable:NoExecute op=Exists
node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 18m default-scheduler Successfully assigned kube-system/calico-node-lpqht to k-node-1
Normal Pulling 18m kubelet Pulling image "docker.io/calico/cni:v3.19.1"
Normal Pulled 2m2s kubelet Successfully pulled image "docker.io/calico/cni:v3.19.1" in 16m18.434918265s
Normal Created 2m2s kubelet Created container upgrade-ipam
Normal Started 2m2s kubelet Started container upgrade-ipam
Normal Pulled 2m2s kubelet Container image "docker.io/calico/cni:v3.19.1" already present on machine
Normal Started 2m1s kubelet Started container install-cni
Normal Created 2m1s kubelet Created container install-cni
Normal Pulling 2m kubelet Pulling image "docker.io/calico/pod2daemon-flexvol:v3.19.1"
Normal Pulled 94s kubelet Successfully pulled image "docker.io/calico/pod2daemon-flexvol:v3.19.1" in 26.003645598s
Normal Created 93s kubelet Created container flexvol-driver
Normal Started 93s kubelet Started container flexvol-driver
Normal Pulling 92s kubelet Pulling image "docker.io/calico/node:v3.19.1"
Name: nginx-proxy-k-node-2
Namespace: kube-system
Priority: 2000001000
Priority Class Name: system-node-critical
Node: k-node-2/192.168.211.12
Start Time: Fri, 11 Jun 2021 18:32:35 +0000
Labels: addonmanager.kubernetes.io/mode=Reconcile
k8s-app=kube-nginx
Annotations: kubernetes.io/config.hash: 7cf27d45a874e9a25860392cd83c3e6a
kubernetes.io/config.mirror: 7cf27d45a874e9a25860392cd83c3e6a
kubernetes.io/config.seen: 2021-06-11T18:32:34.739703689Z
kubernetes.io/config.source: file
Status: Running
IP: 192.168.211.12
IPs:
IP: 192.168.211.12
Controlled By: Node/k-node-2
Containers:
nginx-proxy:
Container ID: containerd://86b07dc68d89c3c3bac6ba5253e3893355214bb93b2f68b98dd2ed136016a66f
Image: docker.io/library/nginx:1.19
Image ID: docker.io/library/nginx@sha256:df13abe416e37eb3db4722840dd479b00ba193ac6606e7902331dcea50f4f1f2
Port: <none>
Host Port: <none>
State: Running
Started: Fri, 11 Jun 2021 18:47:00 +0000
Ready: True
Restart Count: 0
Requests:
cpu: 25m
memory: 32M
Liveness: http-get http://:8081/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:8081/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/nginx from etc-nginx (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
etc-nginx:
Type: HostPath (bare host directory volume)
Path: /etc/nginx
HostPathType:
QoS Class: Burstable
Node-Selectors: kubernetes.io/os=linux
Tolerations: :NoExecute op=Exists
Events: <none>
写回答
1回答
-
Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 18m default-scheduler Successfully assigned kube-system/calico-node-lpqht to k-node-1 Normal Pulling 18m kubelet Pulling image "docker.io/calico/cni:v3.19.1" Normal Pulled 2m2s kubelet Successfully pulled image "docker.io/calico/cni:v3.19.1" in 16m18.434918265s Normal Created 2m2s kubelet Created container upgrade-ipam Normal Started 2m2s kubelet Started container upgrade-ipam Normal Pulled 2m2s kubelet Container image "docker.io/calico/cni:v3.19.1" already present on machine Normal Started 2m1s kubelet Started container install-cni Normal Created 2m1s kubelet Created container install-cni Normal Pulling 2m kubelet Pulling image "docker.io/calico/pod2daemon-flexvol:v3.19.1" Normal Pulled 94s kubelet Successfully pulled image "docker.io/calico/pod2daemon-flexvol:v3.19.1" in 26.003645598s Normal Created 93s kubelet Created container flexvol-driver Normal Started 93s kubelet Started container flexvol-driver Normal Pulling 92s kubelet Pulling image "docker.io/calico/node:v3.19.1"
最新的消息是下载镜像中
012021-06-13
相似问题