|
|
发表于 2025-1-2 11:00:14
|
显示全部楼层
kubectl describe pod calico-node-2kbrv -n kube-system
: s p: [, e, M" i* w. f. ?/ L dName: calico-node-2kbrv
% V7 X2 e' _. O/ Q3 ~. D* nNamespace: kube-system
+ @" `; M" M& Z- sPriority: 2000001000) U% U" s4 a# l
Priority Class Name: system-node-critical
5 f6 X5 k/ ` O* g5 b; ]; WService Account: calico-node
" z3 ^2 h- w' Q) h$ lNode: k8s-master/192.168.8.190
9 t' J$ a$ P" E& G7 `" v2 F; C ?Start Time: Wed, 01 Jan 2025 13:00:18 +0800 Q9 j, q, ?; k/ P5 L0 x# H I' U! u' R
Labels: controller-revision-hash=5f4dfd76c5
: M/ O6 g# _; {+ a2 n l k8s-app=calico-node
& Z: E( ~ @, H2 p R6 Z pod-template-generation=1/ ^+ \9 u5 r& F; V G/ C; H
Annotations: <none>
5 c; n1 ~( y/ T2 @3 {) ~) FStatus: Pending
{1 E5 S+ p9 O) ~8 Z8 A2 f) tIP: 192.168.8.1903 A9 t7 z! m2 j1 y0 o1 o
IPs:7 ~; [4 }( p4 t1 L& a# z
IP: 192.168.8.190
& H# V4 j( [( X6 u8 f$ |8 UControlled By: DaemonSet/calico-node
. t- t: ~! n/ |Init Containers:" b* n1 N3 }. f/ R% C
upgrade-ipam:; M" L. {' V( f( L
Container ID:
. f2 g+ t, Q" [1 b8 W4 q Image: docker.io/calico/cni:v3.18.6
5 g! N4 |. r" k5 {" H Image ID: 3 T1 E7 l7 K- b4 H `
Port: <none>
. `( z3 s, \ T' c Host Port: <none> L% Z4 e; V3 B' \% I
Command:+ e8 ^ u' M \* ]/ S d8 P5 A
/opt/cni/bin/calico-ipam
# u/ ~ t- [1 e& K* ?3 E% W -upgrade# {, V& v; A1 T8 ` p( e/ F, P
State: Waiting8 \+ Y9 }2 E) b8 ?
Reason: ImagePullBackOff
- R& H; w2 \ R8 S# E6 X. l2 w Ready: False
) f' S% s4 N% F3 S) C Restart Count: 0
; F& ^$ i4 l7 H0 U7 o5 t1 }8 e Environment Variables from:
: u# a Z8 y# J. N kubernetes-services-endpoint ConfigMap Optional: true8 T C, Q$ B, X
Environment:
3 A* |# q* }$ s m KUBERNETES_NODE_NAME: (v1:spec.nodeName)+ u8 z9 w7 E) M: N& m
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false8 Z2 r/ s9 Q. p" T& F1 g
Mounts:
( h/ u! _( {( y! E' m) ?/ G Z0 ~ /host/opt/cni/bin from cni-bin-dir (rw)
- c9 W9 m- L- u1 o. w; K# O/ G- k /var/lib/cni/networks from host-local-net-dir (rw)* c7 }8 j! P n H4 ~
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
* k9 k) U3 s$ Q) Y install-cni:( g' e, X0 Q: G1 q G) s
Container ID:
# l9 i3 |' F* u# P: D( J' \ Image: docker.io/calico/cni:v3.18.6
6 X2 ^ V+ O4 ]8 v" \5 m% @. d2 V Image ID: 2 C. A0 F. a" h' ?, e
Port: <none>
3 r$ K) j4 |9 K6 O$ X Host Port: <none>, J" w) s* L0 f* F. R" J5 f0 k
Command:
# ^. O7 E9 f c R0 x4 D% r /opt/cni/bin/install( L! j. c! w3 b# K) B
State: Waiting
! ^$ Q! n- W% H4 [0 X: A- T Reason: PodInitializing
3 z. e8 s, g$ W9 N) @) ~2 O Ready: False
0 s4 c$ x( M* P7 u# Q Restart Count: 0 Q/ H+ e0 A- u# z2 U V
Environment Variables from:9 p7 I+ q. t& y8 R
kubernetes-services-endpoint ConfigMap Optional: true
$ N* V" G* C( d7 g. x Environment:
. Y7 H! i. [- u- E; L/ Q CNI_CONF_NAME: 10-calico.conflist( m* P3 l( l5 p2 f
CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false& T8 Z* G' R. J I) o
KUBERNETES_NODE_NAME: (v1:spec.nodeName)+ Y* G, p% t0 O# s- A
CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false/ k4 `7 H- _' D
SLEEP: false; I! _) c1 J# L% B1 D# H6 j
Mounts:9 w* v ?9 t6 v! p0 R+ ?
/host/etc/cni/net.d from cni-net-dir (rw)9 F' T; ?/ D# ~
/host/opt/cni/bin from cni-bin-dir (rw). L- M4 I) g$ w/ V$ [
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)3 v \0 ^3 n6 A/ p6 ~$ t ^. @
flexvol-driver:3 w5 \8 f/ E1 r% C S
Container ID: / z+ ~# K; i8 E2 Y* h8 G4 \
Image: docker.io/calico/pod2daemon-flexvol:v3.18.6
; P, v$ a. z. P" ]* P! k9 e% J Image ID: $ s+ o" u/ n. c! l0 \# M/ U
Port: <none>
, y3 W4 t" L+ N0 E" Q) Q Host Port: <none>
4 O5 U% Y V" R2 Z State: Waiting
+ [) T, C6 D) M: e! f6 ~ Reason: PodInitializing
7 D c( u, P+ ~: Z! ]: n8 O Ready: False) G: P4 S: K" _2 g% e M/ o8 y Z
Restart Count: 01 e; p# J' y: p$ _# l
Environment: <none>' e( o- I# z6 {' N* l6 [
Mounts:
; n4 O, e7 J- m) k/ b# c /host/driver from flexvol-driver-host (rw)
6 g( H4 S- c; S6 L. O! t /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)8 p$ E) W4 q7 r6 K3 J
Containers:2 {( Q# B! a: ^0 g v% z
calico-node:0 M# t: N& T6 b& s0 g
Container ID:
6 q2 u& h. _: C* { Image: docker.io/calico/node:v3.18.69 e7 Y. j" x. Z' q
Image ID:
/ ^1 {9 s# W) y6 l: l Port: <none>( H) O7 \+ k! j5 ]3 e) H' Q
Host Port: <none>" D' S& J4 Y, e. A$ n
State: Waiting* Y- R! T- P" O! G( _
Reason: PodInitializing
: k8 Y# Z$ e: s) | Ready: False6 |0 J, y0 x2 ~* V+ P
Restart Count: 0) A( k2 _/ ~5 l8 h' @
Requests:
( Z4 @: B5 R1 p6 J) X cpu: 250m+ f ^! d! y5 A3 O( b5 z! `
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
! p3 e1 U8 N" j7 Z. | Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
1 j: ^) g: P. }7 R% v: k8 z Environment Variables from:
' \! _, f$ U% q3 p4 ^2 h S kubernetes-services-endpoint ConfigMap Optional: true
1 E4 f# y) ^) w- F Environment:
9 s& t! ^& ]5 O; ^% @ DATASTORE_TYPE: kubernetes6 }: ]2 J6 u4 o7 D' @
WAIT_FOR_DATASTORE: true
8 g7 Z% G' k# j9 O4 J2 {& w NODENAME: (v1:spec.nodeName)
' [2 F" e8 _. S( q" o. | CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false# ]# a4 Z3 L% ]' ~; ^8 j
CLUSTER_TYPE: k8s,bgp# v" A! d% t K8 G+ g: y
IP: autodetect2 P3 o) p9 `3 `- H( t
CALICO_IPV4POOL_IPIP: Always
# z, E C; i: X% q! G! r CALICO_IPV4POOL_VXLAN: Never
) i$ N: k* Z( G& i3 ]) d FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false3 b# A9 C! s! d P H& h4 C
FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false }+ n5 a3 H/ f
FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
6 v0 d# _$ s! B" D, A. { CALICO_DISABLE_FILE_LOGGING: true
' Z) Y' a+ z% o5 d& t3 z- m FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT
+ _9 p7 M+ g6 p/ S FELIX_IPV6SUPPORT: false
5 h* b1 V8 D( i4 h! ]0 j4 B FELIX_LOGSEVERITYSCREEN: info/ Y+ {; [+ U- J' e
FELIX_HEALTHENABLED: true
9 N! F" l% z" ~( S Mounts:
8 Q* k+ o5 }$ W \9 e" Q5 P /lib/modules from lib-modules (ro)
5 ?, J7 w. n9 M6 G4 d+ S /run/xtables.lock from xtables-lock (rw)+ [4 S6 ]- g+ q7 S: ~7 r( i
/sys/fs/ from sysfs (rw)
, Q7 \/ T' F& K2 @2 } /var/lib/calico from var-lib-calico (rw); Q A( S) ?$ P( o2 U
/var/log/calico/cni from cni-log-dir (ro)1 h2 |5 X6 k$ `3 c
/var/run/calico from var-run-calico (rw), ]% v4 q4 U# S; B! V; ^/ p
/var/run/nodeagent from policysync (rw)& \* o7 ?9 L+ Y
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
1 x8 N6 N$ k. v/ QConditions:
3 ^4 K6 W4 n, z Type Status
' r7 n6 r" e8 r- U9 `3 }4 E PodReadyToStartContainers True " ~2 A% q$ o0 u) D+ E, U
Initialized False 7 m& k ~+ P# s& V+ o! R1 n8 y
Ready False 2 @ [* |( K4 @- a" V' Q1 b
ContainersReady False % p+ b' k0 k* m% d# t$ y
PodScheduled True 4 A/ G8 q5 O/ i' g& @3 j2 l. z
Volumes:
, L/ \8 `* {' m, P. k lib-modules:* s! O5 k+ J. k. M! g* D
Type: HostPath (bare host directory volume)* L, T- z1 @: \
Path: /lib/modules
% Q: `7 Z( h9 m1 a- h/ B HostPathType: 8 e+ f6 @1 n) l# }
var-run-calico:
/ U1 Y1 O* L0 J& d2 q3 D: B Type: HostPath (bare host directory volume)
3 p9 t ]' c$ \ Path: /var/run/calico
. U' x. K# g4 Q. s' h b HostPathType:
# E, f) m/ p0 l" v* ~9 E var-lib-calico:9 y2 F; o7 z v* ^6 d, k: v3 C2 u5 S
Type: HostPath (bare host directory volume)) M! f1 u% i+ Z" @8 w5 L. f% t
Path: /var/lib/calico
# d2 E0 O' g7 g HostPathType:
7 Q9 t. C0 E, x xtables-lock:
: e+ H! l: [2 c) s! K Type: HostPath (bare host directory volume)1 X' b ]5 ^# q# I2 w; i: Y! _( t
Path: /run/xtables.lock
6 f7 Z; q' i8 t& Q r- `. W4 p HostPathType: FileOrCreate
/ x: T& O8 V# \; V# o$ i! ?/ { sysfs:9 U# {6 ^/ X* a' g
Type: HostPath (bare host directory volume)
0 r' C w9 e/ Q8 v0 n Path: /sys/fs// {0 I6 C* G o: \0 k( |
HostPathType: DirectoryOrCreate
( v7 ] l3 g" I8 W7 D5 D cni-bin-dir:
! T* |, k% [! j$ O. N- n$ x9 i | Type: HostPath (bare host directory volume)
2 |6 W2 B/ Z8 }8 y7 f Path: /opt/cni/bin; P- n5 L* i/ `7 H
HostPathType: * X2 g% M% B1 O: a, o1 ]% q
cni-net-dir:
1 a: ], V9 ^8 A W$ W X Type: HostPath (bare host directory volume)
6 w4 `* o/ V. M7 \ Path: /etc/cni/net.d
2 B5 m0 D% W9 S+ C4 N3 u2 G) x% ~ HostPathType: 0 `2 ^6 \" v1 ^
cni-log-dir:$ ~' E0 y6 j% K
Type: HostPath (bare host directory volume)% L6 ?9 I* O3 e
Path: /var/log/calico/cni5 g( h' e/ a, K) z
HostPathType:
" D0 A2 Q/ C8 [" F7 A8 W, ~; `8 Y host-local-net-dir:! s. D1 n; p! p8 v! K
Type: HostPath (bare host directory volume)
- @7 u! w* F/ V Path: /var/lib/cni/networks
$ ?5 R0 |2 P( x5 m( @" o" k HostPathType:
T3 d, {7 Y- i3 d, {( I& F- Y policysync:
1 D3 U! U/ N5 A2 z0 J# c6 ^# D& ^ Type: HostPath (bare host directory volume)# t3 Q- F! `0 {6 a2 F
Path: /var/run/nodeagent" T$ m) B: S/ D% k6 f# ]+ b
HostPathType: DirectoryOrCreate2 B% S& n; C7 h% n2 }
flexvol-driver-host:3 L5 h1 l/ p* t/ e" Y
Type: HostPath (bare host directory volume)
3 t% }& Z! ]% A" ~( D! J7 g" T Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds( {$ m% C, Y2 Z$ j( d0 O# }* A
HostPathType: DirectoryOrCreate
6 c1 k( e3 P: j0 p7 w# z0 u kube-api-access-5zp5k:9 T5 [/ r# d1 O) o3 _- a
Type: Projected (a volume that contains injected data from multiple sources)0 H4 I6 D3 Y: Z$ R' I; ?! Q
TokenExpirationSeconds: 3607" |5 \: s; X' `) ^7 C2 [9 _
ConfigMapName: kube-root-ca.crt
( D) l2 M" [4 ^$ J ConfigMapOptional: <nil>9 ?# H3 D5 Z7 w" @! h4 Z
DownwardAPI: true& g4 z8 V Z/ b' E& `3 T) ?
QoS Class: Burstable
0 O5 O9 y: {) F3 ~7 z" F) LNode-Selectors: kubernetes.io/os=linux: a2 n6 J1 _, u! k$ C
Tolerations: :NoSchedule op=Exists
( B7 v. X5 ^4 w0 o2 x5 E :NoExecute op=Exists
# n) z7 m' X$ Z9 H/ h/ {+ F CriticalAddonsOnly op=Exists
# y# u1 G& J& ^. p2 k node.kubernetes.io/disk-pressure:NoSchedule op=Exists! m* q2 K+ \5 m! [& h( b) k, a
node.kubernetes.io/memory-pressure:NoSchedule op=Exists* l8 K9 p4 x1 K( d
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
' {4 d1 O: d' S; K5 k node.kubernetes.io/not-ready:NoExecute op=Exists
( s0 Z3 t5 ?. ?5 ?6 n$ h; H- x node.kubernetes.io/pid-pressure:NoSchedule op=Exists
1 p' J* F9 ]+ w; ]7 r node.kubernetes.io/unreachable:NoExecute op=Exists
& ?4 R9 W$ U9 j0 m6 w7 l+ M$ q! j node.kubernetes.io/unschedulable:NoSchedule op=Exists& W, R9 x7 l. r4 q+ `: Z
Events:
9 {7 {, A$ ], b: G7 `; L8 U Type Reason Age From Message
2 Q* Y, A1 Z* Q4 B( Z9 @ ---- ------ ---- ---- -------
1 t" Z+ L- @: b" e" x6 g/ o9 i Warning Failed 19m (x196 over 21h) kubelet Failed to pull image "docker.io/calico/cni:v3.18.6": rpc error: code = Canceled desc = context canceled
& Q& C2 Y) S+ I5 }2 H Normal BackOff 4m43s (x4360 over 21h) kubelet Back-off pulling image "docker.io/calico/cni:v3.18.6"
, _1 O; N% H' O, N n% Z7 L# I. l+ B |
|