blob: d0f2406b853d69630966f7f94ee9956c05241bcd [file] [log] [blame]
Mohammed Naser54ee9922023-07-22 18:40:25 +00001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for openvswitch.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19release_group: null
20
21images:
22 tags:
23 ovn_ovsdb_nb: docker.io/openstackhelm/ovn:latest-ubuntu_focal
24 ovn_ovsdb_sb: docker.io/openstackhelm/ovn:latest-ubuntu_focal
25 ovn_northd: docker.io/openstackhelm/ovn:latest-ubuntu_focal
26 ovn_controller: docker.io/openstackhelm/ovn:latest-ubuntu_focal
27 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
28 image_repo_sync: docker.io/library/docker:17.07.0
Oleksandr Kdf7761d2024-07-11 03:47:59 +020029 vector: docker.io/timberio/vector:0.39.0-debian
30 ovn_logging_parser: docker.io/openstackhelm/neutron:2024.1-ubuntu_jammy
Mohammed Naser54ee9922023-07-22 18:40:25 +000031 pull_policy: "IfNotPresent"
32 local_registry:
33 active: false
34 exclude:
35 - dep_check
36 - image_repo_sync
37
38labels:
39 ovn_ovsdb_nb:
okozachenko120383519462023-07-29 01:30:02 +100040 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000041 node_selector_value: enabled
42 ovn_ovsdb_sb:
okozachenko120383519462023-07-29 01:30:02 +100043 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000044 node_selector_value: enabled
45 ovn_northd:
okozachenko120383519462023-07-29 01:30:02 +100046 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000047 node_selector_value: enabled
48 ovn_controller:
okozachenko120383519462023-07-29 01:30:02 +100049 node_selector_key: openstack-compute-node
okozachenko1203f329c542023-07-27 22:42:01 +100050 node_selector_value: enabled
51 ovn_controller_gw:
52 node_selector_key: openstack-control-plane
Mohammed Naser54ee9922023-07-22 18:40:25 +000053 node_selector_value: enabled
54
55volume:
56 ovn_ovsdb_nb:
57 enabled: true
58 class_name: general
59 size: 5Gi
60 ovn_ovsdb_sb:
61 enabled: true
62 class_name: general
63 size: 5Gi
64
65network:
66 interface:
67 # Tunnel interface will be used for VXLAN tunneling.
68 tunnel: null
69 # If tunnel is null there is a fallback mechanism to search
70 # for interface with routing using tunnel network cidr.
71 tunnel_network_cidr: "0/0"
72
73conf:
okozachenko1203f329c542023-07-27 22:42:01 +100074 ovn_cms_options: "availability-zones=nova"
75 gw_ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
Mohammed Naser54ee9922023-07-22 18:40:25 +000076 ovn_encap_type: geneve
77 ovn_bridge: br-int
78 ovn_bridge_mappings: external:br-ex
thywyne85e0ed2023-12-22 16:52:24 +000079 # For DPDK enabled environments, enable netdev datapath type for br-int
80 # ovn_bridge_datapath_type: netdev
Mohammed Naser54ee9922023-07-22 18:40:25 +000081
82 # auto_bridge_add:
83 # br-private: eth0
84 # br-public: eth1
85 auto_bridge_add: {}
86
87 # NOTE: should be same as nova.conf.use_fqdn.compute
88 use_fqdn:
89 compute: true
90
Oleksandr Kdf7761d2024-07-11 03:47:59 +020091 ovn_network_logging_parser_uwsgi:
92 uwsgi:
93 add-header: "Connection: close"
94 buffer-size: 65535
95 die-on-term: true
96 enable-threads: true
97 exit-on-reload: false
98 hook-master-start: unix_signal:15 gracefully_kill_them_all
99 lazy-apps: true
100 log-x-forwarded-for: true
101 master: true
102 processes: 1
103 procname-prefix-spaced: "neutron-ovn-network-logging-parser:"
104 route-user-agent: '^kube-probe.* donotlog:'
105 thunder-lock: true
106 worker-reload-mercy: 80
107 wsgi-file: /var/lib/openstack/bin/neutron-ovn-network-logging-parser-wsgi
108
Mohammed Naser54ee9922023-07-22 18:40:25 +0000109pod:
110 security_context:
111 ovn_northd:
112 container:
113 northd:
114 capabilities:
115 add:
116 - SYS_NICE
117 ovn_controller:
118 container:
Mohammed Naser1d75a922023-07-23 19:24:49 +0000119 controller_init:
120 privileged: true
121 runAsUser: 0
Mohammed Naser54ee9922023-07-22 18:40:25 +0000122 controller:
123 capabilities:
124 add:
125 - SYS_NICE
okozachenko1203f329c542023-07-27 22:42:01 +1000126 ovn_controller_gw:
127 container:
128 controller_init:
129 privileged: true
130 runAsUser: 0
131 controller:
132 capabilities:
133 add:
134 - SYS_NICE
Oleksandr Kdf7761d2024-07-11 03:47:59 +0200135 ovn_logging_parser:
136 allowPrivilegeEscalation: false
137 readOnlyRootFilesystem: true
138 vector:
139 allowPrivilegeEscalation: false
140 readOnlyRootFilesystem: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000141 tolerations:
142 ovn_ovsdb_nb:
143 enabled: false
144 ovn_ovsdb_sb:
145 enabled: false
146 ovn_northd:
147 enabled: false
148 ovn_controller:
149 enabled: false
okozachenko1203f329c542023-07-27 22:42:01 +1000150 ovn_controller_gw:
151 enabled: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000152 affinity:
153 anti:
154 type:
155 default: preferredDuringSchedulingIgnoredDuringExecution
156 topologyKey:
157 default: kubernetes.io/hostname
158 weight:
159 default: 10
160
161 probes:
162 ovn_northd:
163 northd:
164 readiness:
165 enabled: true
166 params:
Mohammed Naser12207172024-02-05 18:49:35 -0500167 initialDelaySeconds: 30
168 timeoutSeconds: 30
169 periodSeconds: 60
170 ovn_ovsdb_nb:
171 ovsdb:
172 readiness:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000173 enabled: true
174 params:
Mohammed Naser12207172024-02-05 18:49:35 -0500175 initialDelaySeconds: 30
176 timeoutSeconds: 30
177 periodSeconds: 60
178 ovn_ovsdb_sb:
179 ovsdb:
180 readiness:
181 enabled: true
182 params:
183 initialDelaySeconds: 30
184 timeoutSeconds: 30
185 periodSeconds: 60
186 ovn_controller:
187 controller:
188 readiness:
189 enabled: true
190 params:
191 initialDelaySeconds: 30
192 timeoutSeconds: 30
193 periodSeconds: 60
194 ovn_controller_gw:
195 controller:
196 readiness:
197 enabled: true
198 params:
199 initialDelaySeconds: 30
200 timeoutSeconds: 30
201 periodSeconds: 60
Mohammed Naser54ee9922023-07-22 18:40:25 +0000202 dns_policy: "ClusterFirstWithHostNet"
203 replicas:
204 ovn_ovsdb_nb: 1
205 ovn_ovsdb_sb: 1
206 ovn_northd: 1
207 lifecycle:
208 upgrades:
209 daemonsets:
210 pod_replacement_strategy: RollingUpdate
211 ovn_ovsdb_nb:
212 enabled: true
213 min_ready_seconds: 0
214 max_unavailable: 1
215 ovn_ovsdb_sb:
216 enabled: true
217 min_ready_seconds: 0
218 max_unavailable: 1
219 ovn_northd:
220 enabled: true
221 min_ready_seconds: 0
222 max_unavailable: 1
223 ovn_controller:
224 enabled: true
225 min_ready_seconds: 0
226 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000227 ovn_controller_gw:
228 enabled: true
229 min_ready_seconds: 0
230 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000231 resources:
232 enabled: false
233 ovs:
234 ovn_ovsdb_nb:
235 requests:
Mohammed Naser12207172024-02-05 18:49:35 -0500236 memory: "384Mi"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000237 cpu: "100m"
238 limits:
239 memory: "1024Mi"
Mohammed Naser12207172024-02-05 18:49:35 -0500240 cpu: "1000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000241 ovn_ovsdb_sb:
242 requests:
Mohammed Naser12207172024-02-05 18:49:35 -0500243 memory: "384Mi"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000244 cpu: "100m"
245 limits:
246 memory: "1024Mi"
Mohammed Naser12207172024-02-05 18:49:35 -0500247 cpu: "1000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000248 ovn_northd:
249 requests:
250 memory: "128Mi"
251 cpu: "100m"
252 limits:
253 memory: "1024Mi"
254 cpu: "2000m"
255 ovn_controller:
256 requests:
257 memory: "128Mi"
258 cpu: "100m"
259 limits:
260 memory: "1024Mi"
261 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000262 ovn_controller_gw:
263 requests:
264 memory: "128Mi"
265 cpu: "100m"
266 limits:
267 memory: "1024Mi"
268 cpu: "2000m"
Oleksandr Kdf7761d2024-07-11 03:47:59 +0200269 ovn_controller_gw:
270 ovn_logging_parser:
271 requests:
272 memory: "128Mi"
273 cpu: "100m"
274 limits:
275 memory: "256Mi"
276 cpu: "500m"
277 vector:
278 requests:
279 memory: "128Mi"
280 cpu: "100m"
281 limits:
282 memory: "256Mi"
283 cpu: "500m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000284 jobs:
285 image_repo_sync:
286 requests:
287 memory: "128Mi"
288 cpu: "100m"
289 limits:
290 memory: "1024Mi"
291 cpu: "2000m"
Oleksandr Kdf7761d2024-07-11 03:47:59 +0200292 sidecars:
293 ovn_logging_parser: false
294 vector: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000295
296secrets:
297 oci_image_registry:
298 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
299 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
300 ovn_northd: ovn-northd-oci-image-registry-key
301 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000302 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000303
304# TODO: Check these endpoints?!
305endpoints:
306 cluster_domain_suffix: cluster.local
307 local_image_registry:
308 name: docker-registry
309 namespace: docker-registry
310 hosts:
311 default: localhost
312 internal: docker-registry
313 node: localhost
314 host_fqdn_override:
315 default: null
316 port:
317 registry:
318 node: 5000
319 oci_image_registry:
320 name: oci-image-registry
321 namespace: oci-image-registry
322 auth:
323 enabled: false
324 openvswitch:
325 username: openvswitch
326 password: password
327 hosts:
328 default: localhost
329 host_fqdn_override:
330 default: null
331 port:
332 registry:
333 default: null
334 ovn_ovsdb_nb:
335 name: ovn-ovsdb-nb
336 namespace: null
337 hosts:
338 default: ovn-ovsdb-nb
339 host_fqdn_override:
340 default: null
341 port:
342 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000343 default: 6641
344 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000345 default: 6643
346 ovn_ovsdb_sb:
347 name: ovn-ovsdb-sb
348 namespace: null
349 hosts:
350 default: ovn-ovsdb-sb
351 host_fqdn_override:
352 default: null
353 port:
354 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000355 default: 6642
356 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000357 default: 6644
Oleksandr Kdf7761d2024-07-11 03:47:59 +0200358 ovn_logging_parser:
359 name: ovn-logging-parser
360 namespace: null
361 hosts:
362 default: localhost
363 host_fqdn_override:
364 default: localhost
365 scheme:
366 default: 'http'
367 service: 'http'
368 path:
369 default: "/logs"
370 port:
371 api:
372 default: 9697
373 service: 9697
Mohammed Naser54ee9922023-07-22 18:40:25 +0000374
375network_policy:
376 ovn_ovsdb_nb:
377 ingress:
378 - {}
379 egress:
380 - {}
381 ovn_ovsdb_sb:
382 ingress:
383 - {}
384 egress:
385 - {}
386 ovn_northd:
387 ingress:
388 - {}
389 egress:
390 - {}
391 ovn_controller:
392 ingress:
393 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000394 ovn_controller_gw:
395 ingress:
396 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000397 egress:
398 - {}
399
400dependencies:
401 dynamic:
402 common:
403 local_image_registry:
404 jobs:
405 - openvswitch-image-repo-sync
406 services:
407 - endpoint: node
408 service: local_image_registry
409 static:
410 ovn_ovsdb_nb: null
411 ovn_ovsdb_sb: null
412 ovn_northd:
413 services:
414 - endpoint: internal
415 service: ovn-ovsdb-nb
416 - endpoint: internal
417 service: ovn-ovsdb-sb
418 ovn_controller:
419 services:
420 - endpoint: internal
421 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000422 ovn_controller_gw:
423 services:
424 - endpoint: internal
425 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000426 pod:
427 - requireSameNode: true
428 labels:
429 application: openvswitch
430 component: server
431 image_repo_sync:
432 services:
433 - endpoint: internal
434 service: local_image_registry
435
436manifests:
437 configmap_bin: true
438 configmap_etc: true
439 deployment_northd: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000440 service_ovn_ovsdb_nb: true
441 service_ovn_ovsdb_sb: true
442 statefulset_ovn_ovsdb_nb: true
443 statefulset_ovn_ovsdb_sb: true
444 deployment_ovn_northd: true
445 daemonset_ovn_controller: true
okozachenko1203f329c542023-07-27 22:42:01 +1000446 daemonset_ovn_controller_gw: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000447 job_image_repo_sync: true
448...