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