blob: a80279cc6313b252b7fff823573dcb547fb8c6a1 [file] [log] [blame]
Artem Panchenkofce4c642017-05-22 16:59:03 +03001parameters:
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
15 kubernetes_mtu: 1500
16 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
17
18 # docker package version
19 kubernetes_docker_package: docker-engine=1.12.6-0~ubuntu-xenial
20
21 # 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
Artem Panchenkofce4c642017-05-22 16:59:03 +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
Andrey Shestakovc2744892018-04-19 18:15:19 +030025 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.11-9
Andrey Shestakov9b5c7cc2018-05-23 13:51:10 +030026 kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.8.11-9
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"
Artem Panchenkofce4c642017-05-22 16:59:03 +030030 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040031 kubernetes_externaldns_image: mirantis/external-dns:latest
32 kubernetes_externaldns_provider: coredns
Artem Panchenkofce4c642017-05-22 16:59:03 +030033
34 # addresses and hostnames
35 kubernetes_internal_api_address: 10.254.0.1
36 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020037 kubernetes_control_address: 192.168.10.253
Artem Panchenkofce4c642017-05-22 16:59:03 +030038 kubernetes_control_node01_hostname: ctl01
39 kubernetes_control_node02_hostname: ctl02
40 kubernetes_control_node03_hostname: ctl03
41 kubernetes_compute_node01_hostname: cmp01
42 kubernetes_control_node01_address: 172.16.10.101
43 kubernetes_control_node02_address: 172.16.10.102
44 kubernetes_control_node03_address: 172.16.10.103
45 kubernetes_compute_node01_address: 172.16.10.105
46
47 cluster_vip_address: ${_param:kubernetes_control_address}
48 cluster_local_address: ${_param:single_address}
49
50 # etcd stuff
51 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
52 cluster_node01_address: ${_param:kubernetes_control_node01_address}
53 cluster_node01_port: 4001
54 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
55 cluster_node02_address: ${_param:kubernetes_control_node02_address}
56 cluster_node02_port: 4001
57 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
58 cluster_node03_address: ${_param:kubernetes_control_node03_address}
59 cluster_node03_port: 4001
60
61 # calico
62 calico_private_network: 192.168.0.0
63 calico_private_netmask: 16
64
65 # k8s addons
66 kubernetes_calico_policy_enabled: false
67 kubernetes_helm_enabled: true
68 kubernetes_netchecker_enabled: true
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040069 kubernetes_coredns_enabled: false
70 kubernetes_externaldns_enabled: false
Artem Panchenkofce4c642017-05-22 16:59:03 +030071
72 linux:
73 network:
74 resolv:
75 domain: virtual-mcp11-k8s-calico-minimal.local
76 options:
77 - ndots:5
78 - timeout:2
79 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020080 purge_hosts: true
Artem Panchenkofce4c642017-05-22 16:59:03 +030081 host:
82 ctl:
83 address: ${_param:kubernetes_control_address}
84 names:
85 - ${_param:kubernetes_control_hostname}
86 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
87 ctl01:
88 address: ${_param:kubernetes_control_node01_address}
89 names:
90 - ${_param:kubernetes_control_node01_hostname}
91 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
92 ctl02:
93 address: ${_param:kubernetes_control_node02_address}
94 names:
95 - ${_param:kubernetes_control_node02_hostname}
96 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
97 ctl03:
98 address: ${_param:kubernetes_control_node03_address}
99 names:
100 - ${_param:kubernetes_control_node03_hostname}
101 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
102 cmp01:
103 address: ${_param:kubernetes_compute_node01_address}
104 names:
105 - ${_param:kubernetes_compute_node01_hostname}
106 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
107 system:
108 rc:
109 local: |
110 #!/bin/sh -e
111 #
112 # rc.local
113 #
114 ######### This file is managed by Salt! ##########
115 # This script is executed at the end of each multiuser runlevel.
116 # Make sure that the script will "exit 0" on success or any other
117 # value on error.
118 #
119 ip r a 10.254.0.0/16 dev ens4
120 exit 0