blob: 7b1f1c084c74bb6ba7fc042008571526554210ba [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
77
78 # auto_bridge_add:
79 # br-private: eth0
80 # br-public: eth1
81 auto_bridge_add: {}
82
83 # NOTE: should be same as nova.conf.use_fqdn.compute
84 use_fqdn:
85 compute: true
86
87pod:
88 security_context:
89 ovn_northd:
90 container:
91 northd:
92 capabilities:
93 add:
94 - SYS_NICE
95 ovn_controller:
96 container:
Mohammed Naser1d75a922023-07-23 19:24:49 +000097 controller_init:
98 privileged: true
99 runAsUser: 0
Mohammed Naser54ee9922023-07-22 18:40:25 +0000100 controller:
101 capabilities:
102 add:
103 - SYS_NICE
okozachenko1203f329c542023-07-27 22:42:01 +1000104 ovn_controller_gw:
105 container:
106 controller_init:
107 privileged: true
108 runAsUser: 0
109 controller:
110 capabilities:
111 add:
112 - SYS_NICE
Mohammed Naser54ee9922023-07-22 18:40:25 +0000113 tolerations:
114 ovn_ovsdb_nb:
115 enabled: false
116 ovn_ovsdb_sb:
117 enabled: false
118 ovn_northd:
119 enabled: false
120 ovn_controller:
121 enabled: false
okozachenko1203f329c542023-07-27 22:42:01 +1000122 ovn_controller_gw:
123 enabled: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000124 affinity:
125 anti:
126 type:
127 default: preferredDuringSchedulingIgnoredDuringExecution
128 topologyKey:
129 default: kubernetes.io/hostname
130 weight:
131 default: 10
132
133 probes:
134 ovn_northd:
135 northd:
136 readiness:
137 enabled: true
138 params:
139 initialDelaySeconds: 5
140 timeoutSeconds: 10
141 liveness:
142 enabled: true
143 params:
144 initialDelaySeconds: 5
145 timeoutSeconds: 10
146 dns_policy: "ClusterFirstWithHostNet"
147 replicas:
148 ovn_ovsdb_nb: 1
149 ovn_ovsdb_sb: 1
150 ovn_northd: 1
151 lifecycle:
152 upgrades:
153 daemonsets:
154 pod_replacement_strategy: RollingUpdate
155 ovn_ovsdb_nb:
156 enabled: true
157 min_ready_seconds: 0
158 max_unavailable: 1
159 ovn_ovsdb_sb:
160 enabled: true
161 min_ready_seconds: 0
162 max_unavailable: 1
163 ovn_northd:
164 enabled: true
165 min_ready_seconds: 0
166 max_unavailable: 1
167 ovn_controller:
168 enabled: true
169 min_ready_seconds: 0
170 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000171 ovn_controller_gw:
172 enabled: true
173 min_ready_seconds: 0
174 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000175 resources:
176 enabled: false
177 ovs:
178 ovn_ovsdb_nb:
179 requests:
180 memory: "128Mi"
181 cpu: "100m"
182 limits:
183 memory: "1024Mi"
184 cpu: "2000m"
185 ovn_ovsdb_sb:
186 requests:
187 memory: "128Mi"
188 cpu: "100m"
189 limits:
190 memory: "1024Mi"
191 cpu: "2000m"
192 ovn_northd:
193 requests:
194 memory: "128Mi"
195 cpu: "100m"
196 limits:
197 memory: "1024Mi"
198 cpu: "2000m"
199 ovn_controller:
200 requests:
201 memory: "128Mi"
202 cpu: "100m"
203 limits:
204 memory: "1024Mi"
205 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000206 ovn_controller_gw:
207 requests:
208 memory: "128Mi"
209 cpu: "100m"
210 limits:
211 memory: "1024Mi"
212 cpu: "2000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000213 jobs:
214 image_repo_sync:
215 requests:
216 memory: "128Mi"
217 cpu: "100m"
218 limits:
219 memory: "1024Mi"
220 cpu: "2000m"
221
222secrets:
223 oci_image_registry:
224 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
225 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
226 ovn_northd: ovn-northd-oci-image-registry-key
227 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000228 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000229
230# TODO: Check these endpoints?!
231endpoints:
232 cluster_domain_suffix: cluster.local
233 local_image_registry:
234 name: docker-registry
235 namespace: docker-registry
236 hosts:
237 default: localhost
238 internal: docker-registry
239 node: localhost
240 host_fqdn_override:
241 default: null
242 port:
243 registry:
244 node: 5000
245 oci_image_registry:
246 name: oci-image-registry
247 namespace: oci-image-registry
248 auth:
249 enabled: false
250 openvswitch:
251 username: openvswitch
252 password: password
253 hosts:
254 default: localhost
255 host_fqdn_override:
256 default: null
257 port:
258 registry:
259 default: null
260 ovn_ovsdb_nb:
261 name: ovn-ovsdb-nb
262 namespace: null
263 hosts:
264 default: ovn-ovsdb-nb
265 host_fqdn_override:
266 default: null
267 port:
268 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000269 default: 6641
270 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000271 default: 6643
272 ovn_ovsdb_sb:
273 name: ovn-ovsdb-sb
274 namespace: null
275 hosts:
276 default: ovn-ovsdb-sb
277 host_fqdn_override:
278 default: null
279 port:
280 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000281 default: 6642
282 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000283 default: 6644
284
285network_policy:
286 ovn_ovsdb_nb:
287 ingress:
288 - {}
289 egress:
290 - {}
291 ovn_ovsdb_sb:
292 ingress:
293 - {}
294 egress:
295 - {}
296 ovn_northd:
297 ingress:
298 - {}
299 egress:
300 - {}
301 ovn_controller:
302 ingress:
303 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000304 ovn_controller_gw:
305 ingress:
306 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000307 egress:
308 - {}
309
310dependencies:
311 dynamic:
312 common:
313 local_image_registry:
314 jobs:
315 - openvswitch-image-repo-sync
316 services:
317 - endpoint: node
318 service: local_image_registry
319 static:
320 ovn_ovsdb_nb: null
321 ovn_ovsdb_sb: null
322 ovn_northd:
323 services:
324 - endpoint: internal
325 service: ovn-ovsdb-nb
326 - endpoint: internal
327 service: ovn-ovsdb-sb
328 ovn_controller:
329 services:
330 - endpoint: internal
331 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000332 ovn_controller_gw:
333 services:
334 - endpoint: internal
335 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000336 pod:
337 - requireSameNode: true
338 labels:
339 application: openvswitch
340 component: server
341 image_repo_sync:
342 services:
343 - endpoint: internal
344 service: local_image_registry
345
346manifests:
347 configmap_bin: true
348 configmap_etc: true
349 deployment_northd: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000350 service_ovn_ovsdb_nb: true
351 service_ovn_ovsdb_sb: true
352 statefulset_ovn_ovsdb_nb: true
353 statefulset_ovn_ovsdb_sb: true
354 deployment_ovn_northd: true
355 daemonset_ovn_controller: true
okozachenko1203f329c542023-07-27 22:42:01 +1000356 daemonset_ovn_controller_gw: true
Mohammed Naser54ee9922023-07-22 18:40:25 +0000357 job_image_repo_sync: true
358...