我已经用 rke ( rke up
) 初始化了一个 kubernetes 集群。
但是,当节点重新启动时,我必须rke up
再次执行以启动 kubelet 和 co。
这些服务有没有办法在节点上自动启动?
谢谢你的帮助。
我使用 rke v0.1.9。
操作系统是 Coreos Container Linux 1855.4.0。
我的 cluster.yml 是:
nodes:
- address: 198.19.210.32
user: core
role:
- controlplane
- etcd
- address: 198.19.210.33
user: core
role:
- worker
- address: 198.19.210.34
user: core
role:
- worker
labels:
app: ingress
# If set to true, RKE will not fail when unsupported Docker version are found
ignore_docker_version: true
# Enable use of SSH agent to use SSH private keys with passphrase
# This requires the environment `SSH_AUTH_SOCK` configured pointing to your SSH agent which has the private key added
ssh_agent_auth: true