blob: 2f152dd1c92cfc9b1967694bfc8b11a605f752dd [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:
okozachenko120383519462023-07-29 01:30:02 +100037 ovn:
38 node_selector_key: ovn
39 node_selector_value: enabled
Mohammed Naser54ee9922023-07-22 18:40:25 +000040 ovn_ovsdb_nb:
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_ovsdb_sb:
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_northd:
okozachenko120383519462023-07-29 01:30:02 +100047 node_selector_key: openstack-compute-node
Mohammed Naser54ee9922023-07-22 18:40:25 +000048 node_selector_value: enabled
49 ovn_controller:
okozachenko120383519462023-07-29 01:30:02 +100050 node_selector_key: openstack-compute-node
okozachenko1203f329c542023-07-27 22:42:01 +100051 node_selector_value: enabled
52 ovn_controller_gw:
53 node_selector_key: openstack-control-plane
Mohammed Naser54ee9922023-07-22 18:40:25 +000054 node_selector_value: enabled
55
56volume:
57 ovn_ovsdb_nb:
58 enabled: true
59 class_name: general
60 size: 5Gi
61 ovn_ovsdb_sb:
62 enabled: true
63 class_name: general
64 size: 5Gi
65
66network:
67 interface:
68 # Tunnel interface will be used for VXLAN tunneling.
69 tunnel: null
70 # If tunnel is null there is a fallback mechanism to search
71 # for interface with routing using tunnel network cidr.
72 tunnel_network_cidr: "0/0"
73
74conf:
okozachenko1203f329c542023-07-27 22:42:01 +100075 ovn_cms_options: "availability-zones=nova"
76 gw_ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
Mohammed Naser54ee9922023-07-22 18:40:25 +000077 ovn_encap_type: geneve
78 ovn_bridge: br-int
79 ovn_bridge_mappings: external:br-ex
80
81 # auto_bridge_add:
82 # br-private: eth0
83 # br-public: eth1
84 auto_bridge_add: {}
85
86 # NOTE: should be same as nova.conf.use_fqdn.compute
87 use_fqdn:
88 compute: true
89
90pod:
91 security_context:
92 ovn_northd:
93 container:
94 northd:
95 capabilities:
96 add:
97 - SYS_NICE
98 ovn_controller:
99 container:
Mohammed Naser1d75a922023-07-23 19:24:49 +0000100 controller_init:
101 privileged: true
102 runAsUser: 0
Mohammed Naser54ee9922023-07-22 18:40:25 +0000103 controller:
104 capabilities:
105 add:
106 - SYS_NICE
okozachenko1203f329c542023-07-27 22:42:01 +1000107 ovn_controller_gw:
108 container:
109 controller_init:
110 privileged: true
111 runAsUser: 0
112 controller:
113 capabilities:
114 add:
115 - SYS_NICE
Mohammed Naser54ee9922023-07-22 18:40:25 +0000116 tolerations:
117 ovn_ovsdb_nb:
118 enabled: false
119 ovn_ovsdb_sb:
120 enabled: false
121 ovn_northd:
122 enabled: false
123 ovn_controller:
124 enabled: false
okozachenko1203f329c542023-07-27 22:42:01 +1000125 ovn_controller_gw:
126 enabled: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000127 affinity:
128 anti:
129 type:
130 default: preferredDuringSchedulingIgnoredDuringExecution
131 topologyKey:
132 default: kubernetes.io/hostname
133 weight:
134 default: 10
135
136 probes:
137 ovn_northd:
138 northd:
139 readiness:
140 enabled: true
141 params:
142 initialDelaySeconds: 5
143 timeoutSeconds: 10
144 liveness:
145 enabled: true
146 params:
147 initialDelaySeconds: 5
148 timeoutSeconds: 10
149 dns_policy: "ClusterFirstWithHostNet"
150 replicas:
151 ovn_ovsdb_nb: 1
152 ovn_ovsdb_sb: 1
153 ovn_northd: 1
154 lifecycle:
155 upgrades:
156 daemonsets:
157 pod_replacement_strategy: RollingUpdate
158 ovn_ovsdb_nb:
159 enabled: true
160 min_ready_seconds: 0
161 max_unavailable: 1
162 ovn_ovsdb_sb:
163 enabled: true
164 min_ready_seconds: 0
165 max_unavailable: 1
166 ovn_northd:
167 enabled: true
168 min_ready_seconds: 0
169 max_unavailable: 1
170 ovn_controller:
171 enabled: true
172 min_ready_seconds: 0
173 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000174 ovn_controller_gw:
175 enabled: true
176 min_ready_seconds: 0
177 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000178 resources:
179 enabled: false
180 ovs:
181 ovn_ovsdb_nb:
182 requests:
183 memory: "128Mi"
184 cpu: "100m"
185 limits:
186 memory: "1024Mi"
187 cpu: "2000m"
188 ovn_ovsdb_sb:
189 requests:
190 memory: "128Mi"
191 cpu: "100m"
192 limits:
193 memory: "1024Mi"
194 cpu: "2000m"
195 ovn_northd:
196 requests:
197 memory: "128Mi"
198 cpu: "100m"
199 limits:
200 memory: "1024Mi"
201 cpu: "2000m"
202 ovn_controller:
203 requests:
204 memory: "128Mi"
205 cpu: "100m"
206 limits:
207 memory: "1024Mi"
208 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000209 ovn_controller_gw:
210 requests:
211 memory: "128Mi"
212 cpu: "100m"
213 limits:
214 memory: "1024Mi"
215 cpu: "2000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000216 jobs:
217 image_repo_sync:
218 requests:
219 memory: "128Mi"
220 cpu: "100m"
221 limits:
222 memory: "1024Mi"
223 cpu: "2000m"
224
225secrets:
226 oci_image_registry:
227 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
228 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
229 ovn_northd: ovn-northd-oci-image-registry-key
230 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000231 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000232
233# TODO: Check these endpoints?!
234endpoints:
235 cluster_domain_suffix: cluster.local
236 local_image_registry:
237 name: docker-registry
238 namespace: docker-registry
239 hosts:
240 default: localhost
241 internal: docker-registry
242 node: localhost
243 host_fqdn_override:
244 default: null
245 port:
246 registry:
247 node: 5000
248 oci_image_registry:
249 name: oci-image-registry
250 namespace: oci-image-registry
251 auth:
252 enabled: false
253 openvswitch:
254 username: openvswitch
255 password: password
256 hosts:
257 default: localhost
258 host_fqdn_override:
259 default: null
260 port:
261 registry:
262 default: null
263 ovn_ovsdb_nb:
264 name: ovn-ovsdb-nb
265 namespace: null
266 hosts:
267 default: ovn-ovsdb-nb
268 host_fqdn_override:
269 default: null
270 port:
271 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000272 default: 6641
273 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000274 default: 6643
275 ovn_ovsdb_sb:
276 name: ovn-ovsdb-sb
277 namespace: null
278 hosts:
279 default: ovn-ovsdb-sb
280 host_fqdn_override:
281 default: null
282 port:
283 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000284 default: 6642
285 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000286 default: 6644
287
288network_policy:
289 ovn_ovsdb_nb:
290 ingress:
291 - {}
292 egress:
293 - {}
294 ovn_ovsdb_sb:
295 ingress:
296 - {}
297 egress:
298 - {}
299 ovn_northd:
300 ingress:
301 - {}
302 egress:
303 - {}
304 ovn_controller:
305 ingress:
306 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000307 ovn_controller_gw:
308 ingress:
309 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000310 egress:
311 - {}
312
313dependencies:
314 dynamic:
315 common:
316 local_image_registry:
317 jobs:
318 - openvswitch-image-repo-sync
319 services:
320 - endpoint: node
321 service: local_image_registry
322 static:
323 ovn_ovsdb_nb: null
324 ovn_ovsdb_sb: null
325 ovn_northd:
326 services:
327 - endpoint: internal
328 service: ovn-ovsdb-nb
329 - endpoint: internal
330 service: ovn-ovsdb-sb
331 ovn_controller:
332 services:
333 - endpoint: internal
334 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000335 ovn_controller_gw:
336 services:
337 - endpoint: internal
338 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000339 pod:
340 - requireSameNode: true
341 labels:
342 application: openvswitch
343 component: server
344 image_repo_sync:
345 services:
346 - endpoint: internal
347 service: local_image_registry
348
349manifests:
350 configmap_bin: true
351 configmap_etc: true
352 deployment_northd: true
353 daemonset_controller: true
354 service_ovn_ovsdb_nb: true
355 service_ovn_ovsdb_sb: true
356 statefulset_ovn_ovsdb_nb: true
357 statefulset_ovn_ovsdb_sb: true
358 deployment_ovn_northd: true
359 daemonset_ovn_controller: true
okozachenko1203f329c542023-07-27 22:42:01 +1000360 daemonset_ovn_controller_gw: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000361 job_image_repo_sync: true
362...