blob: 2a0ba7463c5a5612e8bf59f6d3aa16f9203a2644 [file] [log] [blame]
parameters:
_param:
kubernetes_control_node01_hostname: kct01
kubernetes_control_node02_hostname: kct02
kubernetes_control_node03_hostname: kct03
kubernetes_control_node01_deploy_address: ${_param:kubernetes_control_node01_address}
kubernetes_control_node02_deploy_address: ${_param:kubernetes_control_node02_address}
kubernetes_control_node03_deploy_address: ${_param:kubernetes_control_node03_address}
kubernetes_control_system_codename: xenial
reclass:
storage:
node:
kubernetes_control_node01:
name: ${_param:kubernetes_control_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node01_address}
deploy_address: ${_param:kubernetes_control_node01_deploy_address}
keepalived_vip_priority: 103
opencontrail_database_id: 1
opencontrail_node_role: primary
rabbitmq_cluster_role: master
kubernetes_control_node02:
name: ${_param:kubernetes_control_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node02_address}
deploy_address: ${_param:kubernetes_control_node02_deploy_address}
keepalived_vip_priority: 102
opencontrail_database_id: 2
opencontrail_node_role: secondary
rabbitmq_cluster_role: slave
kubernetes_control_node03:
name: ${_param:kubernetes_control_node03_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.kubernetes.control
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:kubernetes_control_system_codename}
single_address: ${_param:kubernetes_control_node03_address}
deploy_address: ${_param:kubernetes_control_node03_deploy_address}
keepalived_vip_priority: 101
opencontrail_database_id: 3
opencontrail_node_role: secondary
rabbitmq_cluster_role: slave