blob: f0079edc6a18b412b525121871056b606c21d76d [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
ashestakov7acc4c62018-02-27 14:23:05 +000024 kubernetes_calico_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
Matthew Mosesohn155b1892017-06-02 15:43:33 +030025 kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
26 kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
vrovachev0f291422017-06-21 18:30:01 +040027 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Andrey Shestakovb1eec2f2018-05-24 15:25:46 +030028 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.13-11
29 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.8.13-11
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 Ryzhenkine9768512018-05-31 18:35:39 +040033 kubernetes_virtlet_image: mirantis/virtlet:v1.0.3
34 kubernetes_criproxy_version: v0.11.0
35 kubernetes_criproxy_checksum: md5=115bbb0c27518db6b0b3bc8cdc5fc897
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040036 kubernetes_dashboard_image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.1
37 kubernetes_kubedns_image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5
38 kubernetes_dnsmasq_image: gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5
39 kubernetes_sidecar_image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
40 kubernetes_dns_autoscaler_image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030041
vrovachev0f291422017-06-21 18:30:01 +040042 # switches of addons
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040043 kubernetes_addon_namespace: kube-system
44 kubernetes_dns: true
45 kubernetes_dashboard: true
46 kubernetes_helm_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040047 kubernetes_netchecker_enabled: true
48 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040049 kubernetes_virtlet_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040050
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020051 # addresses and hostnames
52 kubernetes_internal_api_address: 10.254.0.1
53 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020054 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020055 kubernetes_control_node01_hostname: ctl01
56 kubernetes_control_node02_hostname: ctl02
57 kubernetes_control_node03_hostname: ctl03
58 kubernetes_compute_node01_hostname: cmp01
59 kubernetes_compute_node02_hostname: cmp02
60 kubernetes_control_node01_address: 172.16.10.101
61 kubernetes_control_node02_address: 172.16.10.102
62 kubernetes_control_node03_address: 172.16.10.103
63 kubernetes_compute_node01_address: 172.16.10.105
64 kubernetes_compute_node02_address: 172.16.10.106
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040065 kubernetes_control_node01_deploy_address: 192.168.10.101
66 kubernetes_control_node02_deploy_address: 192.168.10.102
67 kubernetes_control_node03_deploy_address: 192.168.10.103
68 kubernetes_compute_node01_deploy_address: 192.168.10.105
69 kubernetes_compute_node02_deploy_address: 192.168.10.106
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020070 kubernetes_proxy_node01_hostname: prx01
71 kubernetes_proxy_node01_address: 172.16.10.121
72
73 cluster_vip_address: ${_param:kubernetes_control_address}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040074 cluster_local_address: ${_param:deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020075
76 # etcd stuff
77 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040078 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020079 cluster_node01_port: 4001
80 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040081 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020082 cluster_node02_port: 4001
83 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040084 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020085 cluster_node03_port: 4001
86
87 # calico
88 calico_private_network: 192.168.0.0
89 calico_private_netmask: 16
90
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040091 # component docker images
92 kubernetes_externaldns_image: mirantis/external-dns:latest
93 kubernetes_externaldns_provider: coredns
94
95 # switches of addons
96 kubernetes_coredns_enabled: false
97 kubernetes_externaldns_enabled: false
98
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020099 linux:
100 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +0200101 resolv:
102 domain: virtual-mcp11-k8s-calico.local
103 options:
104 - ndots:5
105 - timeout:2
106 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +0200107 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +0200108 host:
109 ctl:
110 address: ${_param:kubernetes_control_address}
111 names:
112 - ${_param:kubernetes_control_hostname}
113 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
114 ctl01:
115 address: ${_param:kubernetes_control_node01_address}
116 names:
117 - ${_param:kubernetes_control_node01_hostname}
118 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
119 ctl02:
120 address: ${_param:kubernetes_control_node02_address}
121 names:
122 - ${_param:kubernetes_control_node02_hostname}
123 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
124 ctl03:
125 address: ${_param:kubernetes_control_node03_address}
126 names:
127 - ${_param:kubernetes_control_node03_hostname}
128 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
129 cmp01:
130 address: ${_param:kubernetes_compute_node01_address}
131 names:
132 - ${_param:kubernetes_compute_node01_hostname}
133 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
134 cmp02:
135 address: ${_param:kubernetes_compute_node02_address}
136 names:
137 - ${_param:kubernetes_compute_node02_hostname}
138 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
139 prx01:
140 address: ${_param:kubernetes_proxy_node01_address}
141 names:
142 - ${_param:kubernetes_proxy_node01_hostname}
143 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200144 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300145 user:
146 root:
147 name: root
148 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200149 rc:
150 local: |
151 #!/bin/sh -e
152 #
153 # rc.local
154 #
155 ######### This file is managed by Salt! ##########
156 # This script is executed at the end of each multiuser runlevel.
157 # Make sure that the script will "exit 0" on success or any other
158 # value on error.
159 #
160 ip r a 10.254.0.0/16 dev ens4
161 exit 0