- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
[root@k8s-master ~]# kubeadm reset --v=5 --cri-socket=unix:///var/run/cri-dockerd.sock --ignore-preflight-errors=... 6 ~* t+ T3 w! m+ A5 J+ }
I1231 22:10:13.956939 4733 envvar.go:172] "Feature gate default state" feature="ClientsAllowCBOR" enabled=false2 u5 y* P& {3 B2 ^4 @, w
I1231 22:10:13.957052 4733 envvar.go:172] "Feature gate default state" feature="ClientsPreferCBOR" enabled=false
( d1 A/ g+ I8 } w) y& c4 ?0 ]( H; ?I1231 22:10:13.957081 4733 envvar.go:172] "Feature gate default state" feature="InformerResourceVersion" enabled=false
# e* }/ V, V' }* _I1231 22:10:13.957105 4733 envvar.go:172] "Feature gate default state" feature="WatchListClient" enabled=false
4 m' ^5 q6 e" k/ yI1231 22:10:13.958189 4733 reset.go:140] [reset] Loaded client set from kubeconfig file: /etc/kubernetes/admin.conf
4 O" g" g2 N3 N G[reset] Reading configuration from the "kubeadm-config" ConfigMap in namespace "kube-system"...9 e. k7 u7 [, ]) m8 E1 C
[reset] Use 'kubeadm init phase upload-config --config your-config.yaml' to re-upload it.
2 G7 c- n' ^! h+ @* ]5 R0 U* YI1231 22:10:13.987152 4733 kubeproxy.go:55] attempting to download the KubeProxyConfiguration from ConfigMap "kube-proxy"' P/ ]3 c' t" {/ l7 N Q$ B
I1231 22:10:13.996160 4733 kubelet.go:74] attempting to download the KubeletConfiguration from ConfigMap "kubelet-config"
1 Z* @8 I8 o( z5 j. b. y3 zI1231 22:10:14.016090 4733 cert_rotation.go:140] Starting client certificate rotation controller2 f! d$ F# `, P
W1231 22:10:14.056437 4733 preflight.go:56] [reset] WARNING: Changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.
/ Y8 r2 j4 b& e8 \- E# p[reset] Are you sure you want to proceed? [y/N]: y
4 M) e9 M- R5 l[preflight] Running pre-flight checks# M$ U5 C$ h! q+ @' b/ v
I1231 22:10:17.885878 4733 removeetcdmember.go:60] [reset] Checking for etcd config# Z; D5 d5 {4 R
I1231 22:10:17.885933 4733 local.go:94] [etcd] creating etcd client that connects to etcd pods
M0 \9 H: R9 ZI1231 22:10:17.885997 4733 etcd.go:215] retrieving etcd endpoints from "kubeadm.kubernetes.io/etcd.advertise-client-urls" annotation in etcd Pods
+ N: u, ?. l& E& ^I1231 22:10:17.892577 4733 etcd.go:149] etcd endpoints read from pods: https://192.168.8.190:2379+ W& i# u& R/ r( Z/ z
I1231 22:10:17.926126 4733 etcd.go:274] etcd endpoints read from etcd: https://192.168.8.190:2379
" r, k5 ~( x: lI1231 22:10:17.926169 4733 etcd.go:167] update etcd endpoints: https://192.168.8.190:2379/ V E9 u. T( h% }1 s! F V; @
I1231 22:10:17.950985 4733 local.go:110] [etcd] This is the only remaining etcd member in the etcd cluster, skip removing it
% P }$ q: c9 c( u[reset] Deleted contents of the etcd data directory: /var/lib/etcd) }0 s# `/ _( ]: \2 d2 D
I1231 22:10:17.951626 4733 cleanupnode.go:65] [reset] Getting init system7 W: g- A: n& | q3 v( J% f
[reset] Stopping the kubelet service- @% U& P. K0 s- ^- A/ Q
[reset] Unmounting mounted directories in "/var/lib/kubelet"2 S/ r. o, \) }5 S$ f; O
I1231 22:10:18.002240 4733 unmount_linux.go:72] [reset] Unmounting "/var/lib/kubelet/pods/79a6bb09-1c6b-4b62-90ae-6baafcc5ff78/volumes/kubernetes.io~projected/kube-api-access-2gnmv"
' {8 ?9 M6 [3 N1 D) D0 zI1231 22:10:18.005902 4733 cleanupnode.go:103] [reset] Removing Kubernetes-managed containers" Y, ^* H# R4 D+ b; y0 R
I1231 22:10:18.019561 4733 runtime.go:142] Attempting to remove container b0d854b20b57b922423d50168d30e0885573087bef0b2bb13248e1d309784bac9 w5 a) x9 J$ Y# ?- V* b+ ]0 ]
I1231 22:10:18.287443 4733 runtime.go:142] Attempting to remove container ef43a1e54c62f838232ddb82699aab7d12436cff1e68de564479ee9a02220d04
2 c! k5 x% f- c% ], |' |I1231 22:10:18.544023 4733 runtime.go:142] Attempting to remove container c80c7ef23e4af24b2b714963419e5ae27a75ddf811f93bc4a96ee59229626dcb0 i8 S) D; _7 I9 z
I1231 22:10:18.801848 4733 runtime.go:142] Attempting to remove container 6818fca85e063f92a365c493cc1895656aced93722afc2046dcf4e16164519048 Q# t9 p- A; r% c! J
I1231 22:10:19.074257 4733 runtime.go:142] Attempting to remove container cae358d36a25db438f6470cfc82fb6a7e6931e9cf5de374540cf6cf2c7bc3190
, L1 H* h9 D6 M8 c0 ^$ a[reset] Deleting contents of directories: [/etc/kubernetes/manifests /var/lib/kubelet /etc/kubernetes/pki]/ v+ H& f7 Q, x5 q% T, d
[reset] Deleting files: [/etc/kubernetes/admin.conf /etc/kubernetes/super-admin.conf /etc/kubernetes/kubelet.conf /etc/kubernetes/bootstrap-kubelet.conf /etc/kubernetes/controller-manager.conf /etc/kubernetes/scheduler.conf]9 i) u3 }/ t' L! |0 h# y
0 U* A o2 L8 s+ c8 OThe reset process does not clean CNI configuration. To do so, you must remove /etc/cni/net.d
, g: L9 Y7 }8 H/ ?, v8 d* X1 w
: p/ x% D" @/ f9 Z* JThe reset process does not reset or clean up iptables rules or IPVS tables.
2 I, y% w _- m+ {If you wish to reset iptables, you must do so manually by using the "iptables" command.
5 O& Y( Q! o% C+ K( i1 O% B7 R1 h. w6 e+ @1 B6 y: ^
If your cluster was setup to utilize IPVS, run ipvsadm --clear (or similar) Y* Y0 g0 ]! o3 H
to reset your system's IPVS tables.' x+ c! t* d6 W4 ?" j% |9 g
9 Z2 N+ f% S; P( _) x7 B- qThe reset process does not clean your kubeconfig files and you must remove them manually./ [- y* s4 O) M$ [5 |1 w- e0 L
Please, check the contents of the $HOME/.kube/config file.
6 C/ I' ~; |, J L* H% Z2 @" A& p/ V. ^* k( Z6 ]: f: q& ~ ?
|
|