blob: d4944390c98bd490b1dd674d889e15fc4617ba89 [file] [log] [blame]
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +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
20 kubernetes_control_address: 172.16.10.253
21 kubernetes_control_node01_hostname: ctl01
22 kubernetes_control_node02_hostname: ctl02
23 kubernetes_control_node03_hostname: ctl03
24 kubernetes_compute_node01_hostname: cmp01
25 kubernetes_compute_node02_hostname: cmp02
26 kubernetes_control_node01_address: 172.16.10.101
27 kubernetes_control_node02_address: 172.16.10.102
28 kubernetes_control_node03_address: 172.16.10.103
29 kubernetes_compute_node01_address: 172.16.10.105
30 kubernetes_compute_node02_address: 172.16.10.106
31 kubernetes_proxy_node01_hostname: prx01
32 kubernetes_proxy_node01_address: 172.16.10.121
33
34 cluster_vip_address: ${_param:kubernetes_control_address}
35 cluster_local_address: ${_param:single_address}
36
37 # etcd stuff
38 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
39 cluster_node01_address: ${_param:kubernetes_control_node01_address}
40 cluster_node01_port: 4001
41 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
42 cluster_node02_address: ${_param:kubernetes_control_node02_address}
43 cluster_node02_port: 4001
44 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
45 cluster_node03_address: ${_param:kubernetes_control_node03_address}
46 cluster_node03_port: 4001
47
48 # calico
49 calico_private_network: 192.168.0.0
50 calico_private_netmask: 16
51
Simon Pasquiera3a92f62017-04-28 15:19:18 +020052 # glusterfs
53 glusterfs_service_host: ${_param:kubernetes_control_address}
54
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020055 linux:
56 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020057 resolv:
58 domain: virtual-mcp11-k8s-calico.local
59 options:
60 - ndots:5
61 - timeout:2
62 - attempts:2
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020063 host:
64 ctl:
65 address: ${_param:kubernetes_control_address}
66 names:
67 - ${_param:kubernetes_control_hostname}
68 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
69 ctl01:
70 address: ${_param:kubernetes_control_node01_address}
71 names:
72 - ${_param:kubernetes_control_node01_hostname}
73 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
74 ctl02:
75 address: ${_param:kubernetes_control_node02_address}
76 names:
77 - ${_param:kubernetes_control_node02_hostname}
78 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
79 ctl03:
80 address: ${_param:kubernetes_control_node03_address}
81 names:
82 - ${_param:kubernetes_control_node03_hostname}
83 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
84 cmp01:
85 address: ${_param:kubernetes_compute_node01_address}
86 names:
87 - ${_param:kubernetes_compute_node01_hostname}
88 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
89 cmp02:
90 address: ${_param:kubernetes_compute_node02_address}
91 names:
92 - ${_param:kubernetes_compute_node02_hostname}
93 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
94 prx01:
95 address: ${_param:kubernetes_proxy_node01_address}
96 names:
97 - ${_param:kubernetes_proxy_node01_hostname}
98 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +020099 system:
100 rc:
101 local: |
102 #!/bin/sh -e
103 #
104 # rc.local
105 #
106 ######### This file is managed by Salt! ##########
107 # This script is executed at the end of each multiuser runlevel.
108 # Make sure that the script will "exit 0" on success or any other
109 # value on error.
110 #
111 ip r a 10.254.0.0/16 dev ens4
112 exit 0