blob: 0806512a683d8ddeb9b8428a1ce64184d6943390 [file] [log] [blame]
Ales Komarek6f7caae2017-05-17 16:30:06 +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
Matthew Mosesohnf52e6712017-06-06 16:28:53 +030015 kubernetes_mtu: 1500
Ales Komarek6f7caae2017-05-17 16:30:06 +020016 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
17
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030018 # component docker images
Matthew Mosesohn155b1892017-06-02 15:43:33 +030019 kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
20 kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
21 kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
22 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.6.2-2
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030023 kubernetes_netchecker_agent_image: quay.io/l23network/k8s-netchecker-agent:v1.0
24 kubernetes_netchecker_server_image: quay.io/l23network/k8s-netchecker-server:v1.0
25
Ales Komarek6f7caae2017-05-17 16:30:06 +020026 # addresses and hostnames
27 kubernetes_internal_api_address: 10.254.0.1
28 kubernetes_control_hostname: ctl
29 kubernetes_control_address: 172.16.10.253
30 kubernetes_control_node01_hostname: ctl01
31 kubernetes_control_node02_hostname: ctl02
32 kubernetes_control_node03_hostname: ctl03
33 kubernetes_compute_node01_hostname: cmp01
34 kubernetes_compute_node02_hostname: cmp02
35 kubernetes_control_node01_address: 172.16.10.101
36 kubernetes_control_node02_address: 172.16.10.102
37 kubernetes_control_node03_address: 172.16.10.103
38 kubernetes_compute_node01_address: 172.16.10.105
39 kubernetes_compute_node02_address: 172.16.10.106
40 kubernetes_proxy_node01_hostname: prx01
41 kubernetes_proxy_node01_address: 172.16.10.121
42
43 cluster_vip_address: ${_param:kubernetes_control_address}
44 cluster_local_address: ${_param:single_address}
45
46 # etcd stuff
47 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
48 cluster_node01_address: ${_param:kubernetes_control_node01_address}
49 cluster_node01_port: 4001
50 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
51 cluster_node02_address: ${_param:kubernetes_control_node02_address}
52 cluster_node02_port: 4001
53 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
54 cluster_node03_address: ${_param:kubernetes_control_node03_address}
55 cluster_node03_port: 4001
56
57 # calico
58 calico_private_network: 192.168.0.0
59 calico_private_netmask: 16
60
61 linux:
62 network:
63 resolv:
64 domain: virtual-mcp11-k8s-calico.local
65 options:
66 - ndots:5
67 - timeout:2
68 - attempts:2
69 host:
70 ctl:
71 address: ${_param:kubernetes_control_address}
72 names:
73 - ${_param:kubernetes_control_hostname}
74 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
75 ctl01:
76 address: ${_param:kubernetes_control_node01_address}
77 names:
78 - ${_param:kubernetes_control_node01_hostname}
79 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
80 ctl02:
81 address: ${_param:kubernetes_control_node02_address}
82 names:
83 - ${_param:kubernetes_control_node02_hostname}
84 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
85 ctl03:
86 address: ${_param:kubernetes_control_node03_address}
87 names:
88 - ${_param:kubernetes_control_node03_hostname}
89 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
90 cmp01:
91 address: ${_param:kubernetes_compute_node01_address}
92 names:
93 - ${_param:kubernetes_compute_node01_hostname}
94 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
95 cmp02:
96 address: ${_param:kubernetes_compute_node02_address}
97 names:
98 - ${_param:kubernetes_compute_node02_hostname}
99 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
100 prx01:
101 address: ${_param:kubernetes_proxy_node01_address}
102 names:
103 - ${_param:kubernetes_proxy_node01_hostname}
104 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
105 system:
106 rc:
107 local: |
108 #!/bin/sh -e
109 #
110 # rc.local
111 #
112 ######### This file is managed by Salt! ##########
113 # This script is executed at the end of each multiuser runlevel.
114 # Make sure that the script will "exit 0" on success or any other
115 # value on error.
116 #
117 ip r a 10.254.0.0/16 dev ens4
118 exit 0