|
|
发表于 2025-1-2 11:00:14
|
显示全部楼层
kubectl describe pod calico-node-2kbrv -n kube-system # j: J/ j: A( Q; A5 w& S2 n1 C; Y
Name: calico-node-2kbrv2 Y% M! @9 m4 |- `' |4 N
Namespace: kube-system9 o. |: T/ W) W
Priority: 2000001000
* g x' r( T6 W5 w6 M! qPriority Class Name: system-node-critical
4 D+ u6 W* e5 m" _Service Account: calico-node' y/ H! R: h! f; f7 \0 f7 ]
Node: k8s-master/192.168.8.190
& k8 G2 H- N: z4 eStart Time: Wed, 01 Jan 2025 13:00:18 +0800; T2 l- H" ~( }5 }( o& h$ p
Labels: controller-revision-hash=5f4dfd76c5
9 N. o: `8 X. I% ^4 z k8s-app=calico-node
3 z" G z9 J$ ^4 q/ n5 d pod-template-generation=1" X7 H: ~0 g T& m% g* f
Annotations: <none>
+ E5 G% F* ?: n W0 |' TStatus: Pending. z* o4 n9 @, ]! e
IP: 192.168.8.190' F' K8 A6 X5 O# R) H" Y. K
IPs:9 a; \- k) V0 R
IP: 192.168.8.190
* X, U( p8 F2 x; s$ }Controlled By: DaemonSet/calico-node9 U" j4 Q2 j `' O
Init Containers:
) m$ r" s: w- w: ? upgrade-ipam:! O: l. a; ^: F4 N& m. g8 k
Container ID:
$ W" t: j% {& }$ b8 F Image: docker.io/calico/cni:v3.18.69 P1 r4 x# h; z1 d; X* ?. s
Image ID:
: q0 A$ ], {' }! ?' x Port: <none># h! G1 K4 `8 G" ~' V6 q
Host Port: <none>. {' |, K+ N) v6 V1 C$ B7 S
Command:8 U0 O0 _7 z; s
/opt/cni/bin/calico-ipam! `% \. }! D8 @3 S8 n
-upgrade P7 Y+ k2 \6 N# G, Y
State: Waiting
" p( d) c1 A3 ~7 b3 s Reason: ImagePullBackOff# [+ F7 b5 ?. q9 H" T [; K! |
Ready: False
. d7 f ~5 X7 B r9 I Restart Count: 0
$ i3 }, H" _+ T9 p7 j1 F0 r Environment Variables from:
! Y) R9 \+ K; L5 u: I4 a; U kubernetes-services-endpoint ConfigMap Optional: true7 _2 E0 x. ~ M
Environment: a s/ V- P, ]3 x
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
; j8 A* \$ c% f6 ]& E5 q- Q CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false) C* O# n+ v+ _ c* X8 @- G
Mounts:
% F7 X: t- g5 e! B! t1 J /host/opt/cni/bin from cni-bin-dir (rw)1 g) A8 U9 n$ t, b2 j) r0 t! @4 m
/var/lib/cni/networks from host-local-net-dir (rw)
- S6 D! ^& z! N$ ]. x, f( f9 S /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
Y& p1 {5 A7 U8 N* P$ W6 v install-cni:0 _1 e" y- B$ y5 r
Container ID:
( \+ G l Z; ` h8 g Image: docker.io/calico/cni:v3.18.6
4 o) Q% o/ W- P Image ID: ! D9 W! I! H2 m) Y
Port: <none>
( X5 i0 _, d* u6 s, X5 ]+ Q6 g Host Port: <none>
) Q/ X4 D: W6 |: m+ a+ G; ? Command:7 N# n x* j }& \2 A! U
/opt/cni/bin/install
/ U( B' d9 l0 s4 c/ M: N State: Waiting# G, n# q# Z+ ~/ y; V; x* a, X% \
Reason: PodInitializing% `. g% J" w! K- a# f$ H
Ready: False
8 M% @! o. n3 {& U f Restart Count: 0
1 n. {: m @; Z% { Environment Variables from:
0 @" f7 j- `. k/ g2 o% f kubernetes-services-endpoint ConfigMap Optional: true( H% x, Q% i7 {% B. w* w( V
Environment:
+ A1 Y- t) W5 G9 A- E CNI_CONF_NAME: 10-calico.conflist
( w7 M/ w2 x( S CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false/ O- Q$ y/ B& i0 ]4 k- N8 U
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
: Q* R$ f; y' T CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false, e; b( J# G: X4 x
SLEEP: false
- G! G8 s: z% l: G+ M Mounts:& M$ _7 e# _$ U
/host/etc/cni/net.d from cni-net-dir (rw)
" ]+ k( `3 I/ C+ d' u! R% M( W /host/opt/cni/bin from cni-bin-dir (rw)
% g' e1 P' R |, n/ B# F- a: r /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
0 _* |; T H* Q$ S4 Y flexvol-driver:# \/ o0 ~: X- \. Y
Container ID: / f# q+ H' l# L/ G2 C, B k2 A
Image: docker.io/calico/pod2daemon-flexvol:v3.18.6
- J. ~7 g# l+ q% k Image ID:
3 f( d @# ?, h# L Port: <none>
N) n* g6 ^4 v/ P$ Q Host Port: <none>3 O8 c8 W* ^" z) N
State: Waiting
1 D8 Z+ P( D$ g* ~3 T) i7 S Reason: PodInitializing0 N( F% ]2 t3 S' K( G
Ready: False
2 I+ { e" r9 o( j h Restart Count: 01 F6 z" X' J* W5 K; C
Environment: <none>
# O& x8 G( c9 I+ X$ J' B Mounts:% G: \, N2 ]& @9 |8 x y4 B1 N
/host/driver from flexvol-driver-host (rw); f6 J$ W# X) F- a2 k
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
! f8 \! \2 e. Z/ [4 Q* q, i" ZContainers:6 X% S! N! g6 N/ k4 x
calico-node:& r6 ?; j1 y9 G1 w" E' a5 J
Container ID:
: b, p( f7 {! a( u2 k3 L, Y Image: docker.io/calico/node:v3.18.6, i0 H+ z- C4 ]
Image ID:
# F! |* D9 Q; u- t Port: <none>
0 J, q: O& w2 O% s$ H: E/ R& e Host Port: <none>
0 K6 j. a) i$ K& g2 q State: Waiting
- y5 h* Q. `3 s: L5 n' C Reason: PodInitializing V7 K4 D8 G! c/ u4 a9 {
Ready: False9 L2 y- ]4 w% ]/ g
Restart Count: 0
; Y# _, K ]% Q* p: Z' W Requests:
) T' E' p& d! E: ^- M2 n+ v cpu: 250m/ b- q" v! r4 V& t! _' u
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
2 |$ V! _4 o9 M6 X; K Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
$ f4 O; N5 Z- k3 s Environment Variables from:
% ~( j6 K# T9 y, r# M% ^* \# _9 w kubernetes-services-endpoint ConfigMap Optional: true$ @. h7 T0 P5 T) k' h- o5 y
Environment:4 O2 Z' ?" @- J6 d! G; D, R: i
DATASTORE_TYPE: kubernetes
; t: X: ?( J, \ WAIT_FOR_DATASTORE: true
! S f5 Y9 u1 |) g NODENAME: (v1:spec.nodeName)
2 c# k/ E9 E+ L: R, P" q" p* \ CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false8 q6 j/ }3 I1 `* ~, [
CLUSTER_TYPE: k8s,bgp
[9 J6 e: v+ X' ^ IP: autodetect1 v8 x/ H2 o# V( U# f& T- u
CALICO_IPV4POOL_IPIP: Always
: q5 E$ R, d7 S5 M! Z CALICO_IPV4POOL_VXLAN: Never, Y' B" W- j( q/ J, D
FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
) D j6 ~; V+ \6 M FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false
2 A& g& T# H2 D0 \+ C ] FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false% H; ]6 K" h! J+ H" T) N" b- y
CALICO_DISABLE_FILE_LOGGING: true
# A b% O& x- N9 D0 b, m. p FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT
: S8 \, l( S* v5 z FELIX_IPV6SUPPORT: false* g# S0 a' }4 [' Y
FELIX_LOGSEVERITYSCREEN: info
6 ?( G3 i, o$ z( | FELIX_HEALTHENABLED: true3 g. \: @* C: K0 e7 w! Q A
Mounts:5 S& \1 k$ e7 G* T- ~
/lib/modules from lib-modules (ro)8 h& R! K1 C8 w( P6 i& W
/run/xtables.lock from xtables-lock (rw)
, i. c/ u2 s- i( J. S /sys/fs/ from sysfs (rw)/ M4 k1 |8 e' f* I% `) L+ V+ ^
/var/lib/calico from var-lib-calico (rw). m; v3 E$ q3 S
/var/log/calico/cni from cni-log-dir (ro)* |3 }+ Z0 P+ K8 {. f9 d, Y
/var/run/calico from var-run-calico (rw)
% _4 \5 h9 l# f; f" G9 D7 b- o /var/run/nodeagent from policysync (rw)- \' E% \' w- E+ Y* }( \# `7 B% }
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
5 T8 A1 y- A6 A6 r7 qConditions:6 x9 h! @6 j% L+ n) t7 ?
Type Status
& `+ a& L" E$ y PodReadyToStartContainers True ' `# b# Z* F+ T- \. p7 V' K
Initialized False
# u4 h$ s. b% |1 r Ready False
* {8 P3 I U( }* L ContainersReady False 0 |" E4 _( Y4 Q0 Q% |: J8 S0 e# v
PodScheduled True ; H2 i }' Z( l4 k# B
Volumes:9 h7 ^. r& s6 A
lib-modules:
; ~* ~1 j7 i, _" O6 ]# W- v Type: HostPath (bare host directory volume)7 O1 Q" ~* Y1 ~2 Z) \
Path: /lib/modules3 O9 w. N" D) i% h" s" e
HostPathType:
( k8 C3 {$ p; w' V) c var-run-calico:" ^; j' e. H3 R
Type: HostPath (bare host directory volume)% b$ w$ [% m# g; C/ |1 d Z
Path: /var/run/calico4 e. e; ?8 j/ ?+ H" {/ ?6 S0 z
HostPathType: 5 v6 D% r$ C* j$ C! G" [
var-lib-calico:
- b( ?. V. D0 B( j- | Type: HostPath (bare host directory volume)* \1 P, {9 D* K0 ~( J& F; M/ g
Path: /var/lib/calico
7 Y4 j, k; S( A HostPathType:
# K, O- D3 r9 m" n7 b: U" }+ j. _9 s xtables-lock: r/ a& y' ?/ q _* K) n
Type: HostPath (bare host directory volume)
' Y& {" V% u' b& P3 o J6 Y' F Path: /run/xtables.lock8 Y( m/ V$ g# ? W/ S
HostPathType: FileOrCreate
8 k( B+ ? C2 M# @ sysfs:
9 k& A) Y' M, l4 m Type: HostPath (bare host directory volume)
" g# W6 [+ |$ [) o6 K+ g: U8 x Path: /sys/fs/
$ z0 `; T1 {, o8 u( [ HostPathType: DirectoryOrCreate& b+ i6 I3 z+ `. k0 k% m
cni-bin-dir:
4 h) T0 J! ]) ]9 p7 o* K9 {. a Type: HostPath (bare host directory volume)1 W/ Q) H+ C- q8 U5 G0 W* X
Path: /opt/cni/bin
, g: ?; [) K4 B1 D$ S+ M6 z HostPathType: . \4 H# I/ N5 S. P8 m* Z$ Q/ J" A; O
cni-net-dir:
. s$ o4 G) \2 t, m7 ?* [ Type: HostPath (bare host directory volume)
& }. z7 ^+ U9 D. H0 N) K) W Path: /etc/cni/net.d
. u6 |; x- Y" `/ D- {, J HostPathType: 6 }$ {* j X( [1 e
cni-log-dir:# \( U9 t$ v) |: _5 X, ]
Type: HostPath (bare host directory volume)3 `: Z, b) H1 b+ ~( [( a" ~
Path: /var/log/calico/cni2 u) Q& c- W) G+ w3 D0 V; Y
HostPathType:
" U. p1 }# I, U# S$ Z! a host-local-net-dir:, j6 F7 P$ r4 Y9 c! m, C1 M4 d$ R2 k
Type: HostPath (bare host directory volume)
6 B( C4 y, \$ }' w0 T9 Q Path: /var/lib/cni/networks: j) m# E& v$ ~- p) l- b; h& B# G
HostPathType:
; q, }; e. Q% W' d2 b policysync:
; l9 \9 @& e& j0 Q Type: HostPath (bare host directory volume)
3 k% { W8 z7 u3 e2 u+ ?8 P! x Path: /var/run/nodeagent$ Z8 Z! B9 i8 P4 K5 _5 t% i0 a
HostPathType: DirectoryOrCreate, Q( L4 A! X1 L6 d' }' k
flexvol-driver-host:* ~3 v' F# b" z3 t
Type: HostPath (bare host directory volume)
. v0 f4 b# [" Q2 y Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds2 u; Q( I5 V) W' Z' T
HostPathType: DirectoryOrCreate g5 E4 q% R% {
kube-api-access-5zp5k:
* g$ J* {# u! S& [$ m" m7 J/ q Type: Projected (a volume that contains injected data from multiple sources)
& P0 x2 h- E1 n TokenExpirationSeconds: 3607 w' C/ R, {( m$ h. R
ConfigMapName: kube-root-ca.crt# B8 ]/ L& C7 u. C$ T
ConfigMapOptional: <nil>
$ \2 m9 ~+ q) t) E5 P DownwardAPI: true0 D; E" S% s, A. W+ _
QoS Class: Burstable
9 O/ [* S7 V; }+ sNode-Selectors: kubernetes.io/os=linux
! v( P8 a7 r( j; xTolerations: :NoSchedule op=Exists
$ [+ [( G; \& A8 z :NoExecute op=Exists
" i$ W2 J; G/ s, P CriticalAddonsOnly op=Exists
5 @; v% B% J! \ node.kubernetes.io/disk-pressure:NoSchedule op=Exists$ [. y) ^3 k" C6 l
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
, n* n# t9 L/ S9 M node.kubernetes.io/network-unavailable:NoSchedule op=Exists6 ^7 I* |: g3 u y) }
node.kubernetes.io/not-ready:NoExecute op=Exists
2 A; `" u4 Y! ? node.kubernetes.io/pid-pressure:NoSchedule op=Exists1 f( H2 H* K. |
node.kubernetes.io/unreachable:NoExecute op=Exists5 y$ w% j: E, @
node.kubernetes.io/unschedulable:NoSchedule op=Exists
. V& s/ y! ^. a$ EEvents:' {6 ?5 [1 D$ Y @' L6 O8 Y' W" {
Type Reason Age From Message
5 ]0 ]& o' q6 ^, P9 X! n& e ---- ------ ---- ---- -------
+ {$ ]! L9 M9 g; A Warning Failed 19m (x196 over 21h) kubelet Failed to pull image "docker.io/calico/cni:v3.18.6": rpc error: code = Canceled desc = context canceled1 ? @9 W% R. }0 A5 G: Y% V
Normal BackOff 4m43s (x4360 over 21h) kubelet Back-off pulling image "docker.io/calico/cni:v3.18.6"
- m4 U4 P; g& n; Z! ` |
|