blob: 214dd16f7a220937f55f85d6f8f06646eadd544f [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
29 pull_policy: "IfNotPresent"
30 local_registry:
31 active: false
32 exclude:
33 - dep_check
34 - image_repo_sync
35
36labels:
37 ovn_ovsdb_nb:
okozachenko120383519462023-07-29 01:30:02 +100038 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000039 node_selector_value: enabled
40 ovn_ovsdb_sb:
okozachenko120383519462023-07-29 01:30:02 +100041 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000042 node_selector_value: enabled
43 ovn_northd:
okozachenko120383519462023-07-29 01:30:02 +100044 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000045 node_selector_value: enabled
46 ovn_controller:
okozachenko120383519462023-07-29 01:30:02 +100047 node_selector_key: openstack-compute-node
okozachenko1203f329c542023-07-27 22:42:01 +100048 node_selector_value: enabled
49 ovn_controller_gw:
50 node_selector_key: openstack-control-plane
Mohammed Naser54ee9922023-07-22 18:40:25 +000051 node_selector_value: enabled
52
53volume:
54 ovn_ovsdb_nb:
55 enabled: true
56 class_name: general
57 size: 5Gi
58 ovn_ovsdb_sb:
59 enabled: true
60 class_name: general
61 size: 5Gi
62
63network:
64 interface:
65 # Tunnel interface will be used for VXLAN tunneling.
66 tunnel: null
67 # If tunnel is null there is a fallback mechanism to search
68 # for interface with routing using tunnel network cidr.
69 tunnel_network_cidr: "0/0"
70
71conf:
okozachenko1203f329c542023-07-27 22:42:01 +100072 ovn_cms_options: "availability-zones=nova"
73 gw_ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
Mohammed Naser54ee9922023-07-22 18:40:25 +000074 ovn_encap_type: geneve
75 ovn_bridge: br-int
76 ovn_bridge_mappings: external:br-ex
thywyne85e0ed2023-12-22 16:52:24 +000077 # For DPDK enabled environments, enable netdev datapath type for br-int
78 # ovn_bridge_datapath_type: netdev
Mohammed Naser54ee9922023-07-22 18:40:25 +000079
80 # auto_bridge_add:
81 # br-private: eth0
82 # br-public: eth1
83 auto_bridge_add: {}
84
85 # NOTE: should be same as nova.conf.use_fqdn.compute
86 use_fqdn:
87 compute: true
88
89pod:
90 security_context:
91 ovn_northd:
92 container:
93 northd:
94 capabilities:
95 add:
96 - SYS_NICE
97 ovn_controller:
98 container:
Mohammed Naser1d75a922023-07-23 19:24:49 +000099 controller_init:
100 privileged: true
101 runAsUser: 0
Mohammed Naser54ee9922023-07-22 18:40:25 +0000102 controller:
103 capabilities:
104 add:
105 - SYS_NICE
okozachenko1203f329c542023-07-27 22:42:01 +1000106 ovn_controller_gw:
107 container:
108 controller_init:
109 privileged: true
110 runAsUser: 0
111 controller:
112 capabilities:
113 add:
114 - SYS_NICE
Mohammed Naser54ee9922023-07-22 18:40:25 +0000115 tolerations:
116 ovn_ovsdb_nb:
117 enabled: false
118 ovn_ovsdb_sb:
119 enabled: false
120 ovn_northd:
121 enabled: false
122 ovn_controller:
123 enabled: false
okozachenko1203f329c542023-07-27 22:42:01 +1000124 ovn_controller_gw:
125 enabled: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000126 affinity:
127 anti:
128 type:
129 default: preferredDuringSchedulingIgnoredDuringExecution
130 topologyKey:
131 default: kubernetes.io/hostname
132 weight:
133 default: 10
134
135 probes:
136 ovn_northd:
137 northd:
138 readiness:
139 enabled: true
140 params:
Mohammed Naser12207172024-02-05 18:49:35 -0500141 initialDelaySeconds: 30
142 timeoutSeconds: 30
143 periodSeconds: 60
144 ovn_ovsdb_nb:
145 ovsdb:
146 readiness:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000147 enabled: true
148 params:
Mohammed Naser12207172024-02-05 18:49:35 -0500149 initialDelaySeconds: 30
150 timeoutSeconds: 30
151 periodSeconds: 60
152 ovn_ovsdb_sb:
153 ovsdb:
154 readiness:
155 enabled: true
156 params:
157 initialDelaySeconds: 30
158 timeoutSeconds: 30
159 periodSeconds: 60
160 ovn_controller:
161 controller:
162 readiness:
163 enabled: true
164 params:
165 initialDelaySeconds: 30
166 timeoutSeconds: 30
167 periodSeconds: 60
168 ovn_controller_gw:
169 controller:
170 readiness:
171 enabled: true
172 params:
173 initialDelaySeconds: 30
174 timeoutSeconds: 30
175 periodSeconds: 60
Mohammed Naser54ee9922023-07-22 18:40:25 +0000176 dns_policy: "ClusterFirstWithHostNet"
177 replicas:
178 ovn_ovsdb_nb: 1
179 ovn_ovsdb_sb: 1
180 ovn_northd: 1
181 lifecycle:
182 upgrades:
183 daemonsets:
184 pod_replacement_strategy: RollingUpdate
185 ovn_ovsdb_nb:
186 enabled: true
187 min_ready_seconds: 0
188 max_unavailable: 1
189 ovn_ovsdb_sb:
190 enabled: true
191 min_ready_seconds: 0
192 max_unavailable: 1
193 ovn_northd:
194 enabled: true
195 min_ready_seconds: 0
196 max_unavailable: 1
197 ovn_controller:
198 enabled: true
199 min_ready_seconds: 0
200 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000201 ovn_controller_gw:
202 enabled: true
203 min_ready_seconds: 0
204 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000205 resources:
206 enabled: false
207 ovs:
208 ovn_ovsdb_nb:
209 requests:
Mohammed Naser12207172024-02-05 18:49:35 -0500210 memory: "384Mi"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000211 cpu: "100m"
212 limits:
213 memory: "1024Mi"
Mohammed Naser12207172024-02-05 18:49:35 -0500214 cpu: "1000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000215 ovn_ovsdb_sb:
216 requests:
Mohammed Naser12207172024-02-05 18:49:35 -0500217 memory: "384Mi"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000218 cpu: "100m"
219 limits:
220 memory: "1024Mi"
Mohammed Naser12207172024-02-05 18:49:35 -0500221 cpu: "1000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000222 ovn_northd:
223 requests:
224 memory: "128Mi"
225 cpu: "100m"
226 limits:
227 memory: "1024Mi"
228 cpu: "2000m"
229 ovn_controller:
230 requests:
231 memory: "128Mi"
232 cpu: "100m"
233 limits:
234 memory: "1024Mi"
235 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000236 ovn_controller_gw:
237 requests:
238 memory: "128Mi"
239 cpu: "100m"
240 limits:
241 memory: "1024Mi"
242 cpu: "2000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000243 jobs:
244 image_repo_sync:
245 requests:
246 memory: "128Mi"
247 cpu: "100m"
248 limits:
249 memory: "1024Mi"
250 cpu: "2000m"
251
252secrets:
253 oci_image_registry:
254 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
255 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
256 ovn_northd: ovn-northd-oci-image-registry-key
257 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000258 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000259
260# TODO: Check these endpoints?!
261endpoints:
262 cluster_domain_suffix: cluster.local
263 local_image_registry:
264 name: docker-registry
265 namespace: docker-registry
266 hosts:
267 default: localhost
268 internal: docker-registry
269 node: localhost
270 host_fqdn_override:
271 default: null
272 port:
273 registry:
274 node: 5000
275 oci_image_registry:
276 name: oci-image-registry
277 namespace: oci-image-registry
278 auth:
279 enabled: false
280 openvswitch:
281 username: openvswitch
282 password: password
283 hosts:
284 default: localhost
285 host_fqdn_override:
286 default: null
287 port:
288 registry:
289 default: null
290 ovn_ovsdb_nb:
291 name: ovn-ovsdb-nb
292 namespace: null
293 hosts:
294 default: ovn-ovsdb-nb
295 host_fqdn_override:
296 default: null
297 port:
298 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000299 default: 6641
300 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000301 default: 6643
302 ovn_ovsdb_sb:
303 name: ovn-ovsdb-sb
304 namespace: null
305 hosts:
306 default: ovn-ovsdb-sb
307 host_fqdn_override:
308 default: null
309 port:
310 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000311 default: 6642
312 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000313 default: 6644
314
315network_policy:
316 ovn_ovsdb_nb:
317 ingress:
318 - {}
319 egress:
320 - {}
321 ovn_ovsdb_sb:
322 ingress:
323 - {}
324 egress:
325 - {}
326 ovn_northd:
327 ingress:
328 - {}
329 egress:
330 - {}
331 ovn_controller:
332 ingress:
333 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000334 ovn_controller_gw:
335 ingress:
336 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000337 egress:
338 - {}
339
340dependencies:
341 dynamic:
342 common:
343 local_image_registry:
344 jobs:
345 - openvswitch-image-repo-sync
346 services:
347 - endpoint: node
348 service: local_image_registry
349 static:
350 ovn_ovsdb_nb: null
351 ovn_ovsdb_sb: null
352 ovn_northd:
353 services:
354 - endpoint: internal
355 service: ovn-ovsdb-nb
356 - endpoint: internal
357 service: ovn-ovsdb-sb
358 ovn_controller:
359 services:
360 - endpoint: internal
361 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000362 ovn_controller_gw:
363 services:
364 - endpoint: internal
365 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000366 pod:
367 - requireSameNode: true
368 labels:
369 application: openvswitch
370 component: server
371 image_repo_sync:
372 services:
373 - endpoint: internal
374 service: local_image_registry
375
376manifests:
377 configmap_bin: true
378 configmap_etc: true
379 deployment_northd: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000380 service_ovn_ovsdb_nb: true
381 service_ovn_ovsdb_sb: true
382 statefulset_ovn_ovsdb_nb: true
383 statefulset_ovn_ovsdb_sb: true
384 deployment_ovn_northd: true
385 daemonset_ovn_controller: true
okozachenko1203f329c542023-07-27 22:42:01 +1000386 daemonset_ovn_controller_gw: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000387 job_image_repo_sync: true
388...