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