blob: ed8cab106e1a37e9bc3f23b796a6da2354b9f74a [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
25 kubernetes_calico_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
26 kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
27 kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
28 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Andrey Shestakov11147a62018-09-03 16:20:26 +030029 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.11.2-1
30 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1
vitalygusev74db2b82018-03-20 19:16:08 +040031 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:stable
32 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:stable
33 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinf9340062018-07-13 16:18:42 +040034 kubernetes_virtlet_image: mirantis/virtlet:v1.1.2
Victor Ryzhenkine9768512018-05-31 18:35:39 +040035 kubernetes_criproxy_version: v0.11.0
36 kubernetes_criproxy_checksum: md5=115bbb0c27518db6b0b3bc8cdc5fc897
vitalygusev74db2b82018-03-20 19:16:08 +040037 kubernetes_externaldns_image: mirantis/external-dns:latest
38 kubernetes_externaldns_provider: coredns
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040039 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
vitalygusev74db2b82018-03-20 19:16:08 +040040
41 # switches of addons
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020042 kubernetes_addon_namespace: kube-system
Andrey Shestakov12059e92018-09-04 12:47:44 +030043 kubernetes_dns: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020044 kubernetes_dashboard: true
45 kubernetes_helm_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040046 kubernetes_netchecker_enabled: true
47 kubernetes_calico_policy_enabled: false
48 kubernetes_virtlet_enabled: false
Andrey Shestakov12059e92018-09-04 12:47:44 +030049 kubernetes_coredns_enabled: true
vitalygusev74db2b82018-03-20 19:16:08 +040050 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040051 kubernetes_metallb_enabled: false
vitalygusev74db2b82018-03-20 19:16:08 +040052
Ales Komarekc12dd412017-06-27 16:24:42 +020053 # addresses and hostnames
54 kubernetes_internal_api_address: 10.254.0.1
55 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020056 kubernetes_control_address: 192.168.10.253
Ales Komarekc12dd412017-06-27 16:24:42 +020057 kubernetes_control_node01_hostname: ctl01
58 kubernetes_control_node02_hostname: ctl02
59 kubernetes_control_node03_hostname: ctl03
60 kubernetes_compute_node01_hostname: cmp01
61 kubernetes_compute_node02_hostname: cmp02
62 kubernetes_control_node01_address: 172.16.10.101
63 kubernetes_control_node02_address: 172.16.10.102
64 kubernetes_control_node03_address: 172.16.10.103
65 kubernetes_compute_node01_address: 172.16.10.105
66 kubernetes_compute_node02_address: 172.16.10.106
Ildar Svetlovcac905c2018-08-07 18:37:17 +040067 kubernetes_control_node01_deploy_address: 192.168.10.101
68 kubernetes_control_node02_deploy_address: 192.168.10.102
69 kubernetes_control_node03_deploy_address: 192.168.10.103
70 kubernetes_compute_node01_deploy_address: 192.168.10.105
71 kubernetes_compute_node02_deploy_address: 192.168.10.106
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020072
Ales Komarekc12dd412017-06-27 16:24:42 +020073 kubernetes_proxy_node01_hostname: prx01
74 kubernetes_proxy_node01_address: 172.16.10.121
75
Mateusz Matuszkowiak0b731802018-08-22 10:11:38 +020076 deploy_address: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020077 cluster_vip_address: ${_param:kubernetes_control_address}
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020078 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020079
80 # etcd stuff
81 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040082 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020083 cluster_node01_port: 4001
84 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040085 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020086 cluster_node02_port: 4001
87 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040088 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020089 cluster_node03_port: 4001
90
91 # calico
92 calico_private_network: 192.168.0.0
93 calico_private_netmask: 16
94
95 linux:
96 network:
97 host:
98 ctl:
99 address: ${_param:kubernetes_control_address}
100 names:
101 - ${_param:kubernetes_control_hostname}
102 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
103 ctl01:
104 address: ${_param:kubernetes_control_node01_address}
105 names:
106 - ${_param:kubernetes_control_node01_hostname}
107 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
108 ctl02:
109 address: ${_param:kubernetes_control_node02_address}
110 names:
111 - ${_param:kubernetes_control_node02_hostname}
112 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
113 ctl03:
114 address: ${_param:kubernetes_control_node03_address}
115 names:
116 - ${_param:kubernetes_control_node03_hostname}
117 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
118 cmp01:
119 address: ${_param:kubernetes_compute_node01_address}
120 names:
121 - ${_param:kubernetes_compute_node01_hostname}
122 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
123 cmp02:
124 address: ${_param:kubernetes_compute_node02_address}
125 names:
126 - ${_param:kubernetes_compute_node02_hostname}
127 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
128 prx01:
129 address: ${_param:kubernetes_proxy_node01_address}
130 names:
131 - ${_param:kubernetes_proxy_node01_hostname}
132 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
133 system:
vitalygusev74db2b82018-03-20 19:16:08 +0400134 user:
135 root:
136 name: root
137 password: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +0200138 rc:
139 local: |
140 #!/bin/sh -e
141 #
142 # rc.local
143 #
144 ######### This file is managed by Salt! ##########
145 # This script is executed at the end of each multiuser runlevel.
146 # Make sure that the script will "exit 0" on success or any other
147 # value on error.
148 #
149 ip r a 10.254.0.0/16 dev ens4
150 exit 0