blob: 2f3d81e08f9f28b65d136aeb03ed2e483325deae [file] [log] [blame]
Svimba6f9ffc52018-06-05 17:36:36 +02001classes:
2- service.etcd.server.cluster
3- service.kubernetes.control.cluster
4- service.kubernetes.control.cluster-admin
5- system.haproxy.proxy.listen.kubernetes.apiserver
6- system.linux.system.repo.docker_legacy
7- system.kubernetes.pool.cluster
8- system.salt.minion.cert.k8s_client
9- system.salt.minion.cert.etcd_client
10- system.salt.minion.cert.etcd_server
11- system.kubernetes.master.cluster
12- cluster.k8s-ha-contrail-40.infra
Svimba7fee6732018-06-06 17:15:18 +020013- cluster.overrides
Svimba6f9ffc52018-06-05 17:36:36 +020014parameters:
15 _param:
16 keepalived_vip_interface: ens4
17 keepalived_vip_virtual_router_id: 60
18
19 linux:
20 network:
21 interface:
22 ens3:
23 enabled: true
24 type: eth
25 mtu: 1500
26 address: ${_param:deploy_address}
27 netmask: '255.255.255.0'
Svimba7fee6732018-06-06 17:15:18 +020028 ipflush_onchange: true
29
Svimba6f9ffc52018-06-05 17:36:36 +020030 ens4:
31 enabled: true
32 type: eth
33 mtu: 1500
34 address: ${_param:single_address}
35 netmask: '255.255.255.0'
Svimba7fee6732018-06-06 17:15:18 +020036 ipflush_onchange: true
Svimba6f9ffc52018-06-05 17:36:36 +020037 etcd:
38 server:
39 bind:
Svimba7fee6732018-06-06 17:15:18 +020040 host: ${_param:single_address}
Svimba6f9ffc52018-06-05 17:36:36 +020041 source:
42 engine: docker_hybrid
43 ssl:
44 enabled: true
45 kubernetes:
46 pool:
47 kubelet:
48 fail_on_swap: ${_param:kubelet_fail_on_swap}
49 enabled: true
50 network:
51 engine: none
52 opencontrail:
53 enabled: false
54 common:
55 addons:
56 dashboard:
57 enabled: ${_param:kubernetes_dashboard}
58 image: ${_param:kubernetes_dashboard_image}
59 helm:
60 enabled: ${_param:kubernetes_helm_enabled}
61 netchecker:
62 enabled: ${_param:kubernetes_netchecker_enabled}
63 agent_image: ${_param:kubernetes_netchecker_agent_image}
64 server_image: ${_param:kubernetes_netchecker_server_image}
65 dns:
66 enabled: ${_param:kubernetes_dns}
67 kubedns_image: ${_param:kubernetes_kubedns_image}
68 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
69 sidecar_image: ${_param:kubernetes_sidecar_image}
70 autoscaler:
71 image: ${_param:kubernetes_dns_autoscaler_image}
72 coredns:
73 enabled: ${_param:kubernetes_coredns_enabled}
74 externaldns:
75 enabled: ${_param:kubernetes_externaldns_enabled}
76 image: ${_param:kubernetes_externaldns_image}
77 provider: ${_param:kubernetes_externaldns_provider}
78 hyperkube:
79 image: ${_param:kubernetes_hyperkube_image}
80 master:
81 kubelet:
82 address: ${_param:single_address}
83 fail_on_swap: ${_param:kubelet_fail_on_swap}
84 etcd:
85 ssl:
86 enabled: true
87 network:
88 opencontrail:
89 enabled: true
90 version: 4.0
91 host: ${_param:keepalived_vip_address}
92 port: 8082
93 default_domain: default-domain
94 default_project: default-domain:default
95 public_network: default-domain:default:Public
96 public_ip_range: 185.22.97.128/26
97 public_network: default-domain:default-project:Public
98 private_ip_range: 10.150.0.0/16
99 network_manager:
100 image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager
101# config:
102# api:
103# host: ${_param:opencontrail_control_address}
104 identity:
105 auth_user: admin
106 auth_password: contrail123
107 auth_tenant: admin
108 message_queue:
109 host: ${_param:single_address}
110 database:
111 members:
112 - host: ${_param:kubernetes_control_node01_address}
113 port: 9161
114 - host: ${_param:kubernetes_control_node02_address}
115 port: 9161
116 - host: ${_param:kubernetes_control_node03_address}
117 port: 9161
118 collector:
119 members:
120 - host: ${_param:kubernetes_control_node01_address}
121 - host: ${_param:kubernetes_control_node02_address}
122 - host: ${_param:kubernetes_control_node03_address}