blob: cc0eea444f00581d2e6ea075d146b4def9c44af9 [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:
141 initialDelaySeconds: 5
142 timeoutSeconds: 10
143 liveness:
144 enabled: true
145 params:
146 initialDelaySeconds: 5
147 timeoutSeconds: 10
148 dns_policy: "ClusterFirstWithHostNet"
149 replicas:
150 ovn_ovsdb_nb: 1
151 ovn_ovsdb_sb: 1
152 ovn_northd: 1
153 lifecycle:
154 upgrades:
155 daemonsets:
156 pod_replacement_strategy: RollingUpdate
157 ovn_ovsdb_nb:
158 enabled: true
159 min_ready_seconds: 0
160 max_unavailable: 1
161 ovn_ovsdb_sb:
162 enabled: true
163 min_ready_seconds: 0
164 max_unavailable: 1
165 ovn_northd:
166 enabled: true
167 min_ready_seconds: 0
168 max_unavailable: 1
169 ovn_controller:
170 enabled: true
171 min_ready_seconds: 0
172 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000173 ovn_controller_gw:
174 enabled: true
175 min_ready_seconds: 0
176 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000177 resources:
178 enabled: false
179 ovs:
180 ovn_ovsdb_nb:
181 requests:
182 memory: "128Mi"
183 cpu: "100m"
184 limits:
185 memory: "1024Mi"
186 cpu: "2000m"
187 ovn_ovsdb_sb:
188 requests:
189 memory: "128Mi"
190 cpu: "100m"
191 limits:
192 memory: "1024Mi"
193 cpu: "2000m"
194 ovn_northd:
195 requests:
196 memory: "128Mi"
197 cpu: "100m"
198 limits:
199 memory: "1024Mi"
200 cpu: "2000m"
201 ovn_controller:
202 requests:
203 memory: "128Mi"
204 cpu: "100m"
205 limits:
206 memory: "1024Mi"
207 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000208 ovn_controller_gw:
209 requests:
210 memory: "128Mi"
211 cpu: "100m"
212 limits:
213 memory: "1024Mi"
214 cpu: "2000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000215 jobs:
216 image_repo_sync:
217 requests:
218 memory: "128Mi"
219 cpu: "100m"
220 limits:
221 memory: "1024Mi"
222 cpu: "2000m"
223
224secrets:
225 oci_image_registry:
226 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
227 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
228 ovn_northd: ovn-northd-oci-image-registry-key
229 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000230 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000231
232# TODO: Check these endpoints?!
233endpoints:
234 cluster_domain_suffix: cluster.local
235 local_image_registry:
236 name: docker-registry
237 namespace: docker-registry
238 hosts:
239 default: localhost
240 internal: docker-registry
241 node: localhost
242 host_fqdn_override:
243 default: null
244 port:
245 registry:
246 node: 5000
247 oci_image_registry:
248 name: oci-image-registry
249 namespace: oci-image-registry
250 auth:
251 enabled: false
252 openvswitch:
253 username: openvswitch
254 password: password
255 hosts:
256 default: localhost
257 host_fqdn_override:
258 default: null
259 port:
260 registry:
261 default: null
262 ovn_ovsdb_nb:
263 name: ovn-ovsdb-nb
264 namespace: null
265 hosts:
266 default: ovn-ovsdb-nb
267 host_fqdn_override:
268 default: null
269 port:
270 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000271 default: 6641
272 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000273 default: 6643
274 ovn_ovsdb_sb:
275 name: ovn-ovsdb-sb
276 namespace: null
277 hosts:
278 default: ovn-ovsdb-sb
279 host_fqdn_override:
280 default: null
281 port:
282 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000283 default: 6642
284 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000285 default: 6644
286
287network_policy:
288 ovn_ovsdb_nb:
289 ingress:
290 - {}
291 egress:
292 - {}
293 ovn_ovsdb_sb:
294 ingress:
295 - {}
296 egress:
297 - {}
298 ovn_northd:
299 ingress:
300 - {}
301 egress:
302 - {}
303 ovn_controller:
304 ingress:
305 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000306 ovn_controller_gw:
307 ingress:
308 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000309 egress:
310 - {}
311
312dependencies:
313 dynamic:
314 common:
315 local_image_registry:
316 jobs:
317 - openvswitch-image-repo-sync
318 services:
319 - endpoint: node
320 service: local_image_registry
321 static:
322 ovn_ovsdb_nb: null
323 ovn_ovsdb_sb: null
324 ovn_northd:
325 services:
326 - endpoint: internal
327 service: ovn-ovsdb-nb
328 - endpoint: internal
329 service: ovn-ovsdb-sb
330 ovn_controller:
331 services:
332 - endpoint: internal
333 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000334 ovn_controller_gw:
335 services:
336 - endpoint: internal
337 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000338 pod:
339 - requireSameNode: true
340 labels:
341 application: openvswitch
342 component: server
343 image_repo_sync:
344 services:
345 - endpoint: internal
346 service: local_image_registry
347
348manifests:
349 configmap_bin: true
350 configmap_etc: true
351 deployment_northd: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000352 service_ovn_ovsdb_nb: true
353 service_ovn_ovsdb_sb: true
354 statefulset_ovn_ovsdb_nb: true
355 statefulset_ovn_ovsdb_sb: true
356 deployment_ovn_northd: true
357 daemonset_ovn_controller: true
okozachenko1203f329c542023-07-27 22:42:01 +1000358 daemonset_ovn_controller_gw: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000359 job_image_repo_sync: true
360...