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