blob: 8f4b981b8740a9e87357b0947c5b18b3eb82e364 [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
18 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
19
vrovachev0f291422017-06-21 18:30:01 +040020 # docker package version
Andrey Shestakovb85c4b12018-06-12 13:19:06 +030021 kubernetes_docker_package: docker-engine=1.13.1-0~ubuntu-xenial
vrovachev0f291422017-06-21 18:30:01 +040022
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030023 # component docker images
Andrey Shestakov11147a62018-09-03 16:20:26 +030024 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.11.2-1
25 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030026 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinf9340062018-07-13 16:18:42 +040027 kubernetes_virtlet_image: mirantis/virtlet:v1.1.2
Victor Ryzhenkine9768512018-05-31 18:35:39 +040028 kubernetes_criproxy_version: v0.11.0
29 kubernetes_criproxy_checksum: md5=115bbb0c27518db6b0b3bc8cdc5fc897
Victor Ryzhenkin2846b0a2018-08-07 19:29:56 +040030 kubernetes_dashboard_image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.3
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040031 kubernetes_kubedns_image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5
32 kubernetes_dnsmasq_image: gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5
33 kubernetes_sidecar_image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
34 kubernetes_dns_autoscaler_image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030035
vrovachev0f291422017-06-21 18:30:01 +040036 # switches of addons
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040037 kubernetes_addon_namespace: kube-system
Andrey Shestakov12059e92018-09-04 12:47:44 +030038 kubernetes_dns: false
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040039 kubernetes_dashboard: true
40 kubernetes_helm_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040041 kubernetes_netchecker_enabled: true
42 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040043 kubernetes_virtlet_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
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040059 kubernetes_control_node01_deploy_address: 192.168.10.101
60 kubernetes_control_node02_deploy_address: 192.168.10.102
61 kubernetes_control_node03_deploy_address: 192.168.10.103
62 kubernetes_compute_node01_deploy_address: 192.168.10.105
63 kubernetes_compute_node02_deploy_address: 192.168.10.106
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020064 kubernetes_proxy_node01_hostname: prx01
65 kubernetes_proxy_node01_address: 172.16.10.121
66
67 cluster_vip_address: ${_param:kubernetes_control_address}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040068 cluster_local_address: ${_param:deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020069
70 # etcd stuff
71 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040072 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020073 cluster_node01_port: 4001
74 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040075 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020076 cluster_node02_port: 4001
77 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040078 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020079 cluster_node03_port: 4001
80
81 # calico
82 calico_private_network: 192.168.0.0
83 calico_private_netmask: 16
84
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040085 # component docker images
86 kubernetes_externaldns_image: mirantis/external-dns:latest
87 kubernetes_externaldns_provider: coredns
88
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040089 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
90
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040091 # switches of addons
Andrey Shestakov12059e92018-09-04 12:47:44 +030092 kubernetes_coredns_enabled: true
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040093 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040094 kubernetes_metallb_enabled: false
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040095
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020096 linux:
97 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020098 resolv:
99 domain: virtual-mcp11-k8s-calico.local
100 options:
101 - ndots:5
102 - timeout:2
103 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +0200104 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +0200105 host:
106 ctl:
107 address: ${_param:kubernetes_control_address}
108 names:
109 - ${_param:kubernetes_control_hostname}
110 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
111 ctl01:
112 address: ${_param:kubernetes_control_node01_address}
113 names:
114 - ${_param:kubernetes_control_node01_hostname}
115 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
116 ctl02:
117 address: ${_param:kubernetes_control_node02_address}
118 names:
119 - ${_param:kubernetes_control_node02_hostname}
120 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
121 ctl03:
122 address: ${_param:kubernetes_control_node03_address}
123 names:
124 - ${_param:kubernetes_control_node03_hostname}
125 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
126 cmp01:
127 address: ${_param:kubernetes_compute_node01_address}
128 names:
129 - ${_param:kubernetes_compute_node01_hostname}
130 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
131 cmp02:
132 address: ${_param:kubernetes_compute_node02_address}
133 names:
134 - ${_param:kubernetes_compute_node02_hostname}
135 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
136 prx01:
137 address: ${_param:kubernetes_proxy_node01_address}
138 names:
139 - ${_param:kubernetes_proxy_node01_hostname}
140 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200141 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300142 user:
143 root:
144 name: root
145 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200146 rc:
147 local: |
148 #!/bin/sh -e
149 #
150 # rc.local
151 #
152 ######### This file is managed by Salt! ##########
153 # This script is executed at the end of each multiuser runlevel.
154 # Make sure that the script will "exit 0" on success or any other
155 # value on error.
156 #
157 ip r a 10.254.0.0/16 dev ens4
158 exit 0