Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.repo.docker_legacy |
| 3 | - system.kubernetes.pool.cluster |
| 4 | - system.linux.network.hosts |
| 5 | - system.salt.minion.cert.k8s_client |
| 6 | - system.salt.minion.cert.etcd_client |
| 7 | - cluster.k8s-ha-calico-flannel-virtlet |
| 8 | parameters: |
| 9 | docker: |
| 10 | host: |
| 11 | pkgs: |
| 12 | - ${_param:kubernetes_docker_package} |
| 13 | - python-docker |
| 14 | options: |
| 15 | bip: 172.31.255.1/24 |
| 16 | storage-driver: overlay2 |
| 17 | kubernetes: |
| 18 | pool: |
Andrey Shestakov | 7edd30c | 2018-10-03 16:27:49 +0300 | [diff] [blame^] | 19 | proxy: |
| 20 | daemon_opts: |
| 21 | cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 22 | kubelet: |
| 23 | address: ${_param:single_address} |
| 24 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 25 | network: |
| 26 | genie: |
| 27 | enabled: true |
| 28 | default_plugin: calico |
| 29 | image: ${_param:kubernetes_genie_image} |
| 30 | flannel: |
| 31 | enabled: true |
| 32 | calico: |
| 33 | enabled: true |
| 34 | image: ${_param:kubernetes_calico_image} |
| 35 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 36 | cni_image: ${_param:kubernetes_calico_cni_image} |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 37 | kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 38 | etcd: |
| 39 | ssl: |
| 40 | enabled: true |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 41 | policy: |
| 42 | enabled: ${_param:kubernetes_calico_policy_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 43 | common: |
| 44 | addons: |
| 45 | virtlet: |
| 46 | enabled: ${_param:kubernetes_virtlet_enabled} |
| 47 | namespace: ${_param:kubernetes_addon_namespace} |
| 48 | image: ${_param:kubernetes_virtlet_image} |
| 49 | criproxy_version: ${_param:kubernetes_criproxy_version} |
| 50 | criproxy_source: ${_param:kubernetes_criproxy_checksum} |
| 51 | hosts: |
| 52 | - ${_param:kubernetes_compute01_hostname} |
| 53 | hyperkube: |
| 54 | image: ${_param:kubernetes_hyperkube_image} |
Andrey Shestakov | 9b5c7cc | 2018-05-23 13:51:10 +0300 | [diff] [blame] | 55 | pause_image: ${_param:kubernetes_pause_image} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 56 | linux: |
| 57 | network: |
| 58 | resolv: |
| 59 | dns: |
Victor Ryzhenkin | a61b72b | 2018-05-08 17:58:21 +0400 | [diff] [blame] | 60 | - 172.18.208.44 |
Victor Ryzhenkin | 0d99099 | 2018-05-08 22:56:48 +0400 | [diff] [blame] | 61 | - 172.18.176.4 |
| 62 | - 10.254.0.10 |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 63 | interface: |
| 64 | ens3: |
| 65 | enabled: true |
| 66 | type: eth |
| 67 | proto: static |
| 68 | name: ${_param:primary_interface} |
| 69 | address: ${_param:deploy_address} |
| 70 | netmask: 255.255.255.0 |
| 71 | gateway: 192.168.10.1 |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 72 | post_up_cmds: |
| 73 | - ip r rep 10.254.0.0/16 via ${_param:deploy_address} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 74 | ens4: |
| 75 | enabled: true |
| 76 | type: eth |
| 77 | proto: static |
| 78 | address: ${_param:single_address} |
| 79 | netmask: '255.255.255.0' |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 80 | ipflush_onchange: true |
| 81 | restart_on_ipflush: true |