简体   繁体   English

kubelet-Docker容器通信如何发生?

[英]How kubelet - docker container communication happens?

I wondered about how kubelet communicates with docker containers. 我想知道kubelet如何与docker容器通信。 Where this configuration has defined? 此配置在哪里定义? I searched a lot but didn't find anything informative. 我进行了很多搜索,但没有发现任何有用的信息。 I am using https kube API server. 我正在使用https kube API服务器。 I am able to create pods but containers are not getting spawned ? 我可以创建吊舱,但不会产生容器吗? Any one knows what may be the cause ? 有人知道可能是什么原因吗? Thanks in advance. 提前致谢。

Kubelet talks to the docker daemon using the docker API over the docker socket. Kubelet在docker套接字上使用docker API与docker守护进程进行对话。 You can override this with --docker-endpoint= argument to the kubelet. 您可以使用--docker-endpoint=参数覆盖它。

Pods may not be being spwaned for any number of reasons. 出于多种原因,豆荚可能不会受到欢迎。 Check the logs of your scheduler, controller-manager and kubelet. 检查调度程序,控制器管理器和kubelet的日志。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM