Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 1 | classes: |
Victor Ryzhenkin | ea14470 | 2018-10-10 03:52:04 +0400 | [diff] [blame^] | 2 | - system.etcd.server.cluster |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 3 | - service.kubernetes.control.cluster |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 4 | - system.haproxy.proxy.listen.kubernetes.apiserver |
Victor Ryzhenkin | afeea29 | 2018-06-07 16:58:58 +0400 | [diff] [blame] | 5 | - system.keepalived.cluster.instance.kube_api_server_vip |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 6 | - system.linux.system.repo.docker_legacy |
| 7 | - system.salt.minion.cert.etcd_server |
| 8 | - system.kubernetes.master.cluster |
Victor Ryzhenkin | 97dbb87 | 2018-06-18 17:01:18 +0400 | [diff] [blame] | 9 | - system.kubernetes.master.auth.rbac |
Victor Ryzhenkin | b9e412e | 2018-05-29 20:07:19 +0400 | [diff] [blame] | 10 | - system.kubernetes.control.roles.cluster-admin |
Victor Ryzhenkin | 105ee21 | 2018-07-24 17:22:56 +0400 | [diff] [blame] | 11 | - system.kubernetes.control.roles.genie-pod-patch |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 12 | - cluster.k8s-ha-calico-flannel-virtlet.kubernetes.compute |
| 13 | - cluster.k8s-ha-calico-flannel-virtlet |
| 14 | parameters: |
| 15 | _param: |
Victor Ryzhenkin | afeea29 | 2018-06-07 16:58:58 +0400 | [diff] [blame] | 16 | keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface} |
| 17 | keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address} |
| 18 | keepalived_k8s_apiserver_vip_password: password |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 19 | etcd: |
| 20 | server: |
| 21 | bind: |
| 22 | host: ${_param:deploy_address} |
| 23 | source: |
| 24 | engine: docker_hybrid |
| 25 | ssl: |
| 26 | enabled: true |
| 27 | setup: |
| 28 | calico: |
| 29 | key: /calico/v1/ipam/v4/pool/${_param:calico_private_network}-${_param:calico_private_netmask} |
| 30 | value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}' |
| 31 | kubernetes: |
| 32 | common: |
| 33 | addons: |
| 34 | dashboard: |
| 35 | enabled: ${_param:kubernetes_dashboard} |
| 36 | image: ${_param:kubernetes_dashboard_image} |
| 37 | helm: |
| 38 | enabled: ${_param:kubernetes_helm_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 39 | netchecker: |
| 40 | enabled: ${_param:kubernetes_netchecker_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 41 | agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls} |
| 42 | dns: |
| 43 | enabled: ${_param:kubernetes_dns} |
| 44 | kubedns_image: ${_param:kubernetes_kubedns_image} |
| 45 | dnsmasq_image: ${_param:kubernetes_dnsmasq_image} |
| 46 | sidecar_image: ${_param:kubernetes_sidecar_image} |
| 47 | autoscaler: |
| 48 | image: ${_param:kubernetes_dns_autoscaler_image} |
| 49 | coredns: |
| 50 | enabled: ${_param:kubernetes_coredns_enabled} |
| 51 | externaldns: |
| 52 | enabled: ${_param:kubernetes_externaldns_enabled} |
| 53 | image: ${_param:kubernetes_externaldns_image} |
| 54 | provider: ${_param:kubernetes_externaldns_provider} |
Vladimir Jigulin | 7bc766b | 2018-07-17 14:42:36 +0400 | [diff] [blame] | 55 | metallb: |
| 56 | enabled: ${_param:kubernetes_metallb_enabled} |
| 57 | addresses: |
| 58 | - ${_param:kubernetes_metallb_addresses_pool} |
Vladimir Jigulin | b811418 | 2018-10-03 10:19:29 +0400 | [diff] [blame] | 59 | ingress-nginx: |
| 60 | enabled: ${_param:kubernetes_ingressnginx_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 61 | master: |
| 62 | kubelet: |
| 63 | address: ${_param:single_address} |
| 64 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 65 | etcd: |
| 66 | ssl: |
| 67 | enabled: true |
| 68 | network: |
| 69 | genie: |
| 70 | enabled: true |
| 71 | default_plugin: calico |
| 72 | image: ${_param:kubernetes_genie_image} |
| 73 | flannel: |
| 74 | enabled: true |
| 75 | private_ip_range: 10.20.0.0/16 |
| 76 | calico: |
| 77 | enabled: true |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 78 | image: ${_param:kubernetes_calico_image} |
| 79 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 80 | cni_image: ${_param:kubernetes_calico_cni_image} |
| 81 | kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 82 | etcd: |
| 83 | ssl: |
| 84 | enabled: true |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 85 | policy: |
| 86 | enabled: ${_param:kubernetes_calico_policy_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 87 | namespace: |
| 88 | netchecker: |
| 89 | enabled: true |