|
|
发表于 2025-1-2 11:00:14
|
显示全部楼层
kubectl describe pod calico-node-2kbrv -n kube-system
" {0 S: u' F8 f4 fName: calico-node-2kbrv& z& H% B) v2 ]1 j+ q8 L9 w
Namespace: kube-system
2 a- B4 X" ?" R7 E/ w T) iPriority: 2000001000
5 U% i6 t1 z& P! P: w/ RPriority Class Name: system-node-critical2 Z& F& C8 b* b6 Z7 |
Service Account: calico-node. l4 c& I3 d# v* B/ T$ E; [
Node: k8s-master/192.168.8.190
+ M) R e( ~ _+ B) XStart Time: Wed, 01 Jan 2025 13:00:18 +0800; w [% d+ q8 S8 Z" e2 B; v
Labels: controller-revision-hash=5f4dfd76c5
$ i5 e1 e+ [7 h/ ^ k8s-app=calico-node
2 t9 L, y G# `: w$ H5 j: i pod-template-generation=1
( Z' v; ], t2 lAnnotations: <none>0 v& |% O4 O5 B$ w0 L' @# g
Status: Pending
6 Y8 Z3 p4 o g) I" }8 {- NIP: 192.168.8.1907 u) L" ^0 U5 _! O% T
IPs:8 t# z A5 K8 V) i0 D1 u# {
IP: 192.168.8.190* A/ c, A( X( G( ^2 |
Controlled By: DaemonSet/calico-node
7 N2 d. U. |/ ~0 V" t$ P( `Init Containers:$ r0 u( F% z% z6 o
upgrade-ipam:. m: ]( ], I! v% u& ^5 B2 {9 u
Container ID:
6 y) z; I, _# v6 G' p Image: docker.io/calico/cni:v3.18.6+ ?$ p" t! c* g9 [0 x6 ] n
Image ID:
& S% F5 j' y3 \1 W) D! O, t Port: <none>& l% w) Z1 N# W
Host Port: <none>
& E- N& i/ K, N; n. P# N Command:
. `: E- O/ Y# _# ]2 Z1 M8 E /opt/cni/bin/calico-ipam" C( N* w; [2 g. R
-upgrade; \5 W* X2 B/ I! b/ f; M7 U& Q! u
State: Waiting, }/ N$ M3 J9 _- K& w; @5 b2 b
Reason: ImagePullBackOff/ _: W% c' p& `+ D! p8 G
Ready: False; _$ E; c5 j% H, `2 {
Restart Count: 0
- P+ V9 c3 X' G# y Environment Variables from:4 \. |0 H. x! T3 V: r( y
kubernetes-services-endpoint ConfigMap Optional: true
( t7 a4 q2 K' w z" S1 d Environment:
+ ^: l( T7 _; O" r: z KUBERNETES_NODE_NAME: (v1:spec.nodeName)9 i3 b% g& D2 q" j- E: U
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
' k! f/ J6 c, v, V. R2 N2 C7 s Mounts:
* w) M: ]' B- i( c) j! [3 y /host/opt/cni/bin from cni-bin-dir (rw)+ J7 X% z/ f" W G: a4 W M
/var/lib/cni/networks from host-local-net-dir (rw)7 M5 J- `6 L8 V( v/ N# O) _$ [
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
) r' h. J2 B! t8 y8 E install-cni:
8 `7 K3 t) O9 r. f1 f! J Container ID:
: O8 |% H* ?$ c* Z" M; |0 [) B Image: docker.io/calico/cni:v3.18.6
0 N8 |! L* \6 J. \* F0 c% _8 D Image ID:
$ E% g& g8 z, @8 a y' f Port: <none>
7 T9 Z4 C1 w7 S; Z& B3 N Host Port: <none>/ G3 ]+ |/ b6 Z6 L3 |, r
Command:& J5 @/ \0 J7 R) n6 I- x
/opt/cni/bin/install
2 k: M, d$ n! R2 w, c3 p State: Waiting. x5 d+ Y2 {. P$ B* U' w, z. E
Reason: PodInitializing; S" X1 L# w/ s. J9 |1 }! s- d% o
Ready: False
9 Z. I, y0 d* Q7 Y; v Restart Count: 0
& V3 o" }0 @2 N- ]' a Environment Variables from:
" A; s4 l3 G8 W3 ~9 b- H& t- d kubernetes-services-endpoint ConfigMap Optional: true
T0 i! G6 ~/ @6 |' f Environment:
) j& C: x1 B5 A. R CNI_CONF_NAME: 10-calico.conflist
6 P- x# p' V# \- d3 m7 u) b) ` CNI_NETWORK_CONFIG: <set to the key 'cni_network_config' of config map 'calico-config'> Optional: false# Y$ _) |/ L$ Q% f: B) u7 Q
KUBERNETES_NODE_NAME: (v1:spec.nodeName)
2 j& L: z" m9 F% L( N CNI_MTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false& A+ b5 _- o( K0 |
SLEEP: false+ j6 ]. E# W7 b
Mounts:
* [2 m; k: T: x3 C, h# d /host/etc/cni/net.d from cni-net-dir (rw)
- \: G9 Y9 q8 {- L% L1 p /host/opt/cni/bin from cni-bin-dir (rw)" \* c6 ?/ Q8 g/ A5 ]6 W5 B- G
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
! j3 T9 ^/ p0 c) a flexvol-driver:
- K+ w) u3 E! { K' A8 h$ W Container ID:
4 u- b/ A6 {6 Z3 P' T; e2 F4 @ Image: docker.io/calico/pod2daemon-flexvol:v3.18.6$ `" f4 f- `" V* U# ?
Image ID:
0 ], ]/ _/ b; g% [1 Q( i# A7 Y- M# D s Port: <none>
C1 o. @2 L! ~% {8 ^" W Host Port: <none>. j8 V% w7 s8 n" y
State: Waiting" ~, O: p# `2 `, r
Reason: PodInitializing
X2 X1 b6 S. q. Q0 V Y Ready: False1 s5 z O. S f7 Y! q. A2 Q# `
Restart Count: 0' J5 D3 L6 y2 q
Environment: <none>- ^6 i9 ]8 `- ]) w3 ]7 x6 W
Mounts:
2 z( X4 t; P# f$ y- f1 Y# A* K /host/driver from flexvol-driver-host (rw): X3 _) w, @. T' v. s' I, A
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)# W _0 M8 z; e8 w/ b( K1 J
Containers:
5 e9 o2 c3 @) |# v calico-node:
8 c: j: W+ z2 k( v" c3 E* X Container ID:
. _% X" v. ~* a( M# b Image: docker.io/calico/node:v3.18.6
1 H: R- o6 b( h9 t: i Image ID: 3 `% d& O" g& X
Port: <none>
" \3 z/ ~1 J, R5 q! F% H* t Host Port: <none>, J6 f3 i& m7 X* Y' N9 t& _/ L
State: Waiting b* x K- W9 r9 a- K2 m
Reason: PodInitializing' ^2 V, o8 C& D/ i
Ready: False
, J( P- N" @, B' c Restart Count: 0
$ C' O% u% |3 f4 T" z Requests:
, R/ X) |1 ]$ t5 x4 p$ p3 C* y cpu: 250m' c: x0 w, k+ m1 S$ n" g
Liveness: exec [/bin/calico-node -felix-live -bird-live] delay=10s timeout=1s period=10s #success=1 #failure=6
, Q( h9 A/ H! n" t/ V( I4 ~ Readiness: exec [/bin/calico-node -felix-ready -bird-ready] delay=0s timeout=1s period=10s #success=1 #failure=3
) q5 G. m/ Y, H" l Environment Variables from:: Z2 n t" V7 N7 R }) u
kubernetes-services-endpoint ConfigMap Optional: true
( P2 w8 A9 k8 E' v Z" ?' V1 r Environment:5 k, W2 g& ]8 o2 p. c/ f, Q! f
DATASTORE_TYPE: kubernetes$ \1 }% ?6 i" n1 H, L8 W
WAIT_FOR_DATASTORE: true
" o) T# ?- u s5 f& C NODENAME: (v1:spec.nodeName)% T* J3 Q5 T9 Y! y3 H: n
CALICO_NETWORKING_BACKEND: <set to the key 'calico_backend' of config map 'calico-config'> Optional: false
' U, {* s' P3 d4 B8 P5 B CLUSTER_TYPE: k8s,bgp
4 r! \# M6 Z( r IP: autodetect
+ K+ W3 p/ E3 t1 s CALICO_IPV4POOL_IPIP: Always! Q5 [0 U" i G( D# |3 X5 z
CALICO_IPV4POOL_VXLAN: Never
; {$ m6 g9 ?8 v FELIX_IPINIPMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false! g+ H1 E4 B( q( h1 L0 h
FELIX_VXLANMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false" ^9 J" _, E) q( ]3 ?' O) Y" I3 y, T7 @0 k
FELIX_WIREGUARDMTU: <set to the key 'veth_mtu' of config map 'calico-config'> Optional: false9 Q3 }, D- E$ {# b) J
CALICO_DISABLE_FILE_LOGGING: true: R+ N# ~6 _! g* B: V) n8 [
FELIX_DEFAULTENDPOINTTOHOSTACTION: ACCEPT. _$ Z; J- J$ C$ T" E& \* I' Q
FELIX_IPV6SUPPORT: false
. L/ \7 C# J0 |( R0 s. Q FELIX_LOGSEVERITYSCREEN: info
+ Y. H2 |# T! W FELIX_HEALTHENABLED: true7 Q+ Q) f* `+ r/ A3 f% N. ]
Mounts:; N5 B8 c( h& I% S q# A* F
/lib/modules from lib-modules (ro)+ b0 @7 f4 L s& g! C# P
/run/xtables.lock from xtables-lock (rw)4 a5 Q$ y6 ?8 M- @5 D
/sys/fs/ from sysfs (rw)6 U; U1 ~1 ? u- n! s+ }% ~
/var/lib/calico from var-lib-calico (rw)
- P; g8 x* ]8 j& J) {+ ?" O# M /var/log/calico/cni from cni-log-dir (ro)
1 ~" O1 Q' G" |" d' V9 ~# t; } /var/run/calico from var-run-calico (rw)
9 F. r. i5 A) h+ [7 d- i /var/run/nodeagent from policysync (rw)
2 g# ^4 ]8 j- x) n: B /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-5zp5k (ro)
, W/ {0 l$ v% E4 V; B( cConditions:* P' u: h/ |) A, P: m1 H
Type Status
Y- w w' p1 ^: d1 t PodReadyToStartContainers True
4 a! W7 D+ X" B+ q7 u* F Initialized False
7 T& l3 d+ j. _% F! z) G Ready False
1 ]* i2 j/ |$ d' k( y* w ContainersReady False
3 {9 e( i! J; i2 B% I PodScheduled True ! n4 | S9 ~& Z/ g) b7 L% s
Volumes:
+ W6 E0 K# W3 _4 | lib-modules:- l$ I1 D4 o- _7 {
Type: HostPath (bare host directory volume)
$ q9 c& V; S% O: T5 v; _7 }1 L5 v Path: /lib/modules. h: x( e4 g8 }
HostPathType: - Q8 f; R0 c8 `& g% e) t+ a6 o4 H
var-run-calico:
7 L! D# N, l4 Z& T3 i( S Type: HostPath (bare host directory volume)
7 P! S) }; V! r4 M# x Path: /var/run/calico# r' i. ^) i4 t
HostPathType:
% k j- k: Z5 u2 S" N6 @ var-lib-calico:" `2 t6 G4 L0 ?/ c: @
Type: HostPath (bare host directory volume)0 E: V+ Z P7 s# n1 T
Path: /var/lib/calico
$ h2 p# p9 O9 @1 z4 \! r$ q0 v" C HostPathType:
" F' A8 K2 g9 W5 G" j; R1 U xtables-lock:- u8 w5 R. v0 c. q1 J
Type: HostPath (bare host directory volume)
: o7 A4 H9 d5 e; g5 ~7 K Path: /run/xtables.lock
4 s: t- _4 e0 N+ S1 O% K1 s) x' ~ HostPathType: FileOrCreate, M3 Q: M' q: f7 y4 V" O
sysfs:
1 L( v# h. o2 m Type: HostPath (bare host directory volume)8 b0 y# q1 h! G. U3 ~) J) P2 u& ], C
Path: /sys/fs/; T* X, H, Q0 o1 `# X
HostPathType: DirectoryOrCreate
. Z5 `+ N$ J' E/ R8 u( Z$ E3 n& C cni-bin-dir:
+ y+ @% j6 ?0 D$ ~8 k0 U: d! D4 d Type: HostPath (bare host directory volume)
+ C8 M% X$ E% Y$ a: U7 _4 X X Path: /opt/cni/bin
$ r( i* u8 ~' K$ ~3 R* Y& g HostPathType: " t6 c' C9 Y- `: G S
cni-net-dir:
% ^" S- I- q* N Y. s Type: HostPath (bare host directory volume) e7 m, S" m/ Q' N$ X1 j
Path: /etc/cni/net.d
- [) ?, C" R7 s2 _; l HostPathType:
3 @) ?9 d) A& u5 ^$ O cni-log-dir:
* I* g2 L% u) F2 J4 f2 y Type: HostPath (bare host directory volume)3 q- {( |8 N7 Q+ S- H& y3 k
Path: /var/log/calico/cni7 c) E W0 K! [7 X* h. m' a7 s' v- |
HostPathType: 1 T5 F& a7 \/ Y- t
host-local-net-dir:. z" p' O" O0 p* O3 N
Type: HostPath (bare host directory volume)1 m; g, J8 C' Z/ [( O
Path: /var/lib/cni/networks9 n4 x* \& h P
HostPathType:
) _1 ]9 m( [5 h* Z9 c/ r policysync:+ O6 ?6 B" L; s' U' \: V( @9 y
Type: HostPath (bare host directory volume); k' |) n/ Z2 q4 }8 ?$ q8 T1 L
Path: /var/run/nodeagent
3 t$ n: T) f8 n2 h9 i HostPathType: DirectoryOrCreate2 l% I3 G2 E% s0 \! `- |0 [* g
flexvol-driver-host:3 }+ e" O% J5 [
Type: HostPath (bare host directory volume)
* J& r' S0 H" N: e, G1 K5 H! Z Path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds0 ?6 g# ^9 C) }& @5 L
HostPathType: DirectoryOrCreate* n, O) u% [8 r6 o+ `
kube-api-access-5zp5k:
1 W0 T1 W- ?3 h" h Type: Projected (a volume that contains injected data from multiple sources)
/ q! @: r' h& j2 k) H3 z, @ TokenExpirationSeconds: 3607
, U% I W8 H, d ConfigMapName: kube-root-ca.crt
9 |+ q) J k2 B4 O* @! P) K: I ConfigMapOptional: <nil>" [( j# r l$ |+ e
DownwardAPI: true& B N: {+ {5 z$ f
QoS Class: Burstable
5 ~- @3 ]' n$ q/ m; p) nNode-Selectors: kubernetes.io/os=linux
8 o5 ~+ {9 X {- v2 S, @* f# BTolerations: :NoSchedule op=Exists& S: F7 ?6 ?; x* C8 G) b+ ^
:NoExecute op=Exists
3 K; Y2 @. z( T' P% n* w% U+ c CriticalAddonsOnly op=Exists
9 e9 Y. P7 F& n5 w4 d node.kubernetes.io/disk-pressure:NoSchedule op=Exists# G1 ?1 G( H2 A4 R* S- g
node.kubernetes.io/memory-pressure:NoSchedule op=Exists" R: c+ @) x: v1 M6 Y; g# G
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
* ?. l/ j% c6 W; U7 Q node.kubernetes.io/not-ready:NoExecute op=Exists
R/ ^" ]) Q; ? node.kubernetes.io/pid-pressure:NoSchedule op=Exists7 e \& k X1 |6 z P* [" K/ j
node.kubernetes.io/unreachable:NoExecute op=Exists
! E% ?2 K4 }# _! L7 W% q2 p3 k, X node.kubernetes.io/unschedulable:NoSchedule op=Exists
# r+ F" F: ?: g2 g$ a! K# l dEvents:
& U' n5 I7 T6 k/ a( l Type Reason Age From Message
& e k4 y- X& }9 v; {; \& j ---- ------ ---- ---- -------
- V2 C/ d+ H. _ 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
, J `# l7 k0 r* D6 i5 q Normal BackOff 4m43s (x4360 over 21h) kubelet Back-off pulling image "docker.io/calico/cni:v3.18.6"" Y/ {* w! _9 ^3 j, n
|
|