blob: e97eedeed95dffb1f93ffa4ad821b5249149a8fb [file] [log] [blame]
Svimba6f9ffc52018-06-05 17:36:36 +02001classes:
2- service.etcd.server.cluster
3- service.kubernetes.control.cluster
Svimba6f9ffc52018-06-05 17:36:36 +02004- system.haproxy.proxy.listen.kubernetes.apiserver
5- system.linux.system.repo.docker_legacy
6- system.kubernetes.pool.cluster
7- system.salt.minion.cert.k8s_client
8- system.salt.minion.cert.etcd_client
9- system.salt.minion.cert.etcd_server
10- system.kubernetes.master.cluster
Victor Ryzhenkinc6a77182018-06-09 18:46:41 +040011- system.kubernetes.control.roles.cluster-admin
Svimba6f9ffc52018-06-05 17:36:36 +020012- cluster.k8s-ha-contrail-40.infra
Svimba7fee6732018-06-06 17:15:18 +020013- cluster.overrides
Svimba6f9ffc52018-06-05 17:36:36 +020014parameters:
15 _param:
Svimba7294cfd2018-06-25 11:07:03 +020016 keepalived_k8s_apiserver_vip_interface: ens4
17 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
Svimba6f9ffc52018-06-05 17:36:36 +020018
19 linux:
20 network:
21 interface:
22 ens3:
23 enabled: true
24 type: eth
25 mtu: 1500
Svimbaac98a672018-06-07 14:01:34 +020026 proto: dhcp
Svimba6f9ffc52018-06-05 17:36:36 +020027 ens4:
28 enabled: true
29 type: eth
30 mtu: 1500
Svimba6f9ffc52018-06-05 17:36:36 +020031 netmask: '255.255.255.0'
Svimbab666ea92018-06-08 11:00:25 +020032 address: ${_param:single_address}
33 pre_up_cmds:
34 - ip addr flush dev ens4
Svimba6f9ffc52018-06-05 17:36:36 +020035 etcd:
36 server:
37 bind:
Svimba7fee6732018-06-06 17:15:18 +020038 host: ${_param:single_address}
Svimba6f9ffc52018-06-05 17:36:36 +020039 source:
40 engine: docker_hybrid
41 ssl:
42 enabled: true
Svimba1abc83c2018-06-14 10:14:36 +020043 docker:
44 host:
45 options:
46 bip: 172.31.255.1/24
Svimba6f9ffc52018-06-05 17:36:36 +020047 kubernetes:
48 pool:
49 kubelet:
50 fail_on_swap: ${_param:kubelet_fail_on_swap}
51 enabled: true
52 network:
53 engine: none
54 opencontrail:
55 enabled: false
Svimbab666ea92018-06-08 11:00:25 +020056 kube_proxy:
57 enabled: false
Svimba6f9ffc52018-06-05 17:36:36 +020058 common:
59 addons:
60 dashboard:
61 enabled: ${_param:kubernetes_dashboard}
62 image: ${_param:kubernetes_dashboard_image}
63 helm:
64 enabled: ${_param:kubernetes_helm_enabled}
65 netchecker:
66 enabled: ${_param:kubernetes_netchecker_enabled}
67 agent_image: ${_param:kubernetes_netchecker_agent_image}
68 server_image: ${_param:kubernetes_netchecker_server_image}
69 dns:
70 enabled: ${_param:kubernetes_dns}
71 kubedns_image: ${_param:kubernetes_kubedns_image}
72 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
73 sidecar_image: ${_param:kubernetes_sidecar_image}
74 autoscaler:
75 image: ${_param:kubernetes_dns_autoscaler_image}
76 coredns:
77 enabled: ${_param:kubernetes_coredns_enabled}
78 externaldns:
79 enabled: ${_param:kubernetes_externaldns_enabled}
80 image: ${_param:kubernetes_externaldns_image}
81 provider: ${_param:kubernetes_externaldns_provider}
82 hyperkube:
83 image: ${_param:kubernetes_hyperkube_image}
84 master:
85 kubelet:
86 address: ${_param:single_address}
87 fail_on_swap: ${_param:kubelet_fail_on_swap}
88 etcd:
89 ssl:
90 enabled: true
91 network:
92 opencontrail:
93 enabled: true
94 version: 4.0
95 host: ${_param:keepalived_vip_address}
96 port: 8082
97 default_domain: default-domain
98 default_project: default-domain:default
99 public_network: default-domain:default:Public
100 public_ip_range: 185.22.97.128/26
101 public_network: default-domain:default-project:Public
102 private_ip_range: 10.150.0.0/16
103 network_manager:
104 image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager
Svimbab666ea92018-06-08 11:00:25 +0200105 config:
106 api:
107 host: ${_param:keepalived_vip_address}
Svimba6f9ffc52018-06-05 17:36:36 +0200108 identity:
109 auth_user: admin
110 auth_password: contrail123
111 auth_tenant: admin
112 message_queue:
113 host: ${_param:single_address}
114 database:
115 members:
116 - host: ${_param:kubernetes_control_node01_address}
117 port: 9161
118 - host: ${_param:kubernetes_control_node02_address}
119 port: 9161
120 - host: ${_param:kubernetes_control_node03_address}
121 port: 9161
122 collector:
123 members:
124 - host: ${_param:kubernetes_control_node01_address}
125 - host: ${_param:kubernetes_control_node02_address}
126 - host: ${_param:kubernetes_control_node03_address}