blob: 41fca3ee1c0eff99656d2cccee529e727e41ae8e [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
okozachenko1203f329c542023-07-27 22:42:01 +100027 ovn_controller_gw: docker.io/openstackhelm/ovn:latest-ubuntu_focal
Mohammed Naser54ee9922023-07-22 18:40:25 +000028 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
29 image_repo_sync: docker.io/library/docker:17.07.0
30 pull_policy: "IfNotPresent"
31 local_registry:
32 active: false
33 exclude:
34 - dep_check
35 - image_repo_sync
36
37labels:
38 ovn_ovsdb_nb:
39 node_selector_key: openstack-network-node
40 node_selector_value: enabled
41 ovn_ovsdb_sb:
42 node_selector_key: openstack-network-node
43 node_selector_value: enabled
44 ovn_northd:
45 node_selector_key: openstack-network-node
46 node_selector_value: enabled
47 ovn_controller:
okozachenko1203f329c542023-07-27 22:42:01 +100048 node_selector_key: openstack-network-node
49 node_selector_value: enabled
50 ovn_controller_gw:
51 node_selector_key: openstack-control-plane
Mohammed Naser54ee9922023-07-22 18:40:25 +000052 node_selector_value: enabled
53
54volume:
55 ovn_ovsdb_nb:
56 enabled: true
57 class_name: general
58 size: 5Gi
59 ovn_ovsdb_sb:
60 enabled: true
61 class_name: general
62 size: 5Gi
63
64network:
65 interface:
66 # Tunnel interface will be used for VXLAN tunneling.
67 tunnel: null
68 # If tunnel is null there is a fallback mechanism to search
69 # for interface with routing using tunnel network cidr.
70 tunnel_network_cidr: "0/0"
71
72conf:
okozachenko1203f329c542023-07-27 22:42:01 +100073 ovn_cms_options: "availability-zones=nova"
74 gw_ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
Mohammed Naser54ee9922023-07-22 18:40:25 +000075 ovn_encap_type: geneve
76 ovn_bridge: br-int
77 ovn_bridge_mappings: external:br-ex
78
79 # auto_bridge_add:
80 # br-private: eth0
81 # br-public: eth1
82 auto_bridge_add: {}
83
84 # NOTE: should be same as nova.conf.use_fqdn.compute
85 use_fqdn:
86 compute: true
87
88pod:
89 security_context:
90 ovn_northd:
91 container:
92 northd:
93 capabilities:
94 add:
95 - SYS_NICE
96 ovn_controller:
97 container:
Mohammed Naser1d75a922023-07-23 19:24:49 +000098 controller_init:
99 privileged: true
100 runAsUser: 0
Mohammed Naser54ee9922023-07-22 18:40:25 +0000101 controller:
102 capabilities:
103 add:
104 - SYS_NICE
okozachenko1203f329c542023-07-27 22:42:01 +1000105 ovn_controller_gw:
106 container:
107 controller_init:
108 privileged: true
109 runAsUser: 0
110 controller:
111 capabilities:
112 add:
113 - SYS_NICE
Mohammed Naser54ee9922023-07-22 18:40:25 +0000114 tolerations:
115 ovn_ovsdb_nb:
116 enabled: false
117 ovn_ovsdb_sb:
118 enabled: false
119 ovn_northd:
120 enabled: false
121 ovn_controller:
122 enabled: false
okozachenko1203f329c542023-07-27 22:42:01 +1000123 ovn_controller_gw:
124 enabled: false
Mohammed Naser54ee9922023-07-22 18:40:25 +0000125 affinity:
126 anti:
127 type:
128 default: preferredDuringSchedulingIgnoredDuringExecution
129 topologyKey:
130 default: kubernetes.io/hostname
131 weight:
132 default: 10
133
134 probes:
135 ovn_northd:
136 northd:
137 readiness:
138 enabled: true
139 params:
140 initialDelaySeconds: 5
141 timeoutSeconds: 10
142 liveness:
143 enabled: true
144 params:
145 initialDelaySeconds: 5
146 timeoutSeconds: 10
147 dns_policy: "ClusterFirstWithHostNet"
148 replicas:
149 ovn_ovsdb_nb: 1
150 ovn_ovsdb_sb: 1
151 ovn_northd: 1
152 lifecycle:
153 upgrades:
154 daemonsets:
155 pod_replacement_strategy: RollingUpdate
156 ovn_ovsdb_nb:
157 enabled: true
158 min_ready_seconds: 0
159 max_unavailable: 1
160 ovn_ovsdb_sb:
161 enabled: true
162 min_ready_seconds: 0
163 max_unavailable: 1
164 ovn_northd:
165 enabled: true
166 min_ready_seconds: 0
167 max_unavailable: 1
168 ovn_controller:
169 enabled: true
170 min_ready_seconds: 0
171 max_unavailable: 1
okozachenko1203f329c542023-07-27 22:42:01 +1000172 ovn_controller_gw:
173 enabled: true
174 min_ready_seconds: 0
175 max_unavailable: 1
Mohammed Naser54ee9922023-07-22 18:40:25 +0000176 resources:
177 enabled: false
178 ovs:
179 ovn_ovsdb_nb:
180 requests:
181 memory: "128Mi"
182 cpu: "100m"
183 limits:
184 memory: "1024Mi"
185 cpu: "2000m"
186 ovn_ovsdb_sb:
187 requests:
188 memory: "128Mi"
189 cpu: "100m"
190 limits:
191 memory: "1024Mi"
192 cpu: "2000m"
193 ovn_northd:
194 requests:
195 memory: "128Mi"
196 cpu: "100m"
197 limits:
198 memory: "1024Mi"
199 cpu: "2000m"
200 ovn_controller:
201 requests:
202 memory: "128Mi"
203 cpu: "100m"
204 limits:
205 memory: "1024Mi"
206 cpu: "2000m"
okozachenko1203f329c542023-07-27 22:42:01 +1000207 ovn_controller_gw:
208 requests:
209 memory: "128Mi"
210 cpu: "100m"
211 limits:
212 memory: "1024Mi"
213 cpu: "2000m"
Mohammed Naser54ee9922023-07-22 18:40:25 +0000214 jobs:
215 image_repo_sync:
216 requests:
217 memory: "128Mi"
218 cpu: "100m"
219 limits:
220 memory: "1024Mi"
221 cpu: "2000m"
222
223secrets:
224 oci_image_registry:
225 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
226 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
227 ovn_northd: ovn-northd-oci-image-registry-key
228 ovn_controller: ovn-controller-oci-image-registry-key
okozachenko1203f329c542023-07-27 22:42:01 +1000229 ovn_controller_gw: ovn-controller-gw-oci-image-registry-key
Mohammed Naser54ee9922023-07-22 18:40:25 +0000230
231# TODO: Check these endpoints?!
232endpoints:
233 cluster_domain_suffix: cluster.local
234 local_image_registry:
235 name: docker-registry
236 namespace: docker-registry
237 hosts:
238 default: localhost
239 internal: docker-registry
240 node: localhost
241 host_fqdn_override:
242 default: null
243 port:
244 registry:
245 node: 5000
246 oci_image_registry:
247 name: oci-image-registry
248 namespace: oci-image-registry
249 auth:
250 enabled: false
251 openvswitch:
252 username: openvswitch
253 password: password
254 hosts:
255 default: localhost
256 host_fqdn_override:
257 default: null
258 port:
259 registry:
260 default: null
261 ovn_ovsdb_nb:
262 name: ovn-ovsdb-nb
263 namespace: null
264 hosts:
265 default: ovn-ovsdb-nb
266 host_fqdn_override:
267 default: null
268 port:
269 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000270 default: 6641
271 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000272 default: 6643
273 ovn_ovsdb_sb:
274 name: ovn-ovsdb-sb
275 namespace: null
276 hosts:
277 default: ovn-ovsdb-sb
278 host_fqdn_override:
279 default: null
280 port:
281 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000282 default: 6642
283 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000284 default: 6644
285
286network_policy:
287 ovn_ovsdb_nb:
288 ingress:
289 - {}
290 egress:
291 - {}
292 ovn_ovsdb_sb:
293 ingress:
294 - {}
295 egress:
296 - {}
297 ovn_northd:
298 ingress:
299 - {}
300 egress:
301 - {}
302 ovn_controller:
303 ingress:
304 - {}
okozachenko1203f329c542023-07-27 22:42:01 +1000305 ovn_controller_gw:
306 ingress:
307 - {}
Mohammed Naser54ee9922023-07-22 18:40:25 +0000308 egress:
309 - {}
310
311dependencies:
312 dynamic:
313 common:
314 local_image_registry:
315 jobs:
316 - openvswitch-image-repo-sync
317 services:
318 - endpoint: node
319 service: local_image_registry
320 static:
321 ovn_ovsdb_nb: null
322 ovn_ovsdb_sb: null
323 ovn_northd:
324 services:
325 - endpoint: internal
326 service: ovn-ovsdb-nb
327 - endpoint: internal
328 service: ovn-ovsdb-sb
329 ovn_controller:
330 services:
331 - endpoint: internal
332 service: ovn-ovsdb-sb
okozachenko1203f329c542023-07-27 22:42:01 +1000333 ovn_controller_gw:
334 services:
335 - endpoint: internal
336 service: ovn-ovsdb-sb
Mohammed Naser54ee9922023-07-22 18:40:25 +0000337 pod:
338 - requireSameNode: true
339 labels:
340 application: openvswitch
341 component: server
342 image_repo_sync:
343 services:
344 - endpoint: internal
345 service: local_image_registry
346
347manifests:
348 configmap_bin: true
349 configmap_etc: true
350 deployment_northd: true
351 daemonset_controller: true
352 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...