|
|
发表于 2025-1-2 11:00:14
|
显示全部楼层
kubectl describe pod calico-node-2kbrv -n kube-system
8 [; ]6 S# ?# Z8 uName: calico-node-2kbrv
* q0 k5 O3 n0 _Namespace: kube-system: t: m1 G' y, A
Priority: 2000001000
8 P& M9 `0 L" s" J* ~% l' E6 LPriority Class Name: system-node-critical
9 ^/ |7 G, }: p% L, i2 x# RService Account: calico-node, Y6 U) `2 c' K- x" j
Node: k8s-master/192.168.8.190. @0 `' | B. Z
Start Time: Wed, 01 Jan 2025 13:00:18 +0800
3 c) Z3 [2 P8 V+ _/ A8 {Labels: controller-revision-hash=5f4dfd76c5
) m! ~5 c( f! V& n1 ] k8s-app=calico-node
3 O4 ?1 r+ w; s! Y0 A; l pod-template-generation=1
9 M) a; k' h2 t, x* Z% S9 B K$ UAnnotations: <none>* ~7 q8 s5 y$ W* @
Status: Pending1 Z3 h/ T7 v, c4 c$ @6 n9 {! ?
IP: 192.168.8.190
! B: u0 L; i4 j2 |- C0 P! _( p* TIPs:# ?2 b# f( F* U( U! |; o
IP: 192.168.8.190
6 `0 e% D' D4 YControlled By: DaemonSet/calico-node
* B0 ]! e( A9 Y. u9 U% H* xInit Containers:
% a+ x* q/ c+ w( R; q$ U% r upgrade-ipam:
9 u; r7 F- k4 N! f7 c6 g4 v4 d Container ID:
7 p/ o) S% l* M3 y4 C; Y' ?6 O Image: docker.io/calico/cni:v3.18.6) X, m* e9 u+ v. w
Image ID: i5 D, z- r& C. `3 b; @
Port: <none>0 |- X$ {0 X9 X2 x) c
Host Port: <none>
+ a4 u, A6 K2 [ Command:0 G @- F: Y M, B% ?; ]% c3 L
/opt/cni/bin/calico-ipam
+ {) B( q* r, C. z -upgrade
. ]* c! p9 A0 x( ? State: Waiting( t- g$ T% T* _/ k7 l; y
Reason: ImagePullBackOff( S4 V: G! S5 d/ ~ |
Ready: False
" [0 u2 h ?6 u9 {- V/ X Restart Count: 01 {# Q9 `& a* w1 F3 L4 X
Environment Variables from:' [% `4 t& Q0 X0 p
kubernetes-services-endpoint ConfigMap Optional: true2 Q8 e; w' C4 O! ~* {
Environment:/ ~& w) x: ~4 [
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
$ m8 X" I, h5 \( e/ A% D( ]( L. ? CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
: f* Q( `% r9 W5 ]1 [# e Mounts:! \0 N( [: c# H
/host/opt/cni/bin from cni-bin-dir (rw)
: f- b7 H0 L2 \) i. U- A6 B /var/lib/cni/networks from host-local-net-dir (rw)9 ~$ D+ P6 B5 A4 {1 l7 X1 z
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
% E( W6 K7 W# [' p8 U install-cni:% S4 h: m5 h5 q5 [( F, s2 U
Container ID:
3 A% ?% e, d/ }: R" t% M Image: docker.io/calico/cni:v3.18.63 w# |6 f4 c' ^' Q
Image ID:
) E' E1 {1 J1 ^' E Port: <none>' [% @: Q3 n$ P8 y; K: w* B' E4 ^
Host Port: <none>" e9 e, h, g# P, z5 f
Command:
9 `. L6 Z) _9 X* Y /opt/cni/bin/install
( b% ]% a; L2 s% K0 T) W State: Waiting
) u$ y1 o4 y& X7 { Reason: PodInitializing
, W& R7 I1 H, ] Ready: False
+ k2 u4 q! V) C! F Restart Count: 0& c, g1 o+ [6 W+ [9 @6 g: M; ~5 r
Environment Variables from:! Z+ d5 B8 ]% q, m1 p z% [
kubernetes-services-endpoint ConfigMap Optional: true! l4 Z6 Y7 J, i6 }" {; Z
Environment:# i) K8 ]% c0 _) P! R
CNI_CONF_NAME: 10-calico.conflist- Z8 ~6 X; E @* ?& ^7 T! i
CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false% V. \; |( z. f
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
" P/ z6 J4 v) Q2 G$ f* F1 f. L CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false& m' C9 ]+ r& m! W a- q
SLEEP: false
: W, M$ C& ?* G% F) {& F Mounts:* H3 r G! ^: G ]8 j0 ]9 m
/host/etc/cni/net.d from cni-net-dir (rw)
1 g. b5 t8 M! [8 m" q7 U3 j3 | /host/opt/cni/bin from cni-bin-dir (rw)9 q2 J6 X6 P* q. g1 g; c, {* \" H
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)3 S- B! Q7 ]2 j6 ~) |0 _8 d
flexvol-driver:
4 K/ d8 j& ~. V9 {7 z4 M% E# y Container ID: 7 J8 T5 B, E# l% m6 Y
Image: docker.io/calico/pod2daemon-flexvol:v3.18.62 m$ x/ B2 C& m
Image ID:
. z$ h7 `" r$ G Port: <none>+ C; ?6 `1 f5 o$ F+ k) j7 E
Host Port: <none>3 b4 n; F1 Z+ F2 v6 {
State: Waiting
1 Q# ^- Q6 g3 l0 _+ M E' U) R Reason: PodInitializing# ]5 S9 O8 ?. c) o8 N% b9 c6 Y4 ~/ z
Ready: False
- R7 y" q( _; C6 R5 B8 w4 N8 S Restart Count: 0
( ~) F/ _9 [& q3 P) b Environment: <none>6 z7 q, g$ ^1 f7 i: C- V8 i) C( D
Mounts:2 | ], K" m- T. j( i, m4 Q" f# p
/host/driver from flexvol-driver-host (rw)
( ?4 d8 \; P* c6 L /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
. u, Y; l% q. Y" P/ ]Containers:; E- z' |* {/ \' T$ K
calico-node:4 X' R2 e7 E! O4 {4 o( R9 _
Container ID:
3 ^5 {, E0 f* M8 ~( Q5 Z. ^ Image: docker.io/calico/node:v3.18.6. f1 Z4 o, b1 f6 G) j. T9 b
Image ID: ) T, U6 \) `- p/ K
Port: <none>
0 z" R. a5 E) V! b Host Port: <none>
4 M3 I c i" _9 Z, R State: Waiting2 C9 v! R: R4 g3 m8 g3 F6 P! r
Reason: PodInitializing- h7 S% Q6 ], d2 \- X
Ready: False
7 H/ I, ^$ A8 h! U N' | Restart Count: 0
3 U+ f& j3 c2 J( |. P Requests:
1 w: f) `) H' J6 Y X3 c% { m cpu: 250m
, o# H! a2 l$ {6 ?# _ u Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6. C8 v4 r0 B7 }
Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3* c; E8 j4 e8 L
Environment Variables from:1 c2 H) s! e& S L5 J& ^
kubernetes-services-endpoint ConfigMap Optional: true# _8 }' Z9 S' A+ K a1 v# D
Environment:4 X2 |( v7 y( @6 j$ v7 q
DATASTORE_TYPE: kubernetes
' f$ ?- A4 O; r3 N WAIT_FOR_DATASTORE: true i( L% [0 M5 }: n' T. [0 n g
NODENAME: (v1:spec.nodeName)# `* k @8 Q$ u" E# L- v
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false" `8 e h* z% u
CLUSTER_TYPE: k8s,bgp7 k% s B& R+ I' v. a, w2 }
IP: autodetect- K7 @, t" F( j4 f# u0 F4 ~
CALICO_IPV4POOL_IPIP: Always
; `, [ V, I/ h ?' i CALICO_IPV4POOL_VXLAN: Never
: w! q/ O+ Z; k( J% ]$ r FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
+ A: r7 L1 [* S4 s( Z FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false9 s$ B4 P9 B/ ^
FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
1 K/ R1 N* {" t/ |: y" { CALICO_DISABLE_FILE_LOGGING: true8 M: |# ]! B6 Q( o5 Z5 z/ R6 V
FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT; D3 R9 v5 v5 `. j% g5 d% W
FELIX_IPV6SUPPORT: false
, I' u6 g4 \+ c+ ]; o FELIX_LOGSEVERITYSCREEN: info
* }( k. m" U1 Y2 u' L2 B) { FELIX_HEALTHENABLED: true2 _! Z3 S& ^" h+ e& x' A% ^( L% T1 B
Mounts:/ f: v; b+ ~+ U. d# I" Q
/lib/modules from lib-modules (ro)
- X: j4 G. ]0 S! g% F1 b /run/xtables.lock from xtables-lock (rw)! N& P. h& t5 [2 H* Z; t
/sys/fs/ from sysfs (rw)
1 e2 ~$ S9 _6 y X* t2 e /var/lib/calico from var-lib-calico (rw)
$ }5 j6 ~& T1 s9 c* t3 ~7 n1 ? /var/log/calico/cni from cni-log-dir (ro)- s8 P3 n+ D/ W n8 @$ B* w
/var/run/calico from var-run-calico (rw)
* M3 A/ M8 `2 x6 Y7 I8 Y! W, y$ t /var/run/nodeagent from policysync (rw)/ {2 D" X) f. z1 h8 i! R
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
' S' r8 ^+ A5 x. EConditions:9 D6 Z# }9 G; t
Type Status
6 m( _: Z' x2 E7 ` PodReadyToStartContainers True C" W0 v0 D$ Y) u; D
Initialized False
. k# ]/ t3 ~; |! K5 S% Z" z5 k! f3 p Ready False 5 H# J% i5 p/ e0 x* Y
ContainersReady False
, N5 G% @' k ^* R! m$ w7 e; Z PodScheduled True 4 T; w4 m) g7 h. b! J/ j
Volumes:
5 b. d: r) q+ G/ A+ @! Y }* v lib-modules:2 g2 K: g4 H3 c. y5 k3 I5 b
Type: HostPath (bare host directory volume)+ @0 F, S: s$ a1 B( Q; J
Path: /lib/modules* A! l# K0 t" W1 x9 L. W9 B
HostPathType:
% t, Z( I+ Q, e O var-run-calico:" q1 [9 w% F% Z; n' q3 X! I7 u, Z" t
Type: HostPath (bare host directory volume)) x+ l. W( M. Y9 h* a
Path: /var/run/calico! }) s1 |. M/ ]( i# ^
HostPathType:
0 }, r1 b, J- r( u$ u! m; _. M var-lib-calico:* x5 e, z: ^5 T5 ~9 v$ B9 D+ w R3 A
Type: HostPath (bare host directory volume)
2 U( c5 ]3 C0 x) c Path: /var/lib/calico8 o$ N: ?! t& _# }* e' A( w
HostPathType:
% c: @. d& ]' R2 ~$ U5 X xtables-lock:
) ~% R( G/ g& j# y, I: j8 {! U Type: HostPath (bare host directory volume)
5 z7 Y. k1 [) H" _9 K8 u Path: /run/xtables.lock* u- r+ z# C/ r: F. ?! B2 J0 }
HostPathType: FileOrCreate* U2 n+ ]2 f% U' [: K) ~
sysfs:
$ h1 y- ~5 j3 Q) l9 B Type: HostPath (bare host directory volume)
% D" I' {, C; }5 J7 Z Path: /sys/fs/# I$ |' l0 ]: n1 |. X7 L; t' X
HostPathType: DirectoryOrCreate
* f, e, _. ^" [5 p1 H8 [+ r cni-bin-dir:+ d- ]$ b! Z8 P7 w
Type: HostPath (bare host directory volume). D+ Z! Y) k4 h
Path: /opt/cni/bin
! S: B& c1 u" q* s; e# `$ H HostPathType: % L6 Z- g0 j* y R4 N( Y
cni-net-dir:7 J- ~& m' k, n8 V
Type: HostPath (bare host directory volume)
8 a: I4 r/ \: I Path: /etc/cni/net.d( c( V) n3 X( U" ]
HostPathType:
8 q9 n$ @/ W9 i' u% V5 N, V cni-log-dir:& [4 d% w8 N" D5 |
Type: HostPath (bare host directory volume)7 |) q% A" {4 P* W
Path: /var/log/calico/cni" [8 y. g7 N* c, j& E/ y# J
HostPathType: 2 t r' }8 D- R2 |6 @6 |: I3 Y# B5 k
host-local-net-dir:
) o6 ]4 B! K3 T7 V9 Q Type: HostPath (bare host directory volume)
9 Z+ S F" v' ]' M& E, o Path: /var/lib/cni/networks9 f; k' q, b9 x" @- Z
HostPathType:
- U- g1 O8 X( }% r9 z6 n5 V policysync:
* Y& i/ I/ c* L Type: HostPath (bare host directory volume)
! ^4 N6 c% d0 A9 ^7 \! [. L4 Q: _* W Path: /var/run/nodeagent' v6 F8 p, |& [, |
HostPathType: DirectoryOrCreate8 c4 s8 V! @! ], B- U" [: S$ Y
flexvol-driver-host:
$ U- b/ {$ @2 @9 d Type: HostPath (bare host directory volume)
4 J! O7 d u" ]7 K; c, L) o Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
! j8 D! m1 }5 |$ N$ {8 E HostPathType: DirectoryOrCreate
8 q7 u, |% _; s7 S4 [ kube-api-access-5zp5k:$ V G# P3 b& P6 v: q. f I
Type: Projected (a volume that contains injected data from multiple sources)" S G5 d$ d; w/ Z
TokenExpirationSeconds: 3607
* P5 _& R, ?. | ConfigMapName: kube-root-ca.crt
6 y" n; }8 i" E. e ConfigMapOptional: <nil>
6 b) w7 e* h8 a% z0 n DownwardAPI: true
$ C B. u) z0 v* T$ Y8 b7 f( q6 |# B& gQoS Class: Burstable
+ g# |* ~1 c, R" N' V4 I8 ~0 FNode-Selectors: kubernetes.io/os=linux
# W$ n; [7 l& I1 ZTolerations: :NoSchedule op=Exists
: W7 E" q& Q) Q$ m) u. N- U: }: B :NoExecute op=Exists* y& A$ b& S: c
CriticalAddonsOnly op=Exists
w; V b8 L& V7 [! p node.kubernetes.io/disk-pressure:NoSchedule op=Exists5 @7 l6 K" ?" Y7 v: E4 x9 @9 @
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
; s* o) f" r5 C node.kubernetes.io/network-unavailable:NoSchedule op=Exists
1 {, m. w! W; L6 p node.kubernetes.io/not-ready:NoExecute op=Exists' [4 S* V7 k2 Z# Q
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
' Q2 d1 ^: O* W node.kubernetes.io/unreachable:NoExecute op=Exists3 I& ]2 P& a7 |# O" [( ^
node.kubernetes.io/unschedulable:NoSchedule op=Exists
& c+ C/ I1 V2 w. LEvents:
2 R5 d0 ] ~, |% D* A6 L4 J( ~ Type Reason Age From Message
8 c$ {9 h. s4 H; C( a4 f) J) D! y ---- ------ ---- ---- -------$ I: J% [# V# O: e
Warning Failed 19m (x196 over 21h) kubelet Failed to pull image "docker.io/calico/cni:v3.18.6": rpc error: code = Canceled desc = context canceled3 W- d" y7 B- f% S
Normal BackOff 4m43s (x4360 over 21h) kubelet Back-off pulling image "docker.io/calico/cni:v3.18.6"
- W0 E: ^& }' P) N |
|