gpt4 book ai didi

ubuntu - Kubernetes master 正常,但 minions 不工作

转载 作者:太空宇宙 更新时间:2023-11-03 17:11:25 24 4
gpt4 key购买 nike

在 OpenStack 中的 Ubuntu VM 上,我已按照 this link 中的步骤进行操作安装 Kubernetes。

当运行下面的命令时只有master在起床而没有爪牙。这与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.

最佳答案

我了解到我们不能在同一台机器或 VM 上创建两个 minions,所以我成功安装了 kubernetes master 和一个 minion。

关于ubuntu - Kubernetes master 正常,但 minions 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36149528/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com