"openshift_master_cluster_method=native" 是什么意思?

What's the meaning of "openshift_master_cluster_method=native"?

我正在编写清单文件以使用 ansible 剧本部署 openshift 集群。在阅读一些示例时,我遇到了变量 openshift_master_cluster_method=native。用来说明聚类的方法,但不知道native和其他方法是什么,它们有什么不同。

openshift_master_cluster_method=原生

为便于说明,此处提供了更多信息。有关详细信息,请参阅 Modifying the Ansible Inventorynative 是最新版本中 HA 的唯一选项,但 pacemaker 在旧版本中可作为 HA 的选项使用。

HA选项对比如下

  • Native : 这意味着通常的负载平衡器方法,只有这个选项 可以用于 HA 最近的版本(也许......超过 v3.5 ?).
# Native high availability cluster method with optional load balancer.
# If no lb group is defined, the installer assumes that a load balancer has
# been preconfigured. For installation the value of
# openshift_master_cluster_hostname must resolve to the load balancer
# or to one or all of the masters defined in the inventory if no load
# balancer is present.
openshift_master_cluster_method=native
  • Pacemaker : HA 的 VIP 解决方案。
# Pacemaker high availability cluster method.
# Pacemaker HA environment must be able to self provision the
# configured VIP. For installation openshift_master_cluster_hostname
# must resolve to the configured VIP.
#openshift_master_cluster_method=pacemaker

希望对你有所帮助。 :)