简体   繁体   English

Kubernetes集群创建问题

[英]Kubernetes cluster creating issues

Here I'm was using kubernetes for create the cluster manage with all my containers,Now i have some issues on that - I'm using this command to install kubernetes:- 在这里我正在使用kubernetes来创建我所有容器的集群管理,现在我遇到了一些问题-我正在使用此命令来安装kubernetes:-

# dnf install docker cockpit cockpit-docker cockpit-kubernetes kubernetes etcd kubeadm -y
# docker version
# docker-ce-17.09.0.ce-1.fc26

This is my current status on kubernetes & docker. 这是我在kubernetes和docker上的当前状态。

图片

图片

图片

图片

图片

This My current Status in the kubernetes cluster When I Initialized Kubernetes Cluster have this kind of error 我初始化Kubernetes集群时,我在kubernetes集群中的当前状态有这种错误

图片

I did use below URL for deploy three node cluster. 我确实使用下面的URL部署了三个节点群集。 https://blog.alexellis.io/kubernetes-in-10-minutes/ https://blog.alexellis.io/kubernetes-in-10-minutes/

Note: if you want to start only single node cluster, then run taint command as per describe in above URL on master node so container can launch on master node also and if you want to run worker node separately then launch separate vm/vms and run command from start to till swapoff command then join vm to master. 注意:如果您只想启动单节点集群,请按照上述URL在主节点上运行taint命令,以便容器也可以在主节点上启动;如果要单独运行辅助节点,则启动单独的vm / vms并运行命令从头到尾直到swapoff命令,然后将vm加入master。

I think you have missed a step in this link . 我认为您错过了此链接中的步骤。

You seem to have not created a Pod network Add-on , create a local pod network such as flannel etc. 您似乎尚未创建Pod网络附加组件 ,尚未创建本地法兰网(例如法兰绒等)。

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

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