blob: 5e53a55c5358d8e083234aa94d38f46ad13548f7 [file] [log] [blame]
Ales Komarek6f7caae2017-05-17 16:30:06 +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
Ales Komarek6f7caae2017-05-17 16:30:06 +020016 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
17
vrovachev0f291422017-06-21 18:30:01 +040018 # docker package version
Andrey Shestakovb85c4b12018-06-12 13:19:06 +030019 kubernetes_docker_package: docker-engine=1.13.1-0~ubuntu-xenial
vrovachev0f291422017-06-21 18:30:01 +040020
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030021 # component docker images
ashestakov7acc4c62018-02-27 14:23:05 +000022 kubernetes_calico_calicoctl_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/ctl:latest
Matthew Mosesohn155b1892017-06-02 15:43:33 +030023 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
Victor Ryzhenkin8dbe7012018-06-06 17:40:36 +040026 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.10.4-4
27 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.10.4-4
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030028 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
29 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
30 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040031 kubernetes_externaldns_image: mirantis/external-dns:latest
32 kubernetes_externaldns_provider: coredns
Matthew Mosesohnbb05ea32017-06-01 16:40:21 +030033
vrovachev0f291422017-06-21 18:30:01 +040034 # switches of addons
35 kubernetes_helm_enabled: true
36 kubernetes_netchecker_enabled: true
37 kubernetes_calico_policy_enabled: false
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040038 kubernetes_coredns_enabled: false
39 kubernetes_externaldns_enabled: false
vrovachev0f291422017-06-21 18:30:01 +040040
Ales Komarek6f7caae2017-05-17 16:30:06 +020041 # addresses and hostnames
42 kubernetes_internal_api_address: 10.254.0.1
43 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020044 kubernetes_control_address: 192.168.10.253
Ales Komarek6f7caae2017-05-17 16:30:06 +020045 kubernetes_control_node01_hostname: ctl01
46 kubernetes_control_node02_hostname: ctl02
47 kubernetes_control_node03_hostname: ctl03
48 kubernetes_compute_node01_hostname: cmp01
49 kubernetes_compute_node02_hostname: cmp02
50 kubernetes_control_node01_address: 172.16.10.101
51 kubernetes_control_node02_address: 172.16.10.102
52 kubernetes_control_node03_address: 172.16.10.103
53 kubernetes_compute_node01_address: 172.16.10.105
54 kubernetes_compute_node02_address: 172.16.10.106
55 kubernetes_proxy_node01_hostname: prx01
56 kubernetes_proxy_node01_address: 172.16.10.121
57
58 cluster_vip_address: ${_param:kubernetes_control_address}
59 cluster_local_address: ${_param:single_address}
60
61 # etcd stuff
62 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
63 cluster_node01_address: ${_param:kubernetes_control_node01_address}
64 cluster_node01_port: 4001
65 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
66 cluster_node02_address: ${_param:kubernetes_control_node02_address}
67 cluster_node02_port: 4001
68 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
69 cluster_node03_address: ${_param:kubernetes_control_node03_address}
70 cluster_node03_port: 4001
71
72 # calico
73 calico_private_network: 192.168.0.0
74 calico_private_netmask: 16
75
76 linux:
77 network:
78 resolv:
79 domain: virtual-mcp11-k8s-calico.local
80 options:
81 - ndots:5
82 - timeout:2
83 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020084 purge_hosts: true
Ales Komarek6f7caae2017-05-17 16:30:06 +020085 host:
86 ctl:
87 address: ${_param:kubernetes_control_address}
88 names:
89 - ${_param:kubernetes_control_hostname}
90 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
91 ctl01:
92 address: ${_param:kubernetes_control_node01_address}
93 names:
94 - ${_param:kubernetes_control_node01_hostname}
95 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
96 ctl02:
97 address: ${_param:kubernetes_control_node02_address}
98 names:
99 - ${_param:kubernetes_control_node02_hostname}
100 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
101 ctl03:
102 address: ${_param:kubernetes_control_node03_address}
103 names:
104 - ${_param:kubernetes_control_node03_hostname}
105 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
106 cmp01:
107 address: ${_param:kubernetes_compute_node01_address}
108 names:
109 - ${_param:kubernetes_compute_node01_hostname}
110 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
111 cmp02:
112 address: ${_param:kubernetes_compute_node02_address}
113 names:
114 - ${_param:kubernetes_compute_node02_hostname}
115 - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain}
116 prx01:
117 address: ${_param:kubernetes_proxy_node01_address}
118 names:
119 - ${_param:kubernetes_proxy_node01_hostname}
120 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
121 system:
122 rc:
123 local: |
124 #!/bin/sh -e
125 #
126 # rc.local
127 #
128 ######### This file is managed by Salt! ##########
129 # This script is executed at the end of each multiuser runlevel.
130 # Make sure that the script will "exit 0" on success or any other
131 # value on error.
132 #
133 ip r a 10.254.0.0/16 dev ens4
134 exit 0