blob: c556728fc7504c9460ec2cd94e477b48f675e9c0 [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
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
43 kubernetes:
44 pool:
45 kubelet:
46 fail_on_swap: ${_param:kubelet_fail_on_swap}
47 enabled: true
48 network:
49 engine: none
50 opencontrail:
51 enabled: false
Svimbab666ea92018-06-08 11:00:25 +020052 kube_proxy:
53 enabled: false
Svimba6f9ffc52018-06-05 17:36:36 +020054 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
Svimbab666ea92018-06-08 11:00:25 +0200101 config:
102 api:
103 host: ${_param:keepalived_vip_address}
Svimba6f9ffc52018-06-05 17:36:36 +0200104 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}