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: |
| 17 | image: ${_param:kubernetes_calico_image} |
| 18 | calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| 19 | cni_image: ${_param:kubernetes_calico_cni_image} |
| 20 | etcd: |
| 21 | ssl: |
| 22 | enabled: true |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 23 | common: |
| 24 | addons: |
| 25 | virtlet: |
| 26 | enabled: ${_param:kubernetes_virtlet_enabled} |
| 27 | namespace: ${_param:kubernetes_addon_namespace} |
| 28 | image: ${_param:kubernetes_virtlet_image} |
Andrey Shestakov | 1113cac | 2018-01-22 21:57:06 +0200 | [diff] [blame] | 29 | criproxy_version: ${_param:kubernetes_criproxy_version} |
| 30 | criproxy_source: ${_param:kubernetes_criproxy_checksum} |
Andrey Shestakov | 06afc9d | 2017-12-18 15:12:01 +0200 | [diff] [blame] | 31 | hosts: |
| 32 | - kube01 |
| 33 | hyperkube: |
| 34 | image: ${_param:kubernetes_hyperkube_image} |
| 35 | docker: |
| 36 | host: |
| 37 | pkgs: |
| 38 | - ${_param:kubernetes_docker_package} |
| 39 | - python-docker |
| 40 | options: |
| 41 | bip: 172.31.255.1/24 |
| 42 | storage-driver: overlay2 |
| 43 | linux: |
| 44 | network: |
| 45 | resolv: |
| 46 | dns: |
| 47 | - ${_param:kubernetes_internal_dns_address} |
| 48 | - 172.18.176.4 |
| 49 | - 172.18.176.7 |
| 50 | interface: |
| 51 | ens3: |
| 52 | enabled: true |
| 53 | type: eth |
| 54 | proto: static |
| 55 | name: ${_param:primary_interface} |
| 56 | address: ${_param:single_address} |
| 57 | netmask: 255.255.255.0 |
| 58 | gateway: 192.168.122.1 |
| 59 | route: |
| 60 | kubernetes_services: |
| 61 | address: 10.201.0.0 |
| 62 | netmask: 255.255.0.0 |
| 63 | gateway: ${_param:single_address} |