重命名okd群集的主服务器的最佳方法是什么?

时间:2018-12-28 08:08:34

标签: openshift openshift-origin okd

我们正在运行群集“ 单个主节点和多个节点”(在https://docs.okd.io/latest/install/index.html#multi-masters-using-native-ha-colocated中)。我们将服务器称为oomaster1,oonode1和oonode2。

我想有一天添加其他主机,我认为第一步是添加VIP oomaster,现在仅指向oomaster1,然后将群集(当前为oomaster1)重命名为oomaster。

最好的进行方式是什么?我的意思是,我可以停止所有与okd相关的服务,并在/ etc / origin和/ etc / etcd中的每个文件中用oomaster(及其地址)替换oomaster1(及其地址),然后重新启动服务。但我想它更复杂...

预先感谢您的建议

1 个答案:

答案 0 :(得分:1)

我认为您应该用配置为新cluster的新master替换现有的nodesclusterhostname),因为{{ 1}}和master部署了基于nodes certificates的各种master,用于加密通信和身份验证。而且我不知道现有的hostname主机名是否可以更改。

相关问题