blob: 8736a3dc2a5c8bb9fc60f77bbe2b96703159e017 [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
Tatyana Leontovichc11c1b52018-01-26 13:58:39 +020019 mcp_version: testing
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020020 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
21
vrovachev0f291422017-06-21 18:30:01 +040022 # docker package version
23 kubernetes_docker_package: docker-engine=1.12.6-0~ubuntu-xenial
24
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030025 # component docker images
Matthew Mosesohn155b1892017-06-02 15:43:33 +030026 kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
27 kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
28 kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
vrovachev0f291422017-06-21 18:30:01 +040029 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Andrey Shestakov64d16882018-01-23 13:56:01 +020030 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.6-5
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030031 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
32 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
33 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040034 kubernetes_virtlet_image: mirantis/virtlet:v0.7.0
Andrey Shestakov1113cac2018-01-22 21:57:06 +020035 kubernetes_criproxy_version: v0.9.4
36 kubernetes_criproxy_checksum: md5=f1a08e16e15f61240ea324f6b335e013
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040037 kubernetes_externaldns_image: mirantis/external-dns:latest
38 kubernetes_externaldns_provider: coredns
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030039
vrovachev0f291422017-06-21 18:30:01 +040040 # switches of addons
41 kubernetes_helm_enabled: true
42 kubernetes_netchecker_enabled: true
43 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040044 kubernetes_virtlet_enabled: false
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040045 kubernetes_coredns_enabled: false
46 kubernetes_externaldns_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040047
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020048 # addresses and hostnames
49 kubernetes_internal_api_address: 10.254.0.1
50 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020051 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020052 kubernetes_control_node01_hostname: ctl01
53 kubernetes_control_node02_hostname: ctl02
54 kubernetes_control_node03_hostname: ctl03
55 kubernetes_compute_node01_hostname: cmp01
56 kubernetes_compute_node02_hostname: cmp02
57 kubernetes_control_node01_address: 172.16.10.101
58 kubernetes_control_node02_address: 172.16.10.102
59 kubernetes_control_node03_address: 172.16.10.103
60 kubernetes_compute_node01_address: 172.16.10.105
61 kubernetes_compute_node02_address: 172.16.10.106
62 kubernetes_proxy_node01_hostname: prx01
63 kubernetes_proxy_node01_address: 172.16.10.121
64
65 cluster_vip_address: ${_param:kubernetes_control_address}
66 cluster_local_address: ${_param:single_address}
67
68 # etcd stuff
69 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
70 cluster_node01_address: ${_param:kubernetes_control_node01_address}
71 cluster_node01_port: 4001
72 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
73 cluster_node02_address: ${_param:kubernetes_control_node02_address}
74 cluster_node02_port: 4001
75 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
76 cluster_node03_address: ${_param:kubernetes_control_node03_address}
77 cluster_node03_port: 4001
78
79 # calico
80 calico_private_network: 192.168.0.0
81 calico_private_netmask: 16
82
83 linux:
84 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020085 resolv:
86 domain: virtual-mcp11-k8s-calico.local
87 options:
88 - ndots:5
89 - timeout:2
90 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020091 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020092 host:
93 ctl:
94 address: ${_param:kubernetes_control_address}
95 names:
96 - ${_param:kubernetes_control_hostname}
97 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
98 ctl01:
99 address: ${_param:kubernetes_control_node01_address}
100 names:
101 - ${_param:kubernetes_control_node01_hostname}
102 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
103 ctl02:
104 address: ${_param:kubernetes_control_node02_address}
105 names:
106 - ${_param:kubernetes_control_node02_hostname}
107 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
108 ctl03:
109 address: ${_param:kubernetes_control_node03_address}
110 names:
111 - ${_param:kubernetes_control_node03_hostname}
112 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
113 cmp01:
114 address: ${_param:kubernetes_compute_node01_address}
115 names:
116 - ${_param:kubernetes_compute_node01_hostname}
117 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
118 cmp02:
119 address: ${_param:kubernetes_compute_node02_address}
120 names:
121 - ${_param:kubernetes_compute_node02_hostname}
122 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
123 prx01:
124 address: ${_param:kubernetes_proxy_node01_address}
125 names:
126 - ${_param:kubernetes_proxy_node01_hostname}
127 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200128 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300129 user:
130 root:
131 name: root
132 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200133 rc:
134 local: |
135 #!/bin/sh -e
136 #
137 # rc.local
138 #
139 ######### This file is managed by Salt! ##########
140 # This script is executed at the end of each multiuser runlevel.
141 # Make sure that the script will "exit 0" on success or any other
142 # value on error.
143 #
144 ip r a 10.254.0.0/16 dev ens4
145 exit 0