blob: 6b5fa3a61236c1ec67a67ce1828a9497b073dc66 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001parameters:
2 _param:
3 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
4 salt_minion_ca_authority: salt_master_ca
5
vitalygusev74db2b82018-03-20 19:16:08 +04006 # kubelet
7 kubelet_fail_on_swap: True
8
Ales Komarekc12dd412017-06-27 16:24:42 +02009 # 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
vitalygusev74db2b82018-03-20 19:16:08 +040018 kubernetes_mtu: 1500
Ales Komarekc12dd412017-06-27 16:24:42 +020019 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
20
vitalygusev74db2b82018-03-20 19:16:08 +040021 # docker package version
Andrey Shestakovb85c4b12018-06-12 13:19:06 +030022 kubernetes_docker_package: docker-engine=1.13.1-0~ubuntu-xenial
vitalygusev74db2b82018-03-20 19:16:08 +040023
24 # component docker images
Andrey Shestakov11147a62018-09-03 16:20:26 +030025 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.11.2-1
26 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1
vitalygusev74db2b82018-03-20 19:16:08 +040027 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinf9340062018-07-13 16:18:42 +040028 kubernetes_virtlet_image: mirantis/virtlet:v1.1.2
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020029 # kube-controllers image is temporarily added here as it's not defined in TCP-QA by now
30 kubernetes_calico_kube_controllers_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/kube-controllers:v3.1.3
31
Victor Ryzhenkine9768512018-05-31 18:35:39 +040032 kubernetes_criproxy_version: v0.11.0
33 kubernetes_criproxy_checksum: md5=115bbb0c27518db6b0b3bc8cdc5fc897
Sergey Kolekonov0eb93d12018-09-26 17:16:58 +040034
vitalygusev74db2b82018-03-20 19:16:08 +040035 kubernetes_externaldns_provider: coredns
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040036 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
vitalygusev74db2b82018-03-20 19:16:08 +040037
38 # switches of addons
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020039 kubernetes_addon_namespace: kube-system
Andrey Shestakov12059e92018-09-04 12:47:44 +030040 kubernetes_dns: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020041 kubernetes_dashboard: true
42 kubernetes_helm_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040043 kubernetes_netchecker_enabled: true
44 kubernetes_calico_policy_enabled: false
45 kubernetes_virtlet_enabled: false
Andrey Shestakov12059e92018-09-04 12:47:44 +030046 kubernetes_coredns_enabled: true
vitalygusev74db2b82018-03-20 19:16:08 +040047 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040048 kubernetes_metallb_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040049
Ales Komarekc12dd412017-06-27 16:24:42 +020050 # addresses and hostnames
51 kubernetes_internal_api_address: 10.254.0.1
52 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020053 kubernetes_control_address: 192.168.10.253
Ales Komarekc12dd412017-06-27 16:24:42 +020054 kubernetes_control_node01_hostname: ctl01
55 kubernetes_control_node02_hostname: ctl02
56 kubernetes_control_node03_hostname: ctl03
57 kubernetes_compute_node01_hostname: cmp01
58 kubernetes_compute_node02_hostname: cmp02
59 kubernetes_control_node01_address: 172.16.10.101
60 kubernetes_control_node02_address: 172.16.10.102
61 kubernetes_control_node03_address: 172.16.10.103
62 kubernetes_compute_node01_address: 172.16.10.105
63 kubernetes_compute_node02_address: 172.16.10.106
Ildar Svetlovcac905c2018-08-07 18:37:17 +040064 kubernetes_control_node01_deploy_address: 192.168.10.101
65 kubernetes_control_node02_deploy_address: 192.168.10.102
66 kubernetes_control_node03_deploy_address: 192.168.10.103
67 kubernetes_compute_node01_deploy_address: 192.168.10.105
68 kubernetes_compute_node02_deploy_address: 192.168.10.106
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020069
Ales Komarekc12dd412017-06-27 16:24:42 +020070 kubernetes_proxy_node01_hostname: prx01
71 kubernetes_proxy_node01_address: 172.16.10.121
72
Mateusz Matuszkowiak0b731802018-08-22 10:11:38 +020073 deploy_address: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020074 cluster_vip_address: ${_param:kubernetes_control_address}
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020075 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020076
77 # etcd stuff
78 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040079 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020080 cluster_node01_port: 4001
81 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040082 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020083 cluster_node02_port: 4001
84 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040085 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020086 cluster_node03_port: 4001
87
88 # calico
89 calico_private_network: 192.168.0.0
90 calico_private_netmask: 16
91
92 linux:
93 network:
94 host:
95 ctl:
96 address: ${_param:kubernetes_control_address}
97 names:
98 - ${_param:kubernetes_control_hostname}
99 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
100 ctl01:
101 address: ${_param:kubernetes_control_node01_address}
102 names:
103 - ${_param:kubernetes_control_node01_hostname}
104 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
105 ctl02:
106 address: ${_param:kubernetes_control_node02_address}
107 names:
108 - ${_param:kubernetes_control_node02_hostname}
109 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
110 ctl03:
111 address: ${_param:kubernetes_control_node03_address}
112 names:
113 - ${_param:kubernetes_control_node03_hostname}
114 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
115 cmp01:
116 address: ${_param:kubernetes_compute_node01_address}
117 names:
118 - ${_param:kubernetes_compute_node01_hostname}
119 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
120 cmp02:
121 address: ${_param:kubernetes_compute_node02_address}
122 names:
123 - ${_param:kubernetes_compute_node02_hostname}
124 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
125 prx01:
126 address: ${_param:kubernetes_proxy_node01_address}
127 names:
128 - ${_param:kubernetes_proxy_node01_hostname}
129 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
130 system:
vitalygusev74db2b82018-03-20 19:16:08 +0400131 user:
132 root:
133 name: root
134 password: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +0200135 rc:
136 local: |
137 #!/bin/sh -e
138 #
139 # rc.local
140 #
141 ######### This file is managed by Salt! ##########
142 # This script is executed at the end of each multiuser runlevel.
143 # Make sure that the script will "exit 0" on success or any other
144 # value on error.
145 #
146 ip r a 10.254.0.0/16 dev ens4
147 exit 0