blob: 1c4dfdaf415503d748c64269e3b0af04acf6c12e [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
6 # kubernetes settings
7 kubernetes_admin_user: admin
8 kubernetes_admin_password: sbPfel23ZigJF3Bm
9 kubernetes_admin_token: PpP6Mm3pAoPVqcKOKUu0x1dh7b1959Fi
10 kubernetes_kubelet_token: JJ2PKHxjiU6EYvIt18BqwdSK1HvWh8pt
11 kubernetes_kube-proxy_token: jT0hJk9L6cIw5UpYDNhsRwcj3Z2n62B6
12 kubernetes_scheduler_token: VgkUHfrW07zNxrb0ucFyX7NBnSJN9Xp6
13 kubernetes_controller-manager_token: uXrdZ1YKF6qlYm3sHje2iEXMGAGDWOIU
14 kubernetes_dns_token: 0S1I4iJeFjq5fopPwwCwTp3xFpEZfeUl
15 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
16
17 # addresses and hostnames
18 kubernetes_internal_api_address: 10.254.0.1
19 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020020 kubernetes_control_address: 192.168.10.253
Ales Komarekc12dd412017-06-27 16:24:42 +020021 kubernetes_control_node01_hostname: ctl01
22 kubernetes_control_node02_hostname: ctl02
23 kubernetes_control_node03_hostname: ctl03
Ales Komarekc12dd412017-06-27 16:24:42 +020024 kubernetes_control_node01_address: 172.16.10.101
25 kubernetes_control_node02_address: 172.16.10.102
26 kubernetes_control_node03_address: 172.16.10.103
Ales Komarekc12dd412017-06-27 16:24:42 +020027 kubernetes_proxy_node01_hostname: prx01
28 kubernetes_proxy_node01_address: 172.16.10.121
29
30 cluster_vip_address: ${_param:kubernetes_control_address}
31 cluster_local_address: ${_param:single_address}
32
33 # etcd stuff
34 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
35 cluster_node01_address: ${_param:kubernetes_control_node01_address}
36 cluster_node01_port: 4001
37 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
38 cluster_node02_address: ${_param:kubernetes_control_node02_address}
39 cluster_node02_port: 4001
40 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
41 cluster_node03_address: ${_param:kubernetes_control_node03_address}
42 cluster_node03_port: 4001
43
44 # calico
45 calico_private_network: 192.168.0.0
46 calico_private_netmask: 16
47
48 linux:
49 network:
Ales Komarekc12dd412017-06-27 16:24:42 +020050 host:
51 ctl:
52 address: ${_param:kubernetes_control_address}
53 names:
54 - ${_param:kubernetes_control_hostname}
55 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
56 ctl01:
57 address: ${_param:kubernetes_control_node01_address}
58 names:
59 - ${_param:kubernetes_control_node01_hostname}
60 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
61 ctl02:
62 address: ${_param:kubernetes_control_node02_address}
63 names:
64 - ${_param:kubernetes_control_node02_hostname}
65 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
66 ctl03:
67 address: ${_param:kubernetes_control_node03_address}
68 names:
69 - ${_param:kubernetes_control_node03_hostname}
70 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
Ales Komarekc12dd412017-06-27 16:24:42 +020071 prx01:
72 address: ${_param:kubernetes_proxy_node01_address}
73 names:
74 - ${_param:kubernetes_proxy_node01_hostname}
75 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Petr Michalec9a0bbfe2017-08-15 18:21:16 +020076 linux:
77 network:
78 interface:
79 primary_interface:
80 route:
81 # TODO: Remove comment.
82 # Will work once CI has this in linux formula (packaged): https://gerrit.mcp.mirantis.net/#/c/8952
83 kubernetes_internal:
84 address: 10.254.0.0
85 netmask: 255.255.0.0
Ales Komarekc12dd412017-06-27 16:24:42 +020086 system:
87 rc:
88 local: |
89 #!/bin/sh -e
90 #
91 # rc.local
92 #
93 ######### This file is managed by Salt! ##########
94 # This script is executed at the end of each multiuser runlevel.
95 # Make sure that the script will "exit 0" on success or any other
96 # value on error.
97 #
Ales Komarekc12dd412017-06-27 16:24:42 +020098 exit 0