blob: 0532e508ab3e187ec221d517dc485a3f78c97d5c [file] [log] [blame]
Svimba6f9ffc52018-06-05 17:36:36 +02001classes:
Victor Ryzhenkinea144702018-10-10 03:52:04 +04002- system.etcd.server.cluster
Sergey Kolekonov8ad29592018-10-25 18:44:37 +04003- system.salt.minion.cert.k8s_server
Svimba6f9ffc52018-06-05 17:36:36 +02004- service.kubernetes.control.cluster
Svimba6f9ffc52018-06-05 17:36:36 +02005- 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
Victor Ryzhenkin97dbb872018-06-18 17:01:18 +040012- system.kubernetes.master.auth.rbac
Victor Ryzhenkinc6a77182018-06-09 18:46:41 +040013- system.kubernetes.control.roles.cluster-admin
Svimba6f9ffc52018-06-05 17:36:36 +020014- cluster.k8s-ha-contrail-40.infra
Svimba7fee6732018-06-06 17:15:18 +020015- cluster.overrides
Svimba6f9ffc52018-06-05 17:36:36 +020016parameters:
17 _param:
Svimba7294cfd2018-06-25 11:07:03 +020018 keepalived_k8s_apiserver_vip_interface: ens4
19 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
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}
Vladimir Jigulinb8114182018-10-03 10:19:29 +040084 ingress-nginx:
85 enabled: ${_param:kubernetes_ingressnginx_enabled}
Svimba6f9ffc52018-06-05 17:36:36 +020086 hyperkube:
87 image: ${_param:kubernetes_hyperkube_image}
88 master:
89 kubelet:
90 address: ${_param:single_address}
91 fail_on_swap: ${_param:kubelet_fail_on_swap}
92 etcd:
93 ssl:
94 enabled: true
95 network:
96 opencontrail:
97 enabled: true
98 version: 4.0
99 host: ${_param:keepalived_vip_address}
100 port: 8082
101 default_domain: default-domain
102 default_project: default-domain:default
103 public_network: default-domain:default:Public
104 public_ip_range: 185.22.97.128/26
105 public_network: default-domain:default-project:Public
106 private_ip_range: 10.150.0.0/16
107 network_manager:
108 image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager
Svimbab666ea92018-06-08 11:00:25 +0200109 config:
110 api:
111 host: ${_param:keepalived_vip_address}
Svimba6f9ffc52018-06-05 17:36:36 +0200112 identity:
113 auth_user: admin
114 auth_password: contrail123
115 auth_tenant: admin
116 message_queue:
117 host: ${_param:single_address}
118 database:
119 members:
120 - host: ${_param:kubernetes_control_node01_address}
121 port: 9161
122 - host: ${_param:kubernetes_control_node02_address}
123 port: 9161
124 - host: ${_param:kubernetes_control_node03_address}
125 port: 9161
126 collector:
127 members:
128 - host: ${_param:kubernetes_control_node01_address}
129 - host: ${_param:kubernetes_control_node02_address}
130 - host: ${_param:kubernetes_control_node03_address}