blob: 337d7fdb7377f1cbdf3f51a65b90f037dc71353f [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
Victor Ryzhenkin8dbe7012018-06-06 17:40:36 +040029 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.10.4-4
30 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.10.4-4
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
43 kubernetes_dns: true
44 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
49 kubernetes_coredns_enabled: false
50 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
76 cluster_vip_address: ${_param:kubernetes_control_address}
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +020077 cluster_local_address: ${_param:deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020078
79 # etcd stuff
80 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040081 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020082 cluster_node01_port: 4001
83 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040084 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020085 cluster_node02_port: 4001
86 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Ildar Svetlovcac905c2018-08-07 18:37:17 +040087 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020088 cluster_node03_port: 4001
89
90 # calico
91 calico_private_network: 192.168.0.0
92 calico_private_netmask: 16
93
94 linux:
95 network:
96 host:
97 ctl:
98 address: ${_param:kubernetes_control_address}
99 names:
100 - ${_param:kubernetes_control_hostname}
101 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
102 ctl01:
103 address: ${_param:kubernetes_control_node01_address}
104 names:
105 - ${_param:kubernetes_control_node01_hostname}
106 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
107 ctl02:
108 address: ${_param:kubernetes_control_node02_address}
109 names:
110 - ${_param:kubernetes_control_node02_hostname}
111 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
112 ctl03:
113 address: ${_param:kubernetes_control_node03_address}
114 names:
115 - ${_param:kubernetes_control_node03_hostname}
116 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
117 cmp01:
118 address: ${_param:kubernetes_compute_node01_address}
119 names:
120 - ${_param:kubernetes_compute_node01_hostname}
121 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
122 cmp02:
123 address: ${_param:kubernetes_compute_node02_address}
124 names:
125 - ${_param:kubernetes_compute_node02_hostname}
126 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
127 prx01:
128 address: ${_param:kubernetes_proxy_node01_address}
129 names:
130 - ${_param:kubernetes_proxy_node01_hostname}
131 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
132 system:
vitalygusev74db2b82018-03-20 19:16:08 +0400133 user:
134 root:
135 name: root
136 password: false
Mateusz Matuszkowiak22f1f032018-08-20 13:32:15 +0200137 rc:
138 local: |
139 #!/bin/sh -e
140 #
141 # rc.local
142 #
143 ######### This file is managed by Salt! ##########
144 # This script is executed at the end of each multiuser runlevel.
145 # Make sure that the script will "exit 0" on success or any other
146 # value on error.
147 #
148 ip r a 10.254.0.0/16 dev ens4
149 exit 0