blob: f1123bb59978074ac3d1579819a47868cba23cf2 [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 Ryzhenkin55d0eca2018-09-27 14:39:12 +040028 kubernetes_virtlet_image: mirantis/virtlet:v1.4.0
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 Ryzhenkin55d0eca2018-09-27 14:39:12 +040032 kubernetes_criproxy_version: v0.12.0
33 kubernetes_criproxy_checksum: md5=371cacd3d8568eb88425498b48a649dd
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
Vladimir Jigulinb8114182018-10-03 10:19:29 +040049 kubernetes_ingressnginx_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040050
Ales Komarekc12dd412017-06-27 16:24:42 +020051 # addresses and hostnames
52 kubernetes_internal_api_address: 10.254.0.1
53 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020054 kubernetes_control_address: 192.168.10.253
Ales Komarekc12dd412017-06-27 16:24:42 +020055 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
Ildar Svetlovcac905c2018-08-07 18:37:17 +040065 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
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020070
Ales Komarekc12dd412017-06-27 16:24:42 +020071 kubernetes_proxy_node01_hostname: prx01
72 kubernetes_proxy_node01_address: 172.16.10.121
73
Mateusz Matuszkowiak0b731802018-08-22 10:11:38 +020074 deploy_address: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020075 cluster_vip_address: ${_param:kubernetes_control_address}
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020076 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020077
78 # etcd stuff
79 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040080 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020081 cluster_node01_port: 4001
82 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040083 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020084 cluster_node02_port: 4001
85 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040086 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020087 cluster_node03_port: 4001
88
89 # calico
90 calico_private_network: 192.168.0.0
91 calico_private_netmask: 16
92
93 linux:
94 network:
95 host:
96 ctl:
97 address: ${_param:kubernetes_control_address}
98 names:
99 - ${_param:kubernetes_control_hostname}
100 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
101 ctl01:
102 address: ${_param:kubernetes_control_node01_address}
103 names:
104 - ${_param:kubernetes_control_node01_hostname}
105 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
106 ctl02:
107 address: ${_param:kubernetes_control_node02_address}
108 names:
109 - ${_param:kubernetes_control_node02_hostname}
110 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
111 ctl03:
112 address: ${_param:kubernetes_control_node03_address}
113 names:
114 - ${_param:kubernetes_control_node03_hostname}
115 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
116 cmp01:
117 address: ${_param:kubernetes_compute_node01_address}
118 names:
119 - ${_param:kubernetes_compute_node01_hostname}
120 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
121 cmp02:
122 address: ${_param:kubernetes_compute_node02_address}
123 names:
124 - ${_param:kubernetes_compute_node02_hostname}
125 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
126 prx01:
127 address: ${_param:kubernetes_proxy_node01_address}
128 names:
129 - ${_param:kubernetes_proxy_node01_hostname}
130 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
131 system:
vitalygusev74db2b82018-03-20 19:16:08 +0400132 user:
133 root:
134 name: root
135 password: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +0200136 rc:
137 local: |
138 #!/bin/sh -e
139 #
140 # rc.local
141 #
142 ######### This file is managed by Salt! ##########
143 # This script is executed at the end of each multiuser runlevel.
144 # Make sure that the script will "exit 0" on success or any other
145 # value on error.
146 #
147 ip r a 10.254.0.0/16 dev ens4
148 exit 0