blob: 2c297a0549165a57f28d2e1c4628b575d84aefe6 [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 Shestakov64d16882018-01-23 13:56:01 +020029 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.6-5
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
Andrey Shestakov1113cac2018-01-22 21:57:06 +020034 kubernetes_criproxy_version: v0.9.4
35 kubernetes_criproxy_checksum: md5=f1a08e16e15f61240ea324f6b335e013
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040036 kubernetes_externaldns_image: mirantis/external-dns:latest
37 kubernetes_externaldns_provider: coredns
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030038
vrovachev0f291422017-06-21 18:30:01 +040039 # switches of addons
40 kubernetes_helm_enabled: true
41 kubernetes_netchecker_enabled: true
42 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040043 kubernetes_virtlet_enabled: false
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040044 kubernetes_coredns_enabled: false
45 kubernetes_externaldns_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040046
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020047 # addresses and hostnames
48 kubernetes_internal_api_address: 10.254.0.1
49 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020050 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020051 kubernetes_control_node01_hostname: ctl01
52 kubernetes_control_node02_hostname: ctl02
53 kubernetes_control_node03_hostname: ctl03
54 kubernetes_compute_node01_hostname: cmp01
55 kubernetes_compute_node02_hostname: cmp02
56 kubernetes_control_node01_address: 172.16.10.101
57 kubernetes_control_node02_address: 172.16.10.102
58 kubernetes_control_node03_address: 172.16.10.103
59 kubernetes_compute_node01_address: 172.16.10.105
60 kubernetes_compute_node02_address: 172.16.10.106
61 kubernetes_proxy_node01_hostname: prx01
62 kubernetes_proxy_node01_address: 172.16.10.121
63
64 cluster_vip_address: ${_param:kubernetes_control_address}
65 cluster_local_address: ${_param:single_address}
66
67 # etcd stuff
68 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
69 cluster_node01_address: ${_param:kubernetes_control_node01_address}
70 cluster_node01_port: 4001
71 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
72 cluster_node02_address: ${_param:kubernetes_control_node02_address}
73 cluster_node02_port: 4001
74 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
75 cluster_node03_address: ${_param:kubernetes_control_node03_address}
76 cluster_node03_port: 4001
77
78 # calico
79 calico_private_network: 192.168.0.0
80 calico_private_netmask: 16
81
82 linux:
83 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020084 resolv:
85 domain: virtual-mcp11-k8s-calico.local
86 options:
87 - ndots:5
88 - timeout:2
89 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020090 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020091 host:
92 ctl:
93 address: ${_param:kubernetes_control_address}
94 names:
95 - ${_param:kubernetes_control_hostname}
96 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
97 ctl01:
98 address: ${_param:kubernetes_control_node01_address}
99 names:
100 - ${_param:kubernetes_control_node01_hostname}
101 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
102 ctl02:
103 address: ${_param:kubernetes_control_node02_address}
104 names:
105 - ${_param:kubernetes_control_node02_hostname}
106 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
107 ctl03:
108 address: ${_param:kubernetes_control_node03_address}
109 names:
110 - ${_param:kubernetes_control_node03_hostname}
111 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
112 cmp01:
113 address: ${_param:kubernetes_compute_node01_address}
114 names:
115 - ${_param:kubernetes_compute_node01_hostname}
116 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
117 cmp02:
118 address: ${_param:kubernetes_compute_node02_address}
119 names:
120 - ${_param:kubernetes_compute_node02_hostname}
121 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
122 prx01:
123 address: ${_param:kubernetes_proxy_node01_address}
124 names:
125 - ${_param:kubernetes_proxy_node01_hostname}
126 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200127 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300128 user:
129 root:
130 name: root
131 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200132 rc:
133 local: |
134 #!/bin/sh -e
135 #
136 # rc.local
137 #
138 ######### This file is managed by Salt! ##########
139 # This script is executed at the end of each multiuser runlevel.
140 # Make sure that the script will "exit 0" on success or any other
141 # value on error.
142 #
143 ip r a 10.254.0.0/16 dev ens4
144 exit 0