Skip to content
New issue

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

secret "harbor-secret" not found in kubelet status log. #25

Open
huangxuelun opened this issue Dec 19, 2021 · 2 comments
Open

secret "harbor-secret" not found in kubelet status log. #25

huangxuelun opened this issue Dec 19, 2021 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@huangxuelun
Copy link

kube-install version: 0.7.4
k8s version: 1.23.0
OS: centOS 7.9
[root@master1 ~]# systemctl status kubelet -l
● kubelet.service - Kubernetes Kubelet
Loaded: loaded (/etc/systemd/system/kubelet.service; enabled; vendor preset: disabled)
Active: active (running) since 六 2021-12-18 20:25:32 EST; 39min ago
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Process: 1942 ExecStartPre=/usr/local/bin/resolvinit.sh (code=exited, status=0/SUCCESS)
Main PID: 1944 (kubelet)
Tasks: 15
Memory: 166.1M
CGroup: /system.slice/kubelet.service
└─1944 /usr/local/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/ssl/bootstrap.kubeconfig --root-dir=/opt/kube-install/k8s/kubernetes/kubelet --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin/ --cert-dir=/etc/kubernetes/ssl --kubeconfig=/etc/kubernetes/ssl/kubelet.kubeconfig --config=/etc/kubernetes/kubelet.config.json --hostname-override=192.168.5.80 --pod-infra-container-image=192.168.5.82:5000/pause-amd64:3.1 --alsologtostderr=true --logtostderr=false --root-dir=/opt/kube-install/k8s/kubernetes/kubelet --log-dir=/opt/kube-install/k8s/kubernetes/kubelet --v=2

12月 18 20:55:37 master1 kubelet[1944]: I1218 20:55:37.734862 1944 container_manager_linux.go:511] "Discovered runtime cgroup name" cgroupName="/system.slice/docker.service"
12月 18 20:55:40 master1 kubelet[1944]: I1218 20:55:40.576092 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 20:57:07 master1 kubelet[1944]: I1218 20:57:07.577009 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 20:58:31 master1 kubelet[1944]: I1218 20:58:31.580915 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 20:59:38 master1 kubelet[1944]: I1218 20:59:38.582701 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 21:00:37 master1 kubelet[1944]: I1218 21:00:37.736187 1944 container_manager_linux.go:511] "Discovered runtime cgroup name" cgroupName="/system.slice/docker.service"
12月 18 21:00:59 master1 kubelet[1944]: I1218 21:00:59.579739 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 21:02:03 master1 kubelet[1944]: I1218 21:02:03.576123 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 21:03:19 master1 kubelet[1944]: I1218 21:03:19.579010 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"
12月 18 21:04:33 master1 kubelet[1944]: I1218 21:04:33.578235 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"

@cloudnativer cloudnativer added bug Something isn't working question Further information is requested labels Dec 22, 2021
@houseonline
Copy link
Collaborator

houseonline commented Dec 22, 2021

"harbor-secret" not found" 12月 18 21:04:33 master1 kubelet[1944]: I1218 21:04:33.578235 1944 kubelet_pods.go:891] "Unable to retrieve pull secret, the image pull may not succeed." pod="kube-system/kube-dashboard-6d9bd6b985-7pptf" secret="" err="secret "harbor-secret" not found"

In our kubernetes cluster, the "harbor-secret" is not necessary.
This log can be ignored, and does not affect the normal use of kubernetes and kube-dashboard !

@cloudnativer
Copy link
Owner

cloudnativer commented Dec 22, 2021

Thank you for your feedback. We will remove the historical "harbor-secret" parameter in the next version. You can follow our roadmap: https://github.com/cloudnativer/kube-install/blob/master/docs/roadmap.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants