在OpenStack中的Ubuntu VM上,我按照this link的步骤进行了操作 安装Kubernetes。
运行以下命令时,只有主人起床但没有 奴才。这与OpenStack中的VT-x有关吗?
请给我一些线索。
终端输出:
root@stratos:~/kubernetes/cluster# KUBERNETES_PROVIDER=ubuntu ./kube-down.sh
Bringing down cluster using provider: ubuntu
Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
FLANNEL_NET
172.16.0.0/16
Cleaning on node 127.0.0.1
9910
etcd stop/waiting
Connection to 127.0.0.1 closed.
Done
root@stratos:~/kubernetes/cluster# KUBERNETES_PROVIDER=ubuntu ./kube-up.sh
Starting cluster using provider: ubuntu
... calling verify-prereqs
Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa)
... calling kube-up
FLANNEL_NET
172.16.0.0/16
Deploying master and minion on machine 127.0.0.1
etcd start/running, process 23263
Connection to 127.0.0.1 closed.
Validating master
Validating root@127.0.0.1
Kubernetes cluster is running. The master is running at:
http://127.0.0.1
FLANNEL_NET
172.16.0.0/16
Using master 127.0.0.1
Wrote config for ubuntu to /root/.kube/config
... calling validate-cluster
Waiting for 2 ready nodes. 1 ready nodes, 1 registered. Retrying.
Waiting for 2 ready nodes. 1 ready nodes, 1 registered. Retrying.
Waiting for 2 ready nodes. 1 ready nodes, 1 registered. Retrying.
答案 0 :(得分:0)
我开始知道我们不能在同一台机器或VM上创建两个小兵,所以我已经成功安装了kubernetes master和一个minion。