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

[question] kubelet start error when Specify parameters --docker-endpoint #711

Closed
leason00 opened this issue Oct 18, 2022 · 5 comments
Closed
Labels
kind/question Support request or question relating to Koordinator
Milestone

Comments

@leason00
Copy link
Contributor

What happened:
kubelet start error:
Oct 18 16:23:06 qabb-qa-k8s-qa-iaas-u01-node1 kubelet[889296]: I1018 16:23:06.894635 889296 container_manager_linux.go:306] Creating device plugin manager: true
Oct 18 16:23:06 qabb-qa-k8s-qa-iaas-u01-node1 kubelet[889296]: I1018 16:23:06.894651 889296 manager.go:133] Creating Device Plugin manager at /var/lib/kubelet/device-plugins/kubelet.sock
Oct 18 16:23:06 qabb-qa-k8s-qa-iaas-u01-node1 kubelet[889296]: I1018 16:23:06.894731 889296 client.go:75] Connecting to docker on /var/run/koord-runtimeproxy/runtimeproxy.sock
Oct 18 16:23:06 qabb-qa-k8s-qa-iaas-u01-node1 kubelet[889296]: F1018 16:23:06.894741 889296 client.go:90] Couldn't connect to docker: unable to parse docker host /var/run/koord-runtimeproxy/runtimeproxy.sock

koord-runtime-proxy start log:
Oct 18 16:18:04 qabb-qa-k8s-qa-iaas-u01-node1 koord-runtime-proxy[881037]: I1018 16:18:04.422563 881037 config_manager.go:101] add new watching file /etc/runtime/hookserver.d/koordlet.json with inode number 34616742
Oct 18 16:18:04 qabb-qa-k8s-qa-iaas-u01-node1 koord-runtime-proxy[881037]: I1018 16:18:04.423804 881037 config_manager.go:175] update config for /etc/runtime/hookserver.d/koordlet.json &{/var/run/koordlet//koordlet.sock Ignore [PreUpdateContainerResources PreRunPodSandbox PreCreateContainer]}

Start command:
/usr/local/bin/kubelet $KUBELET_ARGS --docker-endpoint=/var/run/koord-runtimeproxy/runtimeproxy.sock

koord-runtime-proxy --backend-runtime-mode=Docker --remote-runtime-service-endpoint=/var/run/docker.sock
What you expected to happen:
no error
Environment:

  • Koordinator version: - v0.7.0
  • Kubernetes version (use kubectl version): v1.18.19
  • docker/containerd version: docker 18.09.9
  • OS (e.g: cat /etc/os-release): CentOS Linux 7 (Core)
  • Kernel (e.g. uname -a): Linux qabb-qa-k8s-qa-iaas-u01-node1 4.19.0-6.el7.ucloud.x86_64 ✨ Add NodeMetric API #1 SMP Wed Feb 12 07:32:16 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Anything else we need to know:

@leason00 leason00 added the kind/question Support request or question relating to Koordinator label Oct 18, 2022
@hormes
Copy link
Member

hormes commented Oct 18, 2022

Try to use the following way to start kubelet

/usr/local/bin/kubelet $KUBELET_ARGS --docker-endpoint=unix:///var/run/koord-runtimeproxy/runtimeproxy.sock

@leason00
Copy link
Contributor Author

Try to use the following way to start kubelet

/usr/local/bin/kubelet $KUBELET_ARGS --docker-endpoint=unix:///var/run/koord-runtimeproxy/runtimeproxy.sock

It works, thx!

@leason00
Copy link
Contributor Author

@hormes koordinator-sh/website#87 Correction document

@jasonliu747 jasonliu747 added this to the v1.0 milestone Oct 20, 2022
@jasonliu747
Copy link
Member

/close

@koordinator-bot
Copy link

@jasonliu747: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Support request or question relating to Koordinator
Projects
None yet
Development

No branches or pull requests

3 participants