blob: 9b47c2cb2a92b13ff74c0fa68ccc9c23cfdced88 [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
Victor Ryzhenkin03e58402017-12-12 16:46:05 +04006 # kubelet
7 kubelet_fail_on_swap: True
8
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +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
Matthew Mosesohnf52e6712017-06-06 16:28:53 +030018 kubernetes_mtu: 1500
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020019 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
20
vrovachev0f291422017-06-21 18:30:01 +040021 # docker package version
22 kubernetes_docker_package: docker-engine=1.12.6-0~ubuntu-xenial
23
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030024 # component docker images
Matthew Mosesohn155b1892017-06-02 15:43:33 +030025 kubernetes_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
vrovachev0f291422017-06-21 18:30:01 +040028 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Andrey Shestakov1c945bb2017-12-19 12:13:45 +020029 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.5-4
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030030 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
31 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
32 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040033 kubernetes_virtlet_image: mirantis/virtlet:v0.7.0
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040034 kubernetes_externaldns_image: mirantis/external-dns:latest
35 kubernetes_externaldns_provider: coredns
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030036
vrovachev0f291422017-06-21 18:30:01 +040037 # switches of addons
38 kubernetes_helm_enabled: true
39 kubernetes_netchecker_enabled: true
40 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040041 kubernetes_virtlet_enabled: false
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040042 kubernetes_coredns_enabled: false
43 kubernetes_externaldns_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040044
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020045 # addresses and hostnames
46 kubernetes_internal_api_address: 10.254.0.1
47 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020048 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020049 kubernetes_control_node01_hostname: ctl01
50 kubernetes_control_node02_hostname: ctl02
51 kubernetes_control_node03_hostname: ctl03
52 kubernetes_compute_node01_hostname: cmp01
53 kubernetes_compute_node02_hostname: cmp02
54 kubernetes_control_node01_address: 172.16.10.101
55 kubernetes_control_node02_address: 172.16.10.102
56 kubernetes_control_node03_address: 172.16.10.103
57 kubernetes_compute_node01_address: 172.16.10.105
58 kubernetes_compute_node02_address: 172.16.10.106
59 kubernetes_proxy_node01_hostname: prx01
60 kubernetes_proxy_node01_address: 172.16.10.121
61
62 cluster_vip_address: ${_param:kubernetes_control_address}
63 cluster_local_address: ${_param:single_address}
64
65 # etcd stuff
66 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
67 cluster_node01_address: ${_param:kubernetes_control_node01_address}
68 cluster_node01_port: 4001
69 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
70 cluster_node02_address: ${_param:kubernetes_control_node02_address}
71 cluster_node02_port: 4001
72 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
73 cluster_node03_address: ${_param:kubernetes_control_node03_address}
74 cluster_node03_port: 4001
75
76 # calico
77 calico_private_network: 192.168.0.0
78 calico_private_netmask: 16
79
80 linux:
81 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020082 resolv:
83 domain: virtual-mcp11-k8s-calico.local
84 options:
85 - ndots:5
86 - timeout:2
87 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020088 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020089 host:
90 ctl:
91 address: ${_param:kubernetes_control_address}
92 names:
93 - ${_param:kubernetes_control_hostname}
94 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
95 ctl01:
96 address: ${_param:kubernetes_control_node01_address}
97 names:
98 - ${_param:kubernetes_control_node01_hostname}
99 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
100 ctl02:
101 address: ${_param:kubernetes_control_node02_address}
102 names:
103 - ${_param:kubernetes_control_node02_hostname}
104 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
105 ctl03:
106 address: ${_param:kubernetes_control_node03_address}
107 names:
108 - ${_param:kubernetes_control_node03_hostname}
109 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
110 cmp01:
111 address: ${_param:kubernetes_compute_node01_address}
112 names:
113 - ${_param:kubernetes_compute_node01_hostname}
114 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
115 cmp02:
116 address: ${_param:kubernetes_compute_node02_address}
117 names:
118 - ${_param:kubernetes_compute_node02_hostname}
119 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
120 prx01:
121 address: ${_param:kubernetes_proxy_node01_address}
122 names:
123 - ${_param:kubernetes_proxy_node01_hostname}
124 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200125 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300126 user:
127 root:
128 name: root
129 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200130 rc:
131 local: |
132 #!/bin/sh -e
133 #
134 # rc.local
135 #
136 ######### This file is managed by Salt! ##########
137 # This script is executed at the end of each multiuser runlevel.
138 # Make sure that the script will "exit 0" on success or any other
139 # value on error.
140 #
141 ip r a 10.254.0.0/16 dev ens4
142 exit 0