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: |
| 19 | kubelet: |
| 20 | address: ${_param:single_address} |
| 21 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 22 | network: |
| 23 | genie: |
| 24 | enabled: true |
| 25 | default_plugin: calico |
| 26 | image: ${_param:kubernetes_genie_image} |
| 27 | flannel: |
| 28 | enabled: true |
| 29 | calico: |
| 30 | enabled: true |
| 31 | image: ${_param:kubernetes_calico_image} |
| 32 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 33 | cni_image: ${_param:kubernetes_calico_cni_image} |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 34 | kube_controllers_image: ${_param:kubernetes_calico_kube_controllers_image} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 35 | etcd: |
| 36 | ssl: |
| 37 | enabled: true |
Aleksei Kasatkin | 83a3d1d | 2018-08-24 14:18:25 +0200 | [diff] [blame] | 38 | policy: |
| 39 | enabled: ${_param:kubernetes_calico_policy_enabled} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 40 | common: |
| 41 | addons: |
| 42 | virtlet: |
| 43 | enabled: ${_param:kubernetes_virtlet_enabled} |
| 44 | namespace: ${_param:kubernetes_addon_namespace} |
| 45 | image: ${_param:kubernetes_virtlet_image} |
| 46 | criproxy_version: ${_param:kubernetes_criproxy_version} |
| 47 | criproxy_source: ${_param:kubernetes_criproxy_checksum} |
| 48 | hosts: |
| 49 | - ${_param:kubernetes_compute01_hostname} |
| 50 | hyperkube: |
| 51 | image: ${_param:kubernetes_hyperkube_image} |
Andrey Shestakov | 9b5c7cc | 2018-05-23 13:51:10 +0300 | [diff] [blame] | 52 | pause_image: ${_param:kubernetes_pause_image} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 53 | linux: |
| 54 | network: |
| 55 | resolv: |
| 56 | dns: |
Victor Ryzhenkin | a61b72b | 2018-05-08 17:58:21 +0400 | [diff] [blame] | 57 | - 172.18.208.44 |
Victor Ryzhenkin | 0d99099 | 2018-05-08 22:56:48 +0400 | [diff] [blame] | 58 | - 172.18.176.4 |
| 59 | - 10.254.0.10 |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 60 | interface: |
| 61 | ens3: |
| 62 | enabled: true |
| 63 | type: eth |
| 64 | proto: static |
| 65 | name: ${_param:primary_interface} |
| 66 | address: ${_param:deploy_address} |
| 67 | netmask: 255.255.255.0 |
| 68 | gateway: 192.168.10.1 |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 69 | post_up_cmds: |
| 70 | - ip r rep 10.254.0.0/16 via ${_param:deploy_address} |
Andrey Shestakov | 718e3f4 | 2018-04-24 12:51:24 +0300 | [diff] [blame] | 71 | ens4: |
| 72 | enabled: true |
| 73 | type: eth |
| 74 | proto: static |
| 75 | address: ${_param:single_address} |
| 76 | netmask: '255.255.255.0' |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 77 | ipflush_onchange: true |
| 78 | restart_on_ipflush: true |