We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文档版本 k8s-v1.20.9
现象描述 [root@k8s-master01 api-server-certs]# systemctl status kube-controller-manager -l ● kube-controller-manager.service - Kubernetes Controller Manager Loaded: loaded (/usr/lib/systemd/system/kube-controller-manager.service; disabled; vendor preset: disabled) Active: active (running) since 一 2022-04-11 14:56:42 CST; 14min ago Docs: https://github.com/kubernetes/kubernetes Main PID: 78472 (kube-controller) CGroup: /system.slice/kube-controller-manager.service └─78472 /opt/kubernetes/bin/kube-controller-manager --logtostderr=false --v=2 --log-dir=/opt/kubernetes/logs --leader-elect=true --master=127.0.0.1:8080 --bind-address=127.0.0.1 --allocate-node-cidrs=true --cluster-cidr=10.244.0.0/16 --service-cluster-ip-range=10.0.0.0/24 --cluster-signing-cert-file=/opt/kubernetes/ssl/ca.pem --cluster-signing-key-file=/opt/kubernetes/ssl/ca-key.pem --root-ca-file=/opt/kubernetes/ssl/ca.pem --service-account-private-key-file=/opt/kubernetes/ssl/ca-key.pem --experimental-cluster-signing-duration=87600h0m0s
4月 11 15:10:40 k8s-master01 kube-controller-manager[78472]: E0411 15:10:40.797850 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:44 k8s-master01 kube-controller-manager[78472]: E0411 15:10:44.412351 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:48 k8s-master01 kube-controller-manager[78472]: E0411 15:10:48.514289 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:50 k8s-master01 kube-controller-manager[78472]: E0411 15:10:50.936635 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:53 k8s-master01 kube-controller-manager[78472]: E0411 15:10:53.922466 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:56 k8s-master01 kube-controller-manager[78472]: E0411 15:10:56.202359 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:10:58 k8s-master01 kube-controller-manager[78472]: E0411 15:10:58.755454 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:11:03 k8s-master01 kube-controller-manager[78472]: E0411 15:11:03.005605 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:11:05 k8s-master01 kube-controller-manager[78472]: E0411 15:11:05.531822 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused 4月 11 15:11:08 k8s-master01 kube-controller-manager[78472]: E0411 15:11:08.848887 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused [root@k8s-master01 api-server-certs]# ll
The text was updated successfully, but these errors were encountered:
No branches or pull requests
文档版本
k8s-v1.20.9
现象描述
[root@k8s-master01 api-server-certs]# systemctl status kube-controller-manager -l
● kube-controller-manager.service - Kubernetes Controller Manager
Loaded: loaded (/usr/lib/systemd/system/kube-controller-manager.service; disabled; vendor preset: disabled)
Active: active (running) since 一 2022-04-11 14:56:42 CST; 14min ago
Docs: https://github.com/kubernetes/kubernetes
Main PID: 78472 (kube-controller)
CGroup: /system.slice/kube-controller-manager.service
└─78472 /opt/kubernetes/bin/kube-controller-manager --logtostderr=false --v=2 --log-dir=/opt/kubernetes/logs --leader-elect=true --master=127.0.0.1:8080 --bind-address=127.0.0.1 --allocate-node-cidrs=true --cluster-cidr=10.244.0.0/16 --service-cluster-ip-range=10.0.0.0/24 --cluster-signing-cert-file=/opt/kubernetes/ssl/ca.pem --cluster-signing-key-file=/opt/kubernetes/ssl/ca-key.pem --root-ca-file=/opt/kubernetes/ssl/ca.pem --service-account-private-key-file=/opt/kubernetes/ssl/ca-key.pem --experimental-cluster-signing-duration=87600h0m0s
4月 11 15:10:40 k8s-master01 kube-controller-manager[78472]: E0411 15:10:40.797850 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:44 k8s-master01 kube-controller-manager[78472]: E0411 15:10:44.412351 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:48 k8s-master01 kube-controller-manager[78472]: E0411 15:10:48.514289 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:50 k8s-master01 kube-controller-manager[78472]: E0411 15:10:50.936635 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:53 k8s-master01 kube-controller-manager[78472]: E0411 15:10:53.922466 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:56 k8s-master01 kube-controller-manager[78472]: E0411 15:10:56.202359 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:10:58 k8s-master01 kube-controller-manager[78472]: E0411 15:10:58.755454 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:11:03 k8s-master01 kube-controller-manager[78472]: E0411 15:11:03.005605 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:11:05 k8s-master01 kube-controller-manager[78472]: E0411 15:11:05.531822 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
4月 11 15:11:08 k8s-master01 kube-controller-manager[78472]: E0411 15:11:08.848887 78472 leaderelection.go:325] error retrieving resource lock kube-system/kube-controller-manager: Get "http://127.0.0.1:8080/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=10s": dial tcp 127.0.0.1:8080: connect: connection refused
[root@k8s-master01 api-server-certs]# ll
The text was updated successfully, but these errors were encountered: