blob: 61a6be8f4f5f0642c25f895d990863c442f2d80c [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
25 kubernetes_hyperkube_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/hyperkube-amd64:v1.6.2-2
26 kubernetes_netchecker_agent_image: mirantis/k8s-netchecker-agent:latest
27 kubernetes_netchecker_server_image: mirantis/k8s-netchecker-server:latest
28 kubernetes_calico_policy_image: calico/kube-policy-controller:v0.5.4
29
30 # addresses and hostnames
31 kubernetes_internal_api_address: 10.254.0.1
32 kubernetes_control_hostname: ctl
33 kubernetes_control_address: 172.16.10.253
34 kubernetes_control_node01_hostname: ctl01
35 kubernetes_control_node02_hostname: ctl02
36 kubernetes_control_node03_hostname: ctl03
37 kubernetes_compute_node01_hostname: cmp01
38 kubernetes_control_node01_address: 172.16.10.101
39 kubernetes_control_node02_address: 172.16.10.102
40 kubernetes_control_node03_address: 172.16.10.103
41 kubernetes_compute_node01_address: 172.16.10.105
42
43 cluster_vip_address: ${_param:kubernetes_control_address}
44 cluster_local_address: ${_param:single_address}
45
46 # etcd stuff
47 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
48 cluster_node01_address: ${_param:kubernetes_control_node01_address}
49 cluster_node01_port: 4001
50 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
51 cluster_node02_address: ${_param:kubernetes_control_node02_address}
52 cluster_node02_port: 4001
53 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
54 cluster_node03_address: ${_param:kubernetes_control_node03_address}
55 cluster_node03_port: 4001
56
57 # calico
58 calico_private_network: 192.168.0.0
59 calico_private_netmask: 16
60
61 # k8s addons
62 kubernetes_calico_policy_enabled: false
63 kubernetes_helm_enabled: true
64 kubernetes_netchecker_enabled: true
65
66 linux:
67 network:
68 resolv:
69 domain: virtual-mcp11-k8s-calico-minimal.local
70 options:
71 - ndots:5
72 - timeout:2
73 - attempts:2
74 host:
75 ctl:
76 address: ${_param:kubernetes_control_address}
77 names:
78 - ${_param:kubernetes_control_hostname}
79 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
80 ctl01:
81 address: ${_param:kubernetes_control_node01_address}
82 names:
83 - ${_param:kubernetes_control_node01_hostname}
84 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
85 ctl02:
86 address: ${_param:kubernetes_control_node02_address}
87 names:
88 - ${_param:kubernetes_control_node02_hostname}
89 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
90 ctl03:
91 address: ${_param:kubernetes_control_node03_address}
92 names:
93 - ${_param:kubernetes_control_node03_hostname}
94 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
95 cmp01:
96 address: ${_param:kubernetes_compute_node01_address}
97 names:
98 - ${_param:kubernetes_compute_node01_hostname}
99 - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain}
100 system:
101 rc:
102 local: |
103 #!/bin/sh -e
104 #
105 # rc.local
106 #
107 ######### This file is managed by Salt! ##########
108 # This script is executed at the end of each multiuser runlevel.
109 # Make sure that the script will "exit 0" on success or any other
110 # value on error.
111 #
112 ip r a 10.254.0.0/16 dev ens4
113 exit 0