blob: 4475f2d96f7add646385192e03f8540e55d0634a [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
6 # kubernetes settings
7 kubernetes_admin_user: admin
8 kubernetes_admin_password: sbPfel23ZigJF3Bm
9 kubernetes_admin_token: PpP6Mm3pAoPVqcKOKUu0x1dh7b1959Fi
10 kubernetes_kubelet_token: JJ2PKHxjiU6EYvIt18BqwdSK1HvWh8pt
11 kubernetes_kube-proxy_token: jT0hJk9L6cIw5UpYDNhsRwcj3Z2n62B6
12 kubernetes_scheduler_token: VgkUHfrW07zNxrb0ucFyX7NBnSJN9Xp6
13 kubernetes_controller-manager_token: uXrdZ1YKF6qlYm3sHje2iEXMGAGDWOIU
14 kubernetes_dns_token: 0S1I4iJeFjq5fopPwwCwTp3xFpEZfeUl
Matthew Mosesohnf52e6712017-06-06 16:28:53 +030015 kubernetes_mtu: 1500
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020016 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
17
vrovachev0f291422017-06-21 18:30:01 +040018 # docker package version
19 kubernetes_docker_package: docker-engine=1.12.6-0~ubuntu-xenial
20
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030021 # component docker images
Matthew Mosesohn155b1892017-06-02 15:43:33 +030022 kubernetes_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
23 kubernetes_calico_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/node:latest
24 kubernetes_calico_cni_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/cni:latest
vrovachev0f291422017-06-21 18:30:01 +040025 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
vrovachevdb2b8cf2017-08-28 18:42:22 +040026 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.7.3-1
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030027 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
28 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
29 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040030 kubernetes_virtlet_image: mirantis/virtlet:v0.7.0
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030031
vrovachev0f291422017-06-21 18:30:01 +040032 # switches of addons
33 kubernetes_helm_enabled: true
34 kubernetes_netchecker_enabled: true
35 kubernetes_calico_policy_enabled: false
Victor Ryzhenkinb9f39dc2017-08-28 18:17:43 +040036 kubernetes_virtlet_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040037
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020038 # addresses and hostnames
39 kubernetes_internal_api_address: 10.254.0.1
40 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020041 kubernetes_control_address: 192.168.10.253
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020042 kubernetes_control_node01_hostname: ctl01
43 kubernetes_control_node02_hostname: ctl02
44 kubernetes_control_node03_hostname: ctl03
45 kubernetes_compute_node01_hostname: cmp01
46 kubernetes_compute_node02_hostname: cmp02
47 kubernetes_control_node01_address: 172.16.10.101
48 kubernetes_control_node02_address: 172.16.10.102
49 kubernetes_control_node03_address: 172.16.10.103
50 kubernetes_compute_node01_address: 172.16.10.105
51 kubernetes_compute_node02_address: 172.16.10.106
52 kubernetes_proxy_node01_hostname: prx01
53 kubernetes_proxy_node01_address: 172.16.10.121
54
55 cluster_vip_address: ${_param:kubernetes_control_address}
56 cluster_local_address: ${_param:single_address}
57
58 # etcd stuff
59 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
60 cluster_node01_address: ${_param:kubernetes_control_node01_address}
61 cluster_node01_port: 4001
62 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
63 cluster_node02_address: ${_param:kubernetes_control_node02_address}
64 cluster_node02_port: 4001
65 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
66 cluster_node03_address: ${_param:kubernetes_control_node03_address}
67 cluster_node03_port: 4001
68
69 # calico
70 calico_private_network: 192.168.0.0
71 calico_private_netmask: 16
72
73 linux:
74 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020075 resolv:
76 domain: virtual-mcp11-k8s-calico.local
77 options:
78 - ndots:5
79 - timeout:2
80 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020081 purge_hosts: true
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020082 host:
83 ctl:
84 address: ${_param:kubernetes_control_address}
85 names:
86 - ${_param:kubernetes_control_hostname}
87 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
88 ctl01:
89 address: ${_param:kubernetes_control_node01_address}
90 names:
91 - ${_param:kubernetes_control_node01_hostname}
92 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
93 ctl02:
94 address: ${_param:kubernetes_control_node02_address}
95 names:
96 - ${_param:kubernetes_control_node02_hostname}
97 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
98 ctl03:
99 address: ${_param:kubernetes_control_node03_address}
100 names:
101 - ${_param:kubernetes_control_node03_hostname}
102 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
103 cmp01:
104 address: ${_param:kubernetes_compute_node01_address}
105 names:
106 - ${_param:kubernetes_compute_node01_hostname}
107 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
108 cmp02:
109 address: ${_param:kubernetes_compute_node02_address}
110 names:
111 - ${_param:kubernetes_compute_node02_hostname}
112 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
113 prx01:
114 address: ${_param:kubernetes_proxy_node01_address}
115 names:
116 - ${_param:kubernetes_proxy_node01_hostname}
117 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200118 system:
Tatyana Leontovichfb60de62017-06-27 13:03:11 +0300119 user:
120 root:
121 name: root
122 password: false
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200123 rc:
124 local: |
125 #!/bin/sh -e
126 #
127 # rc.local
128 #
129 ######### This file is managed by Salt! ##########
130 # This script is executed at the end of each multiuser runlevel.
131 # Make sure that the script will "exit 0" on success or any other
132 # value on error.
133 #
134 ip r a 10.254.0.0/16 dev ens4
135 exit 0