Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [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 | |
Victor Ryzhenkin | 03e5840 | 2017-12-12 16:46:05 +0400 | [diff] [blame] | 6 | # kubelet |
| 7 | kubelet_fail_on_swap: True |
| 8 | |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 9 | # kubernetes settings |
| 10 | kubernetes_admin_user: admin |
| 11 | kubernetes_admin_password: sbPfel23ZigJF3Bm |
| 12 | kubernetes_admin_token: PpP6Mm3pAoPVqcKOKUu0x1dh7b1959Fi |
| 13 | kubernetes_kubelet_token: JJ2PKHxjiU6EYvIt18BqwdSK1HvWh8pt |
| 14 | kubernetes_kube-proxy_token: jT0hJk9L6cIw5UpYDNhsRwcj3Z2n62B6 |
| 15 | kubernetes_scheduler_token: VgkUHfrW07zNxrb0ucFyX7NBnSJN9Xp6 |
| 16 | kubernetes_controller-manager_token: uXrdZ1YKF6qlYm3sHje2iEXMGAGDWOIU |
| 17 | kubernetes_dns_token: 0S1I4iJeFjq5fopPwwCwTp3xFpEZfeUl |
| 18 | etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq |
| 19 | |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 20 | # docker package version |
Andrey Shestakov | b85c4b1 | 2018-06-12 13:19:06 +0300 | [diff] [blame] | 21 | kubernetes_docker_package: docker-engine=1.13.1-0~ubuntu-xenial |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 22 | |
Matthew Mosesohn | bb05ea3 | 2017-06-01 16:40:21 +0300 | [diff] [blame] | 23 | # component docker images |
Andrey Shestakov | 11147a6 | 2018-09-03 16:20:26 +0300 | [diff] [blame] | 24 | kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.11.2-1 |
| 25 | kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1 |
Sergey Vasilenko | f4e62db | 2017-06-21 15:40:41 +0300 | [diff] [blame] | 26 | kubernetes_netchecker_agent_probeurls: "http://ipinfo.io" |
Victor Ryzhenkin | f934006 | 2018-07-13 16:18:42 +0400 | [diff] [blame] | 27 | kubernetes_virtlet_image: mirantis/virtlet:v1.1.2 |
Victor Ryzhenkin | e976851 | 2018-05-31 18:35:39 +0400 | [diff] [blame] | 28 | kubernetes_criproxy_version: v0.11.0 |
| 29 | kubernetes_criproxy_checksum: md5=115bbb0c27518db6b0b3bc8cdc5fc897 |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 30 | kubernetes_kubedns_image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5 |
| 31 | kubernetes_dnsmasq_image: gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5 |
| 32 | kubernetes_sidecar_image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5 |
| 33 | kubernetes_dns_autoscaler_image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0 |
Matthew Mosesohn | bb05ea3 | 2017-06-01 16:40:21 +0300 | [diff] [blame] | 34 | |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 35 | # switches of addons |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 36 | kubernetes_addon_namespace: kube-system |
Andrey Shestakov | 12059e9 | 2018-09-04 12:47:44 +0300 | [diff] [blame] | 37 | kubernetes_dns: false |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 38 | kubernetes_dashboard: true |
| 39 | kubernetes_helm_enabled: false |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 40 | kubernetes_netchecker_enabled: true |
| 41 | kubernetes_calico_policy_enabled: false |
Victor Ryzhenkin | b9f39dc | 2017-08-28 18:17:43 +0400 | [diff] [blame] | 42 | kubernetes_virtlet_enabled: false |
vrovachev | 0f29142 | 2017-06-21 18:30:01 +0400 | [diff] [blame] | 43 | |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 44 | # addresses and hostnames |
| 45 | kubernetes_internal_api_address: 10.254.0.1 |
| 46 | kubernetes_control_hostname: ctl |
Sergii Golovatiuk | a7a19d5 | 2017-07-20 18:20:26 +0200 | [diff] [blame] | 47 | kubernetes_control_address: 192.168.10.253 |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 48 | kubernetes_control_node01_hostname: ctl01 |
| 49 | kubernetes_control_node02_hostname: ctl02 |
| 50 | kubernetes_control_node03_hostname: ctl03 |
| 51 | kubernetes_compute_node01_hostname: cmp01 |
| 52 | kubernetes_compute_node02_hostname: cmp02 |
| 53 | kubernetes_control_node01_address: 172.16.10.101 |
| 54 | kubernetes_control_node02_address: 172.16.10.102 |
| 55 | kubernetes_control_node03_address: 172.16.10.103 |
| 56 | kubernetes_compute_node01_address: 172.16.10.105 |
| 57 | kubernetes_compute_node02_address: 172.16.10.106 |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 58 | kubernetes_control_node01_deploy_address: 192.168.10.101 |
| 59 | kubernetes_control_node02_deploy_address: 192.168.10.102 |
| 60 | kubernetes_control_node03_deploy_address: 192.168.10.103 |
| 61 | kubernetes_compute_node01_deploy_address: 192.168.10.105 |
| 62 | kubernetes_compute_node02_deploy_address: 192.168.10.106 |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 63 | kubernetes_proxy_node01_hostname: prx01 |
| 64 | kubernetes_proxy_node01_address: 172.16.10.121 |
| 65 | |
| 66 | cluster_vip_address: ${_param:kubernetes_control_address} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 67 | cluster_local_address: ${_param:deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 68 | |
| 69 | # etcd stuff |
| 70 | cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 71 | cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 72 | cluster_node01_port: 4001 |
| 73 | cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 74 | cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 75 | cluster_node02_port: 4001 |
| 76 | cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname} |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 77 | cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address} |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 78 | cluster_node03_port: 4001 |
| 79 | |
| 80 | # calico |
| 81 | calico_private_network: 192.168.0.0 |
| 82 | calico_private_netmask: 16 |
| 83 | |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 84 | # component docker images |
Sergey Kolekonov | 0eb93d1 | 2018-09-26 17:16:58 +0400 | [diff] [blame^] | 85 | |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 86 | kubernetes_externaldns_provider: coredns |
| 87 | |
Vladimir Jigulin | 7bc766b | 2018-07-17 14:42:36 +0400 | [diff] [blame] | 88 | kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80 |
| 89 | |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 90 | # switches of addons |
Andrey Shestakov | 12059e9 | 2018-09-04 12:47:44 +0300 | [diff] [blame] | 91 | kubernetes_coredns_enabled: true |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 92 | kubernetes_externaldns_enabled: false |
Vladimir Jigulin | 7bc766b | 2018-07-17 14:42:36 +0400 | [diff] [blame] | 93 | kubernetes_metallb_enabled: false |
Victor Ryzhenkin | c1e05b7 | 2018-05-07 17:44:11 +0400 | [diff] [blame] | 94 | |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 95 | linux: |
| 96 | network: |
Tomáš Kukrál | 3df2d16 | 2017-05-02 11:50:38 +0200 | [diff] [blame] | 97 | resolv: |
| 98 | domain: virtual-mcp11-k8s-calico.local |
| 99 | options: |
| 100 | - ndots:5 |
| 101 | - timeout:2 |
| 102 | - attempts:2 |
Jiri Broulik | 021095b | 2017-08-23 14:30:22 +0200 | [diff] [blame] | 103 | purge_hosts: true |
Simon Pasquier | 3f9d3fc | 2017-04-26 10:47:10 +0200 | [diff] [blame] | 104 | host: |
| 105 | ctl: |
| 106 | address: ${_param:kubernetes_control_address} |
| 107 | names: |
| 108 | - ${_param:kubernetes_control_hostname} |
| 109 | - ${_param:kubernetes_control_hostname}.${_param:cluster_domain} |
| 110 | ctl01: |
| 111 | address: ${_param:kubernetes_control_node01_address} |
| 112 | names: |
| 113 | - ${_param:kubernetes_control_node01_hostname} |
| 114 | - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain} |
| 115 | ctl02: |
| 116 | address: ${_param:kubernetes_control_node02_address} |
| 117 | names: |
| 118 | - ${_param:kubernetes_control_node02_hostname} |
| 119 | - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain} |
| 120 | ctl03: |
| 121 | address: ${_param:kubernetes_control_node03_address} |
| 122 | names: |
| 123 | - ${_param:kubernetes_control_node03_hostname} |
| 124 | - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain} |
| 125 | cmp01: |
| 126 | address: ${_param:kubernetes_compute_node01_address} |
| 127 | names: |
| 128 | - ${_param:kubernetes_compute_node01_hostname} |
| 129 | - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain} |
| 130 | cmp02: |
| 131 | address: ${_param:kubernetes_compute_node02_address} |
| 132 | names: |
| 133 | - ${_param:kubernetes_compute_node02_hostname} |
| 134 | - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain} |
| 135 | prx01: |
| 136 | address: ${_param:kubernetes_proxy_node01_address} |
| 137 | names: |
| 138 | - ${_param:kubernetes_proxy_node01_hostname} |
| 139 | - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain} |
Tomáš Kukrál | 9f32b11 | 2017-04-29 10:37:42 +0200 | [diff] [blame] | 140 | system: |
Tatyana Leontovich | fb60de6 | 2017-06-27 13:03:11 +0300 | [diff] [blame] | 141 | user: |
| 142 | root: |
| 143 | name: root |
| 144 | password: false |
Tomáš Kukrál | 9f32b11 | 2017-04-29 10:37:42 +0200 | [diff] [blame] | 145 | rc: |
| 146 | local: | |
| 147 | #!/bin/sh -e |
| 148 | # |
| 149 | # rc.local |
| 150 | # |
| 151 | ######### This file is managed by Salt! ########## |
| 152 | # This script is executed at the end of each multiuser runlevel. |
| 153 | # Make sure that the script will "exit 0" on success or any other |
| 154 | # value on error. |
| 155 | # |
| 156 | ip r a 10.254.0.0/16 dev ens4 |
| 157 | exit 0 |