blob: 05b6ad758953cd8206e1989f90c099197126c033 [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
22 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
Andrey Shestakov1c945bb2017-12-19 12:13:45 +020025 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.8.5-4
Sergey Vasilenkof4e62db2017-06-21 15:40:41 +030026 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:v1.1.0
27 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:v1.1.0
28 kubernetes_netchecker_agent_probeurls: "http://ipinfo.io"
Artem Panchenkofce4c642017-05-22 16:59:03 +030029 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040030 kubernetes_externaldns_image: mirantis/external-dns:latest
31 kubernetes_externaldns_provider: coredns
Artem Panchenkofce4c642017-05-22 16:59:03 +030032
33 # addresses and hostnames
34 kubernetes_internal_api_address: 10.254.0.1
35 kubernetes_control_hostname: ctl
Sergii Golovatiuka7a19d52017-07-20 18:20:26 +020036 kubernetes_control_address: 192.168.10.253
Artem Panchenkofce4c642017-05-22 16:59:03 +030037 kubernetes_control_node01_hostname: ctl01
38 kubernetes_control_node02_hostname: ctl02
39 kubernetes_control_node03_hostname: ctl03
40 kubernetes_compute_node01_hostname: cmp01
41 kubernetes_control_node01_address: 172.16.10.101
42 kubernetes_control_node02_address: 172.16.10.102
43 kubernetes_control_node03_address: 172.16.10.103
44 kubernetes_compute_node01_address: 172.16.10.105
45
46 cluster_vip_address: ${_param:kubernetes_control_address}
47 cluster_local_address: ${_param:single_address}
48
49 # etcd stuff
50 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
51 cluster_node01_address: ${_param:kubernetes_control_node01_address}
52 cluster_node01_port: 4001
53 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
54 cluster_node02_address: ${_param:kubernetes_control_node02_address}
55 cluster_node02_port: 4001
56 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
57 cluster_node03_address: ${_param:kubernetes_control_node03_address}
58 cluster_node03_port: 4001
59
60 # calico
61 calico_private_network: 192.168.0.0
62 calico_private_netmask: 16
63
64 # k8s addons
65 kubernetes_calico_policy_enabled: false
66 kubernetes_helm_enabled: true
67 kubernetes_netchecker_enabled: true
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040068 kubernetes_coredns_enabled: false
69 kubernetes_externaldns_enabled: false
Artem Panchenkofce4c642017-05-22 16:59:03 +030070
71 linux:
72 network:
73 resolv:
74 domain: virtual-mcp11-k8s-calico-minimal.local
75 options:
76 - ndots:5
77 - timeout:2
78 - attempts:2
Jiri Broulik021095b2017-08-23 14:30:22 +020079 purge_hosts: true
Artem Panchenkofce4c642017-05-22 16:59:03 +030080 host:
81 ctl:
82 address: ${_param:kubernetes_control_address}
83 names:
84 - ${_param:kubernetes_control_hostname}
85 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
86 ctl01:
87 address: ${_param:kubernetes_control_node01_address}
88 names:
89 - ${_param:kubernetes_control_node01_hostname}
90 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
91 ctl02:
92 address: ${_param:kubernetes_control_node02_address}
93 names:
94 - ${_param:kubernetes_control_node02_hostname}
95 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
96 ctl03:
97 address: ${_param:kubernetes_control_node03_address}
98 names:
99 - ${_param:kubernetes_control_node03_hostname}
100 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
101 cmp01:
102 address: ${_param:kubernetes_compute_node01_address}
103 names:
104 - ${_param:kubernetes_compute_node01_hostname}
105 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
106 system:
107 rc:
108 local: |
109 #!/bin/sh -e
110 #
111 # rc.local
112 #
113 ######### This file is managed by Salt! ##########
114 # This script is executed at the end of each multiuser runlevel.
115 # Make sure that the script will "exit 0" on success or any other
116 # value on error.
117 #
118 ip r a 10.254.0.0/16 dev ens4
119 exit 0