Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - service.etcd.server.cluster |
| 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 | b9e412e | 2018-05-29 20:07:19 +0400 | [diff] [blame] | 9 | - system.kubernetes.control.roles.cluster-admin |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 10 | - cluster.k8s-ha-calico-flannel-virtlet.kubernetes.compute |
| 11 | - cluster.k8s-ha-calico-flannel-virtlet |
| 12 | parameters: |
| 13 | _param: |
Victor Ryzhenkin | afeea29 | 2018-06-07 16:58:58 +0400 | [diff] [blame] | 14 | keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface} |
| 15 | keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address} |
| 16 | keepalived_k8s_apiserver_vip_password: password |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 17 | etcd: |
| 18 | server: |
| 19 | bind: |
| 20 | host: ${_param:deploy_address} |
| 21 | source: |
| 22 | engine: docker_hybrid |
| 23 | ssl: |
| 24 | enabled: true |
| 25 | setup: |
| 26 | calico: |
| 27 | key: /calico/v1/ipam/v4/pool/${_param:calico_private_network}-${_param:calico_private_netmask} |
| 28 | value: '{"masquerade":true,"cidr":"${_param:calico_private_network}/${_param:calico_private_netmask}"}' |
| 29 | kubernetes: |
| 30 | common: |
| 31 | addons: |
| 32 | dashboard: |
| 33 | enabled: ${_param:kubernetes_dashboard} |
| 34 | image: ${_param:kubernetes_dashboard_image} |
| 35 | helm: |
| 36 | enabled: ${_param:kubernetes_helm_enabled} |
| 37 | calico_policy: |
| 38 | enabled: ${_param:kubernetes_calico_policy_enabled} |
| 39 | image: ${_param:kubernetes_calico_policy_image} |
| 40 | netchecker: |
| 41 | enabled: ${_param:kubernetes_netchecker_enabled} |
| 42 | agent_image: ${_param:kubernetes_netchecker_agent_image} |
| 43 | server_image: ${_param:kubernetes_netchecker_server_image} |
| 44 | agent_probeurls: ${_param:kubernetes_netchecker_agent_probeurls} |
| 45 | dns: |
| 46 | enabled: ${_param:kubernetes_dns} |
| 47 | kubedns_image: ${_param:kubernetes_kubedns_image} |
| 48 | dnsmasq_image: ${_param:kubernetes_dnsmasq_image} |
| 49 | sidecar_image: ${_param:kubernetes_sidecar_image} |
| 50 | autoscaler: |
| 51 | image: ${_param:kubernetes_dns_autoscaler_image} |
| 52 | coredns: |
| 53 | enabled: ${_param:kubernetes_coredns_enabled} |
| 54 | externaldns: |
| 55 | enabled: ${_param:kubernetes_externaldns_enabled} |
| 56 | image: ${_param:kubernetes_externaldns_image} |
| 57 | provider: ${_param:kubernetes_externaldns_provider} |
| 58 | master: |
| 59 | kubelet: |
| 60 | address: ${_param:single_address} |
| 61 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 62 | etcd: |
| 63 | ssl: |
| 64 | enabled: true |
| 65 | network: |
| 66 | genie: |
| 67 | enabled: true |
| 68 | default_plugin: calico |
| 69 | image: ${_param:kubernetes_genie_image} |
| 70 | flannel: |
| 71 | enabled: true |
| 72 | private_ip_range: 10.20.0.0/16 |
| 73 | calico: |
| 74 | enabled: true |
| 75 | etcd: |
| 76 | ssl: |
| 77 | enabled: true |
| 78 | namespace: |
| 79 | netchecker: |
| 80 | enabled: true |
| 81 | auth: |
| 82 | mode: Node,RBAC |