blob: 45f9465a9fd136b2523fe6829b9f784691bfc490 [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
Victor Ryzhenkinafeea292018-06-07 16:58:58 +04005- system.keepalived.cluster.instance.kube_api_server_vip
Svimba6f9ffc52018-06-05 17:36:36 +02006- 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
Victor Ryzhenkinc6a77182018-06-09 18:46:41 +040012- system.kubernetes.control.roles.cluster-admin
Svimba6f9ffc52018-06-05 17:36:36 +020013- cluster.k8s-ha-contrail-40.infra
Svimba7fee6732018-06-06 17:15:18 +020014- cluster.overrides
Svimba6f9ffc52018-06-05 17:36:36 +020015parameters:
16 _param:
Victor Ryzhenkinafeea292018-06-07 16:58:58 +040017 keepalived_k8s_apiserver_vip_interface: ens4
18 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
19 keepalived_k8s_apiserver_vip_password: password
Svimba6f9ffc52018-06-05 17:36:36 +020020
21 linux:
22 network:
23 interface:
24 ens3:
25 enabled: true
26 type: eth
27 mtu: 1500
Svimbaac98a672018-06-07 14:01:34 +020028 proto: dhcp
Svimba6f9ffc52018-06-05 17:36:36 +020029 ens4:
30 enabled: true
31 type: eth
32 mtu: 1500
Svimba6f9ffc52018-06-05 17:36:36 +020033 netmask: '255.255.255.0'
Svimbab666ea92018-06-08 11:00:25 +020034 address: ${_param:single_address}
35 pre_up_cmds:
36 - ip addr flush dev ens4
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
Svimba1abc83c2018-06-14 10:14:36 +020045 docker:
46 host:
47 options:
48 bip: 172.31.255.1/24
Svimba6f9ffc52018-06-05 17:36:36 +020049 kubernetes:
50 pool:
51 kubelet:
52 fail_on_swap: ${_param:kubelet_fail_on_swap}
53 enabled: true
54 network:
55 engine: none
56 opencontrail:
57 enabled: false
Svimbab666ea92018-06-08 11:00:25 +020058 kube_proxy:
59 enabled: false
Svimba6f9ffc52018-06-05 17:36:36 +020060 common:
61 addons:
62 dashboard:
63 enabled: ${_param:kubernetes_dashboard}
64 image: ${_param:kubernetes_dashboard_image}
65 helm:
66 enabled: ${_param:kubernetes_helm_enabled}
67 netchecker:
68 enabled: ${_param:kubernetes_netchecker_enabled}
69 agent_image: ${_param:kubernetes_netchecker_agent_image}
70 server_image: ${_param:kubernetes_netchecker_server_image}
71 dns:
72 enabled: ${_param:kubernetes_dns}
73 kubedns_image: ${_param:kubernetes_kubedns_image}
74 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
75 sidecar_image: ${_param:kubernetes_sidecar_image}
76 autoscaler:
77 image: ${_param:kubernetes_dns_autoscaler_image}
78 coredns:
79 enabled: ${_param:kubernetes_coredns_enabled}
80 externaldns:
81 enabled: ${_param:kubernetes_externaldns_enabled}
82 image: ${_param:kubernetes_externaldns_image}
83 provider: ${_param:kubernetes_externaldns_provider}
84 hyperkube:
85 image: ${_param:kubernetes_hyperkube_image}
86 master:
87 kubelet:
88 address: ${_param:single_address}
89 fail_on_swap: ${_param:kubelet_fail_on_swap}
90 etcd:
91 ssl:
92 enabled: true
93 network:
94 opencontrail:
95 enabled: true
96 version: 4.0
97 host: ${_param:keepalived_vip_address}
98 port: 8082
99 default_domain: default-domain
100 default_project: default-domain:default
101 public_network: default-domain:default:Public
102 public_ip_range: 185.22.97.128/26
103 public_network: default-domain:default-project:Public
104 private_ip_range: 10.150.0.0/16
105 network_manager:
106 image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager
Svimbab666ea92018-06-08 11:00:25 +0200107 config:
108 api:
109 host: ${_param:keepalived_vip_address}
Svimba6f9ffc52018-06-05 17:36:36 +0200110 identity:
111 auth_user: admin
112 auth_password: contrail123
113 auth_tenant: admin
114 message_queue:
115 host: ${_param:single_address}
116 database:
117 members:
118 - host: ${_param:kubernetes_control_node01_address}
119 port: 9161
120 - host: ${_param:kubernetes_control_node02_address}
121 port: 9161
122 - host: ${_param:kubernetes_control_node03_address}
123 port: 9161
124 collector:
125 members:
126 - host: ${_param:kubernetes_control_node01_address}
127 - host: ${_param:kubernetes_control_node02_address}
128 - host: ${_param:kubernetes_control_node03_address}