Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 1 | classes: |
| 2 | #- system.linux.system.repo.docker |
| 3 | - system.linux.system.repo.docker_legacy |
| 4 | - service.docker.host |
| 5 | - system.salt.minion.cert.etcd_client |
| 6 | - system.salt.minion.cert.k8s_client_single |
| 7 | - system.kubernetes.pool.single |
| 8 | - cluster.k8s-compact.kubernetes |
| 9 | parameters: |
| 10 | kubernetes: |
| 11 | pool: |
| 12 | cluster_dns: ${_param:kubernetes_internal_dns_address} |
| 13 | kubelet: |
| 14 | address: ${_param:single_address} |
| 15 | network: |
ashestakov | 7acc4c6 | 2018-02-27 14:23:05 +0000 | [diff] [blame] | 16 | calico: |
Andrey Shestakov | 11a0cd2 | 2018-03-19 17:24:41 +0200 | [diff] [blame] | 17 | enabled: true |
ashestakov | 7acc4c6 | 2018-02-27 14:23:05 +0000 | [diff] [blame] | 18 | image: ${_param:kubernetes_calico_image} |
| 19 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 20 | cni_image: ${_param:kubernetes_calico_cni_image} |
| 21 | etcd: |
| 22 | ssl: |
| 23 | enabled: true |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 24 | common: |
| 25 | addons: |
| 26 | virtlet: |
| 27 | enabled: ${_param:kubernetes_virtlet_enabled} |
| 28 | namespace: ${_param:kubernetes_addon_namespace} |
| 29 | image: ${_param:kubernetes_virtlet_image} |
Andrey Shestakov | 1113cac | 2018-01-22 21:57:06 +0200 | [diff] [blame] | 30 | criproxy_version: ${_param:kubernetes_criproxy_version} |
| 31 | criproxy_source: ${_param:kubernetes_criproxy_checksum} |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 32 | hosts: |
| 33 | - kube01 |
| 34 | hyperkube: |
| 35 | image: ${_param:kubernetes_hyperkube_image} |
Andrey Shestakov | 9b5c7cc | 2018-05-23 13:51:10 +0300 | [diff] [blame] | 36 | pause_image: ${_param:kubernetes_pause_image} |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 37 | docker: |
| 38 | host: |
| 39 | pkgs: |
| 40 | - ${_param:kubernetes_docker_package} |
| 41 | - python-docker |
| 42 | options: |
| 43 | bip: 172.31.255.1/24 |
| 44 | storage-driver: overlay2 |
| 45 | linux: |
| 46 | network: |
| 47 | resolv: |
| 48 | dns: |
Victor Ryzhenkin | a61b72b | 2018-05-08 17:58:21 +0400 | [diff] [blame] | 49 | - 172.18.208.44 |
Victor Ryzhenkin | 0d99099 | 2018-05-08 22:56:48 +0400 | [diff] [blame] | 50 | - 172.18.176.4 |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 51 | - ${_param:kubernetes_internal_dns_address} |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 52 | interface: |
| 53 | ens3: |
| 54 | enabled: true |
| 55 | type: eth |
| 56 | proto: static |
| 57 | name: ${_param:primary_interface} |
| 58 | address: ${_param:single_address} |
| 59 | netmask: 255.255.255.0 |
| 60 | gateway: 192.168.122.1 |
Andrey Shestakov | 008de1d | 2018-05-14 12:44:34 +0300 | [diff] [blame] | 61 | post_up_cmds: |
| 62 | - ip r rep 10.254.0.0/16 via ${_param:deploy_address} |