blob: 061f2ee33cebb077c62d289eae429f335ba77c5f [file] [log] [blame]
Matthew Mosesohn0e8bc582017-09-01 16:26: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 etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq
16
17 # addresses and hostnames
18 kubernetes_internal_api_address: 10.254.0.1
19 kubernetes_control_hostname: ctl
20 kubernetes_control_address: 192.168.10.253
21 kubernetes_control_node01_hostname: ctl01
22 kubernetes_control_node02_hostname: ctl02
23 kubernetes_control_node03_hostname: ctl03
24 kubernetes_control_node01_address: 172.16.10.101
25 kubernetes_control_node02_address: 172.16.10.102
26 kubernetes_control_node03_address: 172.16.10.103
27 kubernetes_proxy_node01_hostname: prx01
28 kubernetes_proxy_node01_address: 172.16.10.121
29
30 cluster_vip_address: ${_param:kubernetes_control_address}
31 cluster_local_address: ${_param:single_address}
32
33 # etcd stuff
34 cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname}
35 cluster_node01_address: ${_param:kubernetes_control_node01_address}
36 cluster_node01_port: 4001
37 cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname}
38 cluster_node02_address: ${_param:kubernetes_control_node02_address}
39 cluster_node02_port: 4001
40 cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname}
41 cluster_node03_address: ${_param:kubernetes_control_node03_address}
42 cluster_node03_port: 4001
43
44 # calico
45 calico_private_network: 192.168.0.0
46 calico_private_netmask: 16
47
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040048 # component docker images
49 kubernetes_externaldns_image: mirantis/external-dns:latest
50 kubernetes_externaldns_provider: coredns
51
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040052 kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80
53
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040054 # switches of addons
Andrey Shestakov12059e92018-09-04 12:47:44 +030055 kubernetes_coredns_enabled: true
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040056 kubernetes_externaldns_enabled: false
Vladimir Jigulin7bc766b2018-07-17 14:42:36 +040057 kubernetes_metallb_enabled: false
Victor Ryzhenkin6057f852017-09-25 20:12:46 +040058
Matthew Mosesohn0e8bc582017-09-01 16:26:03 +030059 # OpenStack cloud provider
60 openstack_auth_url: https://cloud-cz.bud.mirantis.net:5000/v3
61 openstack_region_name: RegionOne
62 openstack_tenant_name: k8s-openstack-provider
63 openstack_username: k8s-openstack-provider
64 openstack_password: hjk5ers794wep
65 # Set this with heat template or overrides.yml
66 openstack_subnet_id: null
67 openstack_floating_network_id: 3e868882-d59e-416a-90a1-48cc04cab723
68
69 linux:
70 network:
Matthew Mosesohn0e8bc582017-09-01 16:26:03 +030071 host:
72 ctl:
73 address: ${_param:kubernetes_control_address}
74 names:
75 - ${_param:kubernetes_control_hostname}
76 - ${_param:kubernetes_control_hostname}.${_param:cluster_domain}
77 ctl01:
78 address: ${_param:kubernetes_control_node01_address}
79 names:
80 - ${_param:kubernetes_control_node01_hostname}
81 - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain}
82 ctl02:
83 address: ${_param:kubernetes_control_node02_address}
84 names:
85 - ${_param:kubernetes_control_node02_hostname}
86 - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain}
87 ctl03:
88 address: ${_param:kubernetes_control_node03_address}
89 names:
90 - ${_param:kubernetes_control_node03_hostname}
91 - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain}
92 prx01:
93 address: ${_param:kubernetes_proxy_node01_address}
94 names:
95 - ${_param:kubernetes_proxy_node01_hostname}
96 - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain}
97 linux:
98 network:
99 interface:
100 primary_interface:
101 route:
102 # TODO: Remove comment.
103 # Will work once CI has this in linux formula (packaged): https://gerrit.mcp.mirantis.net/#/c/8952
104 kubernetes_internal:
105 address: 10.254.0.0
106 netmask: 255.255.0.0
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 exit 0