blob: a381b5e8826a3df6a17fe52c1a60c7437a2139c2 [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
Matthew Mosesohn155b1892017-06-02 15:43:33 +030026 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.6.2-2
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030027 kubernetes_netchecker_agent_image: quay.io/l23network/k8s-netchecker-agent:v1.0
28 kubernetes_netchecker_server_image: quay.io/l23network/k8s-netchecker-server:v1.0
29
vrovachev0f291422017-06-21 18:30:01 +040030 # switches of addons
31 kubernetes_helm_enabled: true
32 kubernetes_netchecker_enabled: true
33 kubernetes_calico_policy_enabled: false
34
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020035 # addresses and hostnames
36 kubernetes_internal_api_address: 10.254.0.1
37 kubernetes_control_hostname: ctl
38 kubernetes_control_address: 172.16.10.253
39 kubernetes_control_node01_hostname: ctl01
40 kubernetes_control_node02_hostname: ctl02
41 kubernetes_control_node03_hostname: ctl03
42 kubernetes_compute_node01_hostname: cmp01
43 kubernetes_compute_node02_hostname: cmp02
44 kubernetes_control_node01_address: 172.16.10.101
45 kubernetes_control_node02_address: 172.16.10.102
46 kubernetes_control_node03_address: 172.16.10.103
47 kubernetes_compute_node01_address: 172.16.10.105
48 kubernetes_compute_node02_address: 172.16.10.106
49 kubernetes_proxy_node01_hostname: prx01
50 kubernetes_proxy_node01_address: 172.16.10.121
51
52 cluster_vip_address: ${_param:kubernetes_control_address}
53 cluster_local_address: ${_param:single_address}
54
55 # etcd stuff
56 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
57 cluster_node01_address: ${_param:kubernetes_control_node01_address}
58 cluster_node01_port: 4001
59 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
60 cluster_node02_address: ${_param:kubernetes_control_node02_address}
61 cluster_node02_port: 4001
62 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
63 cluster_node03_address: ${_param:kubernetes_control_node03_address}
64 cluster_node03_port: 4001
65
66 # calico
67 calico_private_network: 192.168.0.0
68 calico_private_netmask: 16
69
70 linux:
71 network:
Tomáš Kukrál3df2d162017-05-02 11:50:38 +020072 resolv:
73 domain: virtual-mcp11-k8s-calico.local
74 options:
75 - ndots:5
76 - timeout:2
77 - attempts:2
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020078 host:
79 ctl:
80 address: ${_param:kubernetes_control_address}
81 names:
82 - ${_param:kubernetes_control_hostname}
83 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
84 ctl01:
85 address: ${_param:kubernetes_control_node01_address}
86 names:
87 - ${_param:kubernetes_control_node01_hostname}
88 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
89 ctl02:
90 address: ${_param:kubernetes_control_node02_address}
91 names:
92 - ${_param:kubernetes_control_node02_hostname}
93 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
94 ctl03:
95 address: ${_param:kubernetes_control_node03_address}
96 names:
97 - ${_param:kubernetes_control_node03_hostname}
98 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
99 cmp01:
100 address: ${_param:kubernetes_compute_node01_address}
101 names:
102 - ${_param:kubernetes_compute_node01_hostname}
103 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
104 cmp02:
105 address: ${_param:kubernetes_compute_node02_address}
106 names:
107 - ${_param:kubernetes_compute_node02_hostname}
108 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
109 prx01:
110 address: ${_param:kubernetes_proxy_node01_address}
111 names:
112 - ${_param:kubernetes_proxy_node01_hostname}
113 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
Tomáš Kukrál9f32b112017-04-29 10:37:42 +0200114 system:
115 rc:
116 local: |
117 #!/bin/sh -e
118 #
119 # rc.local
120 #
121 ######### This file is managed by Salt! ##########
122 # This script is executed at the end of each multiuser runlevel.
123 # Make sure that the script will "exit 0" on success or any other
124 # value on error.
125 #
126 ip r a 10.254.0.0/16 dev ens4
127 exit 0