blob: fdcb029dfe115829fdd47bd0008f05e383c7e4e1 [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 # component docker images
Andrey Shestakov11147a62018-09-03 16:20:26 +030022 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1
vitalygusev74db2b82018-03-20 19:16:08 +040023 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkin55d0eca2018-09-27 14:39:12 +040024 kubernetes_virtlet_image: mirantis/virtlet:v1.4.0
Mateusz Matuszkowiak4aeedc72018-09-05 16:07:39 +020025 # kube-controllers image is temporarily added here as it's not defined in TCP-QA by now
26 kubernetes_calico_kube_controllers_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/kube-controllers:v3.1.3
27
Victor Ryzhenkin55d0eca2018-09-27 14:39:12 +040028 kubernetes_criproxy_version: v0.12.0
29 kubernetes_criproxy_checksum: md5=371cacd3d8568eb88425498b48a649dd
Sergey Kolekonov0eb93d12018-09-26 17:16:58 +040030
vitalygusev74db2b82018-03-20 19:16:08 +040031 kubernetes_externaldns_provider: coredns
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040032 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
vitalygusev74db2b82018-03-20 19:16:08 +040033
34 # switches of addons
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020035 kubernetes_addon_namespace: kube-system
Andrey Shestakov12059e92018-09-04 12:47:44 +030036 kubernetes_dns: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020037 kubernetes_dashboard: true
38 kubernetes_helm_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040039 kubernetes_netchecker_enabled: true
40 kubernetes_calico_policy_enabled: false
Mateusz Matuszkowiak00aaa6a2018-10-12 14:36:14 +020041 kubernetes_virtlet_enabled: true
Andrey Shestakov12059e92018-09-04 12:47:44 +030042 kubernetes_coredns_enabled: true
vitalygusev74db2b82018-03-20 19:16:08 +040043 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040044 kubernetes_metallb_enabled: false
Vladimir Jigulinb8114182018-10-03 10:19:29 +040045 kubernetes_ingressnginx_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040046
Ales Komarekc12dd412017-06-27 16:24:42 +020047 # addresses and hostnames
48 kubernetes_internal_api_address: 10.254.0.1
49 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020050 kubernetes_control_address: 192.168.10.253
Ales Komarekc12dd412017-06-27 16:24:42 +020051 kubernetes_control_node01_hostname: ctl01
52 kubernetes_control_node02_hostname: ctl02
53 kubernetes_control_node03_hostname: ctl03
54 kubernetes_compute_node01_hostname: cmp01
55 kubernetes_compute_node02_hostname: cmp02
56 kubernetes_control_node01_address: 172.16.10.101
57 kubernetes_control_node02_address: 172.16.10.102
58 kubernetes_control_node03_address: 172.16.10.103
59 kubernetes_compute_node01_address: 172.16.10.105
60 kubernetes_compute_node02_address: 172.16.10.106
Ildar Svetlovcac905c2018-08-07 18:37:17 +040061 kubernetes_control_node01_deploy_address: 192.168.10.101
62 kubernetes_control_node02_deploy_address: 192.168.10.102
63 kubernetes_control_node03_deploy_address: 192.168.10.103
64 kubernetes_compute_node01_deploy_address: 192.168.10.105
65 kubernetes_compute_node02_deploy_address: 192.168.10.106
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020066
Ales Komarekc12dd412017-06-27 16:24:42 +020067 kubernetes_proxy_node01_hostname: prx01
68 kubernetes_proxy_node01_address: 172.16.10.121
69
Mateusz Matuszkowiak0b731802018-08-22 10:11:38 +020070 deploy_address: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020071 cluster_vip_address: ${_param:kubernetes_control_address}
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020072 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020073
74 # etcd stuff
75 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040076 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020077 cluster_node01_port: 4001
78 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040079 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020080 cluster_node02_port: 4001
81 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040082 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020083 cluster_node03_port: 4001
84
85 # calico
86 calico_private_network: 192.168.0.0
87 calico_private_netmask: 16
88
89 linux:
90 network:
91 host:
92 ctl:
93 address: ${_param:kubernetes_control_address}
94 names:
95 - ${_param:kubernetes_control_hostname}
96 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
97 ctl01:
98 address: ${_param:kubernetes_control_node01_address}
99 names:
100 - ${_param:kubernetes_control_node01_hostname}
101 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
102 ctl02:
103 address: ${_param:kubernetes_control_node02_address}
104 names:
105 - ${_param:kubernetes_control_node02_hostname}
106 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
107 ctl03:
108 address: ${_param:kubernetes_control_node03_address}
109 names:
110 - ${_param:kubernetes_control_node03_hostname}
111 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
112 cmp01:
113 address: ${_param:kubernetes_compute_node01_address}
114 names:
115 - ${_param:kubernetes_compute_node01_hostname}
116 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
117 cmp02:
118 address: ${_param:kubernetes_compute_node02_address}
119 names:
120 - ${_param:kubernetes_compute_node02_hostname}
121 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
122 prx01:
123 address: ${_param:kubernetes_proxy_node01_address}
124 names:
125 - ${_param:kubernetes_proxy_node01_hostname}
126 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
127 system:
vitalygusev74db2b82018-03-20 19:16:08 +0400128 user:
129 root:
130 name: root
131 password: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +0200132 rc:
133 local: |
134 #!/bin/sh -e
135 #
136 # rc.local
137 #
138 ######### This file is managed by Salt! ##########
139 # This script is executed at the end of each multiuser runlevel.
140 # Make sure that the script will "exit 0" on success or any other
141 # value on error.
142 #
143 ip r a 10.254.0.0/16 dev ens4
144 exit 0