Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.etcd.server.cluster |
| 3 | - service.kubernetes.control.cluster |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 4 | - system.haproxy.proxy.listen.kubernetes.apiserver |
| 5 | - system.linux.system.repo.docker_legacy |
| 6 | - system.kubernetes.pool.cluster |
| 7 | - system.salt.minion.cert.k8s_client |
| 8 | - system.salt.minion.cert.etcd_client |
| 9 | - system.salt.minion.cert.etcd_server |
| 10 | - system.kubernetes.master.cluster |
Victor Ryzhenkin | c6a7718 | 2018-06-09 18:46:41 +0400 | [diff] [blame] | 11 | - system.kubernetes.control.roles.cluster-admin |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 12 | - cluster.k8s-ha-contrail-40.infra |
Svimba | 7fee673 | 2018-06-06 17:15:18 +0200 | [diff] [blame] | 13 | - cluster.overrides |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 14 | parameters: |
| 15 | _param: |
Svimba | 7294cfd | 2018-06-25 11:07:03 +0200 | [diff] [blame^] | 16 | keepalived_k8s_apiserver_vip_interface: ens4 |
| 17 | keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address} |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 18 | |
| 19 | linux: |
| 20 | network: |
| 21 | interface: |
| 22 | ens3: |
| 23 | enabled: true |
| 24 | type: eth |
| 25 | mtu: 1500 |
Svimba | ac98a67 | 2018-06-07 14:01:34 +0200 | [diff] [blame] | 26 | proto: dhcp |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 27 | ens4: |
| 28 | enabled: true |
| 29 | type: eth |
| 30 | mtu: 1500 |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 31 | netmask: '255.255.255.0' |
Svimba | b666ea9 | 2018-06-08 11:00:25 +0200 | [diff] [blame] | 32 | address: ${_param:single_address} |
| 33 | pre_up_cmds: |
| 34 | - ip addr flush dev ens4 |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 35 | etcd: |
| 36 | server: |
| 37 | bind: |
Svimba | 7fee673 | 2018-06-06 17:15:18 +0200 | [diff] [blame] | 38 | host: ${_param:single_address} |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 39 | source: |
| 40 | engine: docker_hybrid |
| 41 | ssl: |
| 42 | enabled: true |
Svimba | 1abc83c | 2018-06-14 10:14:36 +0200 | [diff] [blame] | 43 | docker: |
| 44 | host: |
| 45 | options: |
| 46 | bip: 172.31.255.1/24 |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 47 | kubernetes: |
| 48 | pool: |
| 49 | kubelet: |
| 50 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 51 | enabled: true |
| 52 | network: |
| 53 | engine: none |
| 54 | opencontrail: |
| 55 | enabled: false |
Svimba | b666ea9 | 2018-06-08 11:00:25 +0200 | [diff] [blame] | 56 | kube_proxy: |
| 57 | enabled: false |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 58 | common: |
| 59 | addons: |
| 60 | dashboard: |
| 61 | enabled: ${_param:kubernetes_dashboard} |
| 62 | image: ${_param:kubernetes_dashboard_image} |
| 63 | helm: |
| 64 | enabled: ${_param:kubernetes_helm_enabled} |
| 65 | netchecker: |
| 66 | enabled: ${_param:kubernetes_netchecker_enabled} |
| 67 | agent_image: ${_param:kubernetes_netchecker_agent_image} |
| 68 | server_image: ${_param:kubernetes_netchecker_server_image} |
| 69 | dns: |
| 70 | enabled: ${_param:kubernetes_dns} |
| 71 | kubedns_image: ${_param:kubernetes_kubedns_image} |
| 72 | dnsmasq_image: ${_param:kubernetes_dnsmasq_image} |
| 73 | sidecar_image: ${_param:kubernetes_sidecar_image} |
| 74 | autoscaler: |
| 75 | image: ${_param:kubernetes_dns_autoscaler_image} |
| 76 | coredns: |
| 77 | enabled: ${_param:kubernetes_coredns_enabled} |
| 78 | externaldns: |
| 79 | enabled: ${_param:kubernetes_externaldns_enabled} |
| 80 | image: ${_param:kubernetes_externaldns_image} |
| 81 | provider: ${_param:kubernetes_externaldns_provider} |
| 82 | hyperkube: |
| 83 | image: ${_param:kubernetes_hyperkube_image} |
| 84 | master: |
| 85 | kubelet: |
| 86 | address: ${_param:single_address} |
| 87 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 88 | etcd: |
| 89 | ssl: |
| 90 | enabled: true |
| 91 | network: |
| 92 | opencontrail: |
| 93 | enabled: true |
| 94 | version: 4.0 |
| 95 | host: ${_param:keepalived_vip_address} |
| 96 | port: 8082 |
| 97 | default_domain: default-domain |
| 98 | default_project: default-domain:default |
| 99 | public_network: default-domain:default:Public |
| 100 | public_ip_range: 185.22.97.128/26 |
| 101 | public_network: default-domain:default-project:Public |
| 102 | private_ip_range: 10.150.0.0/16 |
| 103 | network_manager: |
| 104 | image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager |
Svimba | b666ea9 | 2018-06-08 11:00:25 +0200 | [diff] [blame] | 105 | config: |
| 106 | api: |
| 107 | host: ${_param:keepalived_vip_address} |
Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame] | 108 | identity: |
| 109 | auth_user: admin |
| 110 | auth_password: contrail123 |
| 111 | auth_tenant: admin |
| 112 | message_queue: |
| 113 | host: ${_param:single_address} |
| 114 | database: |
| 115 | members: |
| 116 | - host: ${_param:kubernetes_control_node01_address} |
| 117 | port: 9161 |
| 118 | - host: ${_param:kubernetes_control_node02_address} |
| 119 | port: 9161 |
| 120 | - host: ${_param:kubernetes_control_node03_address} |
| 121 | port: 9161 |
| 122 | collector: |
| 123 | members: |
| 124 | - host: ${_param:kubernetes_control_node01_address} |
| 125 | - host: ${_param:kubernetes_control_node02_address} |
| 126 | - host: ${_param:kubernetes_control_node03_address} |