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