blob: c41f44dc66cabb146686be1234b05bb8ff213da4 [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 Ryzhenkinc1e05b72018-05-07 17:44:11 +040030 kubernetes_kubedns_image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5
31 kubernetes_dnsmasq_image: gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5
32 kubernetes_sidecar_image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
33 kubernetes_dns_autoscaler_image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030034
vrovachev0f291422017-06-21 18:30:01 +040035 # switches of addons
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040036 kubernetes_addon_namespace: kube-system
Andrey Shestakov12059e92018-09-04 12:47:44 +030037 kubernetes_dns: false
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040038 kubernetes_dashboard: true
39 kubernetes_helm_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040040 kubernetes_netchecker_enabled: true
41 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040042 kubernetes_virtlet_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040043
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020044 # addresses and hostnames
45 kubernetes_internal_api_address: 10.254.0.1
46 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020047 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020048 kubernetes_control_node01_hostname: ctl01
49 kubernetes_control_node02_hostname: ctl02
50 kubernetes_control_node03_hostname: ctl03
51 kubernetes_compute_node01_hostname: cmp01
52 kubernetes_compute_node02_hostname: cmp02
53 kubernetes_control_node01_address: 172.16.10.101
54 kubernetes_control_node02_address: 172.16.10.102
55 kubernetes_control_node03_address: 172.16.10.103
56 kubernetes_compute_node01_address: 172.16.10.105
57 kubernetes_compute_node02_address: 172.16.10.106
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040058 kubernetes_control_node01_deploy_address: 192.168.10.101
59 kubernetes_control_node02_deploy_address: 192.168.10.102
60 kubernetes_control_node03_deploy_address: 192.168.10.103
61 kubernetes_compute_node01_deploy_address: 192.168.10.105
62 kubernetes_compute_node02_deploy_address: 192.168.10.106
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020063 kubernetes_proxy_node01_hostname: prx01
64 kubernetes_proxy_node01_address: 172.16.10.121
65
66 cluster_vip_address: ${_param:kubernetes_control_address}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040067 cluster_local_address: ${_param:deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020068
69 # etcd stuff
70 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040071 cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020072 cluster_node01_port: 4001
73 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040074 cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020075 cluster_node02_port: 4001
76 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040077 cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020078 cluster_node03_port: 4001
79
80 # calico
81 calico_private_network: 192.168.0.0
82 calico_private_netmask: 16
83
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040084 # component docker images
Sergey Kolekonov0eb93d12018-09-26 17:16:58 +040085
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040086 kubernetes_externaldns_provider: coredns
87
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040088 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
89
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040090 # switches of addons
Andrey Shestakov12059e92018-09-04 12:47:44 +030091 kubernetes_coredns_enabled: true
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040092 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040093 kubernetes_metallb_enabled: false
Victor Ryzhenkinc1e05b72018-05-07 17:44:11 +040094
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020095 linux:
96 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020097 resolv:
98 domain: virtual-mcp11-k8s-calico.local
99 options:
100 - ndots:5
101 - timeout:2
102 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +0200103 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +0200104 host:
105 ctl:
106 address: ${_param:kubernetes_control_address}
107 names:
108 - ${_param:kubernetes_control_hostname}
109 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
110 ctl01:
111 address: ${_param:kubernetes_control_node01_address}
112 names:
113 - ${_param:kubernetes_control_node01_hostname}
114 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
115 ctl02:
116 address: ${_param:kubernetes_control_node02_address}
117 names:
118 - ${_param:kubernetes_control_node02_hostname}
119 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
120 ctl03:
121 address: ${_param:kubernetes_control_node03_address}
122 names:
123 - ${_param:kubernetes_control_node03_hostname}
124 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
125 cmp01:
126 address: ${_param:kubernetes_compute_node01_address}
127 names:
128 - ${_param:kubernetes_compute_node01_hostname}
129 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
130 cmp02:
131 address: ${_param:kubernetes_compute_node02_address}
132 names:
133 - ${_param:kubernetes_compute_node02_hostname}
134 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
135 prx01:
136 address: ${_param:kubernetes_proxy_node01_address}
137 names:
138 - ${_param:kubernetes_proxy_node01_hostname}
139 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200140 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300141 user:
142 root:
143 name: root
144 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200145 rc:
146 local: |
147 #!/bin/sh -e
148 #
149 # rc.local
150 #
151 ######### This file is managed by Salt! ##########
152 # This script is executed at the end of each multiuser runlevel.
153 # Make sure that the script will "exit 0" on success or any other
154 # value on error.
155 #
156 ip r a 10.254.0.0/16 dev ens4
157 exit 0