kube-controller-manager-svc 存在异常
容器日志发现
Flag --port has been deprecated, This flag has no effect now and will be removed in v1.24.
I1021 15:26:30.340601 1 serving.go:347] Generated self-signed cert in-memory
failed to create listener: failed to listen on 0.0.0.0:10257: listen tcp 0.0.0.0:10257: bind: address already in use
lsof -i:10257
显示:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kube-cont 51311 root 7u IPv6 34957603 0t0 TCP *:10257 (LISTEN)
kube-cont 51311 root 9u IPv6 34965381 0t0 TCP iZ2zecce0ykwbw3lq1r51mZ:10257->worker1:37128 (ESTABLISHED)
kube-cont 51311 root 11u IPv6 34991948 0t0 TCP iZ2zecce0ykwbw3lq1r51mZ:10257->worker2:44478 (ESTABLISHED)
直接杀掉
kill 51311
然后 就可以了
欢迎来撩 : 汇总all