blob: 3e3d69da2ac4e6e4cefa7cc4ae34f83b923de1b9 [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:
38 node_selector_key: openstack-network-node
39 node_selector_value: enabled
40 ovn_ovsdb_sb:
41 node_selector_key: openstack-network-node
42 node_selector_value: enabled
43 ovn_northd:
44 node_selector_key: openstack-network-node
45 node_selector_value: enabled
46 ovn_controller:
47 node_selector_key: openvswitch
48 node_selector_value: enabled
49
50volume:
51 ovn_ovsdb_nb:
52 enabled: true
53 class_name: general
54 size: 5Gi
55 ovn_ovsdb_sb:
56 enabled: true
57 class_name: general
58 size: 5Gi
59
60network:
61 interface:
62 # Tunnel interface will be used for VXLAN tunneling.
63 tunnel: null
64 # If tunnel is null there is a fallback mechanism to search
65 # for interface with routing using tunnel network cidr.
66 tunnel_network_cidr: "0/0"
67
68conf:
69 ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
70 ovn_encap_type: geneve
71 ovn_bridge: br-int
72 ovn_bridge_mappings: external:br-ex
73
74 # auto_bridge_add:
75 # br-private: eth0
76 # br-public: eth1
77 auto_bridge_add: {}
78
79 # NOTE: should be same as nova.conf.use_fqdn.compute
80 use_fqdn:
81 compute: true
82
83pod:
84 security_context:
85 ovn_northd:
86 container:
87 northd:
88 capabilities:
89 add:
90 - SYS_NICE
91 ovn_controller:
92 container:
93 controller:
94 capabilities:
95 add:
96 - SYS_NICE
97 tolerations:
98 ovn_ovsdb_nb:
99 enabled: false
100 ovn_ovsdb_sb:
101 enabled: false
102 ovn_northd:
103 enabled: false
104 ovn_controller:
105 enabled: false
106 affinity:
107 anti:
108 type:
109 default: preferredDuringSchedulingIgnoredDuringExecution
110 topologyKey:
111 default: kubernetes.io/hostname
112 weight:
113 default: 10
114
115 probes:
116 ovn_northd:
117 northd:
118 readiness:
119 enabled: true
120 params:
121 initialDelaySeconds: 5
122 timeoutSeconds: 10
123 liveness:
124 enabled: true
125 params:
126 initialDelaySeconds: 5
127 timeoutSeconds: 10
128 dns_policy: "ClusterFirstWithHostNet"
129 replicas:
130 ovn_ovsdb_nb: 1
131 ovn_ovsdb_sb: 1
132 ovn_northd: 1
133 lifecycle:
134 upgrades:
135 daemonsets:
136 pod_replacement_strategy: RollingUpdate
137 ovn_ovsdb_nb:
138 enabled: true
139 min_ready_seconds: 0
140 max_unavailable: 1
141 ovn_ovsdb_sb:
142 enabled: true
143 min_ready_seconds: 0
144 max_unavailable: 1
145 ovn_northd:
146 enabled: true
147 min_ready_seconds: 0
148 max_unavailable: 1
149 ovn_controller:
150 enabled: true
151 min_ready_seconds: 0
152 max_unavailable: 1
153 resources:
154 enabled: false
155 ovs:
156 ovn_ovsdb_nb:
157 requests:
158 memory: "128Mi"
159 cpu: "100m"
160 limits:
161 memory: "1024Mi"
162 cpu: "2000m"
163 ovn_ovsdb_sb:
164 requests:
165 memory: "128Mi"
166 cpu: "100m"
167 limits:
168 memory: "1024Mi"
169 cpu: "2000m"
170 ovn_northd:
171 requests:
172 memory: "128Mi"
173 cpu: "100m"
174 limits:
175 memory: "1024Mi"
176 cpu: "2000m"
177 ovn_controller:
178 requests:
179 memory: "128Mi"
180 cpu: "100m"
181 limits:
182 memory: "1024Mi"
183 cpu: "2000m"
184 jobs:
185 image_repo_sync:
186 requests:
187 memory: "128Mi"
188 cpu: "100m"
189 limits:
190 memory: "1024Mi"
191 cpu: "2000m"
192
193secrets:
194 oci_image_registry:
195 ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key
196 ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key
197 ovn_northd: ovn-northd-oci-image-registry-key
198 ovn_controller: ovn-controller-oci-image-registry-key
199
200# TODO: Check these endpoints?!
201endpoints:
202 cluster_domain_suffix: cluster.local
203 local_image_registry:
204 name: docker-registry
205 namespace: docker-registry
206 hosts:
207 default: localhost
208 internal: docker-registry
209 node: localhost
210 host_fqdn_override:
211 default: null
212 port:
213 registry:
214 node: 5000
215 oci_image_registry:
216 name: oci-image-registry
217 namespace: oci-image-registry
218 auth:
219 enabled: false
220 openvswitch:
221 username: openvswitch
222 password: password
223 hosts:
224 default: localhost
225 host_fqdn_override:
226 default: null
227 port:
228 registry:
229 default: null
230 ovn_ovsdb_nb:
231 name: ovn-ovsdb-nb
232 namespace: null
233 hosts:
234 default: ovn-ovsdb-nb
235 host_fqdn_override:
236 default: null
237 port:
238 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000239 default: 6641
240 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000241 default: 6643
242 ovn_ovsdb_sb:
243 name: ovn-ovsdb-sb
244 namespace: null
245 hosts:
246 default: ovn-ovsdb-sb
247 host_fqdn_override:
248 default: null
249 port:
250 ovsdb:
Mohammed Naserad8989f2023-07-22 22:29:32 +0000251 default: 6642
252 raft:
Mohammed Naser54ee9922023-07-22 18:40:25 +0000253 default: 6644
254
255network_policy:
256 ovn_ovsdb_nb:
257 ingress:
258 - {}
259 egress:
260 - {}
261 ovn_ovsdb_sb:
262 ingress:
263 - {}
264 egress:
265 - {}
266 ovn_northd:
267 ingress:
268 - {}
269 egress:
270 - {}
271 ovn_controller:
272 ingress:
273 - {}
274 egress:
275 - {}
276
277dependencies:
278 dynamic:
279 common:
280 local_image_registry:
281 jobs:
282 - openvswitch-image-repo-sync
283 services:
284 - endpoint: node
285 service: local_image_registry
286 static:
287 ovn_ovsdb_nb: null
288 ovn_ovsdb_sb: null
289 ovn_northd:
290 services:
291 - endpoint: internal
292 service: ovn-ovsdb-nb
293 - endpoint: internal
294 service: ovn-ovsdb-sb
295 ovn_controller:
296 services:
297 - endpoint: internal
298 service: ovn-ovsdb-sb
299 pod:
300 - requireSameNode: true
301 labels:
302 application: openvswitch
303 component: server
304 image_repo_sync:
305 services:
306 - endpoint: internal
307 service: local_image_registry
308
309manifests:
310 configmap_bin: true
311 configmap_etc: true
312 deployment_northd: true
313 daemonset_controller: true
314 service_ovn_ovsdb_nb: true
315 service_ovn_ovsdb_sb: true
316 statefulset_ovn_ovsdb_nb: true
317 statefulset_ovn_ovsdb_sb: true
318 deployment_ovn_northd: true
319 daemonset_ovn_controller: true
320 job_image_repo_sync: true
321...