Docker desktop kubernetes add node

给你一囗甜甜゛ 提交于 2020-01-24 23:14:11

问题


I running docker desktop with kubernetes option turned on. I have one node called docker-for-dektop. Now i have created a new ubuntu docker container. I want to add this container to my kubernetes cluster. Can be done? how can i do it?


回答1:


As far as I'm aware, you cannot add a node to Docker for Desktop with Kubernetes enabled.

Docker for Desktop is a single-node Kubernetes or Docker Swarm cluster, you might try using kubernetes-the-hard-way as this explains how to setup a cluster and add nodes manually without the use of kubeadm.

But I don't think this might work as there will be a lot of issues with setting up the network to work correctly.

You can also use the instructions on how to install kubeadm with kubelet and kubectl on Linux machine and adding a node using kubeadm join.



来源:https://stackoverflow.com/questions/54658194/docker-desktop-kubernetes-add-node

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!