| classes: |
| #- system.linux.system.repo.docker |
| - system.linux.system.repo.docker_legacy |
| - service.docker.host |
| - system.salt.minion.cert.etcd_client |
| - system.salt.minion.cert.k8s_client_single |
| - system.kubernetes.pool.single |
| - cluster.k8s-compact.kubernetes |
| parameters: |
| kubernetes: |
| pool: |
| cluster_dns: ${_param:kubernetes_internal_dns_address} |
| kubelet: |
| address: ${_param:single_address} |
| network: |
| calico: |
| enabled: true |
| image: ${_param:kubernetes_calico_image} |
| calicoctl_image: ${_param:kubernetes_calico_calicoctl_image} |
| cni_image: ${_param:kubernetes_calico_cni_image} |
| etcd: |
| ssl: |
| enabled: true |
| common: |
| addons: |
| virtlet: |
| enabled: ${_param:kubernetes_virtlet_enabled} |
| namespace: ${_param:kubernetes_addon_namespace} |
| image: ${_param:kubernetes_virtlet_image} |
| criproxy_version: ${_param:kubernetes_criproxy_version} |
| criproxy_source: ${_param:kubernetes_criproxy_checksum} |
| hosts: |
| - kube01 |
| hyperkube: |
| image: ${_param:kubernetes_hyperkube_image} |
| pause_image: ${_param:kubernetes_pause_image} |
| docker: |
| host: |
| pkgs: |
| - ${_param:kubernetes_docker_package} |
| - python-docker |
| options: |
| bip: 172.31.255.1/24 |
| storage-driver: overlay2 |
| linux: |
| network: |
| resolv: |
| dns: |
| - 172.18.208.44 |
| - 172.18.176.4 |
| - ${_param:kubernetes_internal_dns_address} |
| interface: |
| ens3: |
| enabled: true |
| type: eth |
| proto: static |
| name: ${_param:primary_interface} |
| address: ${_param:single_address} |
| netmask: 255.255.255.0 |
| gateway: 192.168.122.1 |
| post_up_cmds: |
| - ip r rep 10.254.0.0/16 via ${_param:deploy_address} |