Artem Panchenko | fce4c64 | 2017-05-22 16:59:03 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain} |
| 4 | salt_minion_ca_authority: salt_master_ca |
| 5 | |
| 6 | # kubernetes settings |
| 7 | kubernetes_admin_user: admin |
| 8 | kubernetes_admin_password: sbPfel23ZigJF3Bm |
| 9 | kubernetes_admin_token: PpP6Mm3pAoPVqcKOKUu0x1dh7b1959Fi |
| 10 | kubernetes_kubelet_token: JJ2PKHxjiU6EYvIt18BqwdSK1HvWh8pt |
| 11 | kubernetes_kube-proxy_token: jT0hJk9L6cIw5UpYDNhsRwcj3Z2n62B6 |
| 12 | kubernetes_scheduler_token: VgkUHfrW07zNxrb0ucFyX7NBnSJN9Xp6 |
| 13 | kubernetes_controller-manager_token: uXrdZ1YKF6qlYm3sHje2iEXMGAGDWOIU |
| 14 | kubernetes_dns_token: 0S1I4iJeFjq5fopPwwCwTp3xFpEZfeUl |
| 15 | kubernetes_mtu: 1500 |
| 16 | etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq |
| 17 | |
| 18 | # docker package version |
| 19 | kubernetes_docker_package: docker-engine=1.12.6-0~ubuntu-xenial |
| 20 | |
| 21 | # component docker images |
| 22 | kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest |
| 23 | kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest |
| 24 | kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest |
vrovachev | d2a504a | 2017-09-15 19:44:46 +0400 | [diff] [blame^] | 25 | kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.7.5-2 |
Sergey Vasilenko | f4e62db | 2017-06-21 15:40:41 +0300 | [diff] [blame] | 26 | kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0 |
| 27 | kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0 |
| 28 | kubernetes_netchecker_agent_probeurls: "http://ipinfo.io" |
Artem Panchenko | fce4c64 | 2017-05-22 16:59:03 +0300 | [diff] [blame] | 29 | kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4 |
| 30 | |
| 31 | # addresses and hostnames |
| 32 | kubernetes_internal_api_address: 10.254.0.1 |
| 33 | kubernetes_control_hostname: ctl |
Sergii Golovatiuk | a7a19d5 | 2017-07-20 18:20:26 +0200 | [diff] [blame] | 34 | kubernetes_control_address: 192.168.10.253 |
Artem Panchenko | fce4c64 | 2017-05-22 16:59:03 +0300 | [diff] [blame] | 35 | kubernetes_control_node01_hostname: ctl01 |
| 36 | kubernetes_control_node02_hostname: ctl02 |
| 37 | kubernetes_control_node03_hostname: ctl03 |
| 38 | kubernetes_compute_node01_hostname: cmp01 |
| 39 | kubernetes_control_node01_address: 172.16.10.101 |
| 40 | kubernetes_control_node02_address: 172.16.10.102 |
| 41 | kubernetes_control_node03_address: 172.16.10.103 |
| 42 | kubernetes_compute_node01_address: 172.16.10.105 |
| 43 | |
| 44 | cluster_vip_address: ${_param:kubernetes_control_address} |
| 45 | cluster_local_address: ${_param:single_address} |
| 46 | |
| 47 | # etcd stuff |
| 48 | cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname} |
| 49 | cluster_node01_address: ${_param:kubernetes_control_node01_address} |
| 50 | cluster_node01_port: 4001 |
| 51 | cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname} |
| 52 | cluster_node02_address: ${_param:kubernetes_control_node02_address} |
| 53 | cluster_node02_port: 4001 |
| 54 | cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname} |
| 55 | cluster_node03_address: ${_param:kubernetes_control_node03_address} |
| 56 | cluster_node03_port: 4001 |
| 57 | |
| 58 | # calico |
| 59 | calico_private_network: 192.168.0.0 |
| 60 | calico_private_netmask: 16 |
| 61 | |
| 62 | # k8s addons |
| 63 | kubernetes_calico_policy_enabled: false |
| 64 | kubernetes_helm_enabled: true |
| 65 | kubernetes_netchecker_enabled: true |
| 66 | |
| 67 | linux: |
| 68 | network: |
| 69 | resolv: |
| 70 | domain: virtual-mcp11-k8s-calico-minimal.local |
| 71 | options: |
| 72 | - ndots:5 |
| 73 | - timeout:2 |
| 74 | - attempts:2 |
Jiri Broulik | 021095b | 2017-08-23 14:30:22 +0200 | [diff] [blame] | 75 | purge_hosts: true |
Artem Panchenko | fce4c64 | 2017-05-22 16:59:03 +0300 | [diff] [blame] | 76 | host: |
| 77 | ctl: |
| 78 | address: ${_param:kubernetes_control_address} |
| 79 | names: |
| 80 | - ${_param:kubernetes_control_hostname} |
| 81 | - ${_param:kubernetes_control_hostname}.${_param:cluster_domain} |
| 82 | ctl01: |
| 83 | address: ${_param:kubernetes_control_node01_address} |
| 84 | names: |
| 85 | - ${_param:kubernetes_control_node01_hostname} |
| 86 | - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain} |
| 87 | ctl02: |
| 88 | address: ${_param:kubernetes_control_node02_address} |
| 89 | names: |
| 90 | - ${_param:kubernetes_control_node02_hostname} |
| 91 | - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain} |
| 92 | ctl03: |
| 93 | address: ${_param:kubernetes_control_node03_address} |
| 94 | names: |
| 95 | - ${_param:kubernetes_control_node03_hostname} |
| 96 | - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain} |
| 97 | cmp01: |
| 98 | address: ${_param:kubernetes_compute_node01_address} |
| 99 | names: |
| 100 | - ${_param:kubernetes_compute_node01_hostname} |
| 101 | - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain} |
| 102 | system: |
| 103 | rc: |
| 104 | local: | |
| 105 | #!/bin/sh -e |
| 106 | # |
| 107 | # rc.local |
| 108 | # |
| 109 | ######### This file is managed by Salt! ########## |
| 110 | # This script is executed at the end of each multiuser runlevel. |
| 111 | # Make sure that the script will "exit 0" on success or any other |
| 112 | # value on error. |
| 113 | # |
| 114 | ip r a 10.254.0.0/16 dev ens4 |
| 115 | exit 0 |