Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 1 | classes: |
Tatyana Leontovich | c11c1b5 | 2018-01-26 13:58:39 +0200 | [diff] [blame] | 2 | - system.linux.system.repo.mcp.apt_mirantis.docker_legacy |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 3 | - system.kubernetes.pool.cluster |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 4 | - system.linux.network.hosts |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 5 | - system.salt.minion.cert.k8s_client |
| 6 | - system.salt.minion.cert.etcd_client |
Dmitry Kalashnik | 1085a99 | 2017-09-08 16:39:21 +0400 | [diff] [blame] | 7 | - cluster.virtual-mcp11-k8s-calico |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 8 | parameters: |
Victor Ryzhenkin | d27d76d | 2018-05-23 18:10:56 +0400 | [diff] [blame] | 9 | _param: |
| 10 | cluster_local_address: ${_param:deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 11 | docker: |
| 12 | host: |
| 13 | pkgs: |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 14 | - ${_param:kubernetes_docker_package} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 15 | - python-docker |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 16 | options: |
| 17 | bip: 172.31.255.1/24 |
| 18 | storage-driver: overlay2 |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 19 | kubernetes: |
| 20 | pool: |
Andrey Shestakov | 7edd30c | 2018-10-03 16:27:49 +0300 | [diff] [blame] | 21 | proxy: |
| 22 | daemon_opts: |
| 23 | cluster-cidr: ${_param:calico_private_network}/${_param:calico_private_netmask} |
Victor Ryzhenkin | 03e5840 | 2017-12-12 16:46:05 +0400 | [diff] [blame] | 24 | kubelet: |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 25 | address: ${_param:single_address} |
Victor Ryzhenkin | 03e5840 | 2017-12-12 16:46:05 +0400 | [diff] [blame] | 26 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 27 | network: |
ashestakov | 7acc4c6 | 2018-02-27 14:23:05 +0000 | [diff] [blame] | 28 | calico: |
Andrey Shestakov | 11a0cd2 | 2018-03-19 17:24:41 +0200 | [diff] [blame] | 29 | enabled: true |
ashestakov | 7acc4c6 | 2018-02-27 14:23:05 +0000 | [diff] [blame] | 30 | image: ${_param:kubernetes_calico_image} |
| 31 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 32 | cni_image: ${_param:kubernetes_calico_cni_image} |
ashestakov | 7acc4c6 | 2018-02-27 14:23:05 +0000 | [diff] [blame] | 33 | etcd: |
| 34 | ssl: |
| 35 | enabled: true |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 36 | common: |
Victor Ryzhenkin | b9f39dc | 2017-08-28 18:17:43 +0400 | [diff] [blame] | 37 | addons: |
| 38 | virtlet: |
| 39 | enabled: ${_param:kubernetes_virtlet_enabled} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 40 | namespace: ${_param:kubernetes_addon_namespace} |
Victor Ryzhenkin | b9f39dc | 2017-08-28 18:17:43 +0400 | [diff] [blame] | 41 | image: ${_param:kubernetes_virtlet_image} |
Andrey Shestakov | 1113cac | 2018-01-22 21:57:06 +0200 | [diff] [blame] | 42 | criproxy_version: ${_param:kubernetes_criproxy_version} |
| 43 | criproxy_source: ${_param:kubernetes_criproxy_checksum} |
Victor Ryzhenkin | b9f39dc | 2017-08-28 18:17:43 +0400 | [diff] [blame] | 44 | hosts: |
| 45 | - ${_param:kubernetes_compute_node01_hostname} |
| 46 | - ${_param:kubernetes_compute_node02_hostname} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 47 | hyperkube: |
Tomáš Kukrál | 3110056 | 2017-04-27 15:37:22 +0200 | [diff] [blame] | 48 | image: ${_param:kubernetes_hyperkube_image} |
Andrey Shestakov | 9b5c7cc | 2018-05-23 13:51:10 +0300 | [diff] [blame] | 49 | pause_image: ${_param:kubernetes_pause_image} |
Tomáš Kukrál | 1877dbd | 2017-04-29 23:03:04 +0200 | [diff] [blame] | 50 | linux: |
| 51 | network: |
| 52 | resolv: |
| 53 | dns: |
Victor Ryzhenkin | d27d76d | 2018-05-23 18:10:56 +0400 | [diff] [blame] | 54 | - 172.18.208.44 |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 55 | - 172.18.176.4 |
Victor Ryzhenkin | d27d76d | 2018-05-23 18:10:56 +0400 | [diff] [blame] | 56 | - 10.254.0.10 |
Victor Ryzhenkin | 6fb825e | 2018-10-10 16:35:15 +0400 | [diff] [blame] | 57 | search: |
| 58 | - ${_param:cluster_domain} |
Tomáš Kukrál | 1877dbd | 2017-04-29 23:03:04 +0200 | [diff] [blame] | 59 | interface: |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 60 | ens3: |
| 61 | enabled: true |
| 62 | type: eth |
| 63 | proto: static |
| 64 | name: ${_param:primary_interface} |
| 65 | address: ${_param:deploy_address} |
| 66 | netmask: 255.255.255.0 |
| 67 | gateway: 192.168.10.1 |
Victor Ryzhenkin | d27d76d | 2018-05-23 18:10:56 +0400 | [diff] [blame] | 68 | post_up_cmds: |
| 69 | - ip r rep 10.254.0.0/16 via ${_param:deploy_address} |
Tomáš Kukrál | 3df2d16 | 2017-05-02 11:50:38 +0200 | [diff] [blame] | 70 | ens4: |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 71 | enabled: true |
| 72 | type: eth |
| 73 | proto: static |
| 74 | address: ${_param:single_address} |
| 75 | netmask: '255.255.255.0' |
Victor Ryzhenkin | d27d76d | 2018-05-23 18:10:56 +0400 | [diff] [blame] | 76 | ipflush_onchange: true |
| 77 | restart_on_ipflush: true |