blob: f967c753ebf4cf885a4ad3048e0bc295c0cec4ea [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001# 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:
ricolin24b9a2d2023-06-29 23:42:38 +080023 openvswitch_db_server: docker.io/openstackhelm/openvswitch:latest-ubuntu_focal
24 openvswitch_vswitchd: docker.io/openstackhelm/openvswitch:latest-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050025 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
26 image_repo_sync: docker.io/library/docker:17.07.0
27 pull_policy: "IfNotPresent"
28 local_registry:
29 active: false
30 exclude:
31 - dep_check
32 - image_repo_sync
33
34labels:
35 ovs:
36 node_selector_key: openvswitch
37 node_selector_value: enabled
38
39pod:
40 tolerations:
41 openvswitch:
42 enabled: false
43 tolerations:
44 - key: node-role.kubernetes.io/master
45 operator: Exists
46 effect: NoSchedule
ricolin24b9a2d2023-06-29 23:42:38 +080047 - key: node-role.kubernetes.io/control-plane
48 operator: Exists
49 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -050050 probes:
51 ovs:
52 ovs_db:
53 liveness:
54 enabled: true
55 params:
56 initialDelaySeconds: 60
57 periodSeconds: 30
58 timeoutSeconds: 5
59 readiness:
60 enabled: true
61 params:
62 initialDelaySeconds: 90
63 periodSeconds: 30
64 timeoutSeconds: 5
65 ovs_vswitch:
66 liveness:
67 enabled: true
68 params:
69 initialDelaySeconds: 60
70 periodSeconds: 30
71 timeoutSeconds: 5
72 readiness:
73 enabled: true
74 params:
75 failureThreshold: 3
76 periodSeconds: 10
77 timeoutSeconds: 1
78 security_context:
79 ovs:
80 pod:
81 runAsUser: 42424
82 container:
83 perms:
84 runAsUser: 0
85 allowPrivilegeEscalation: false
86 readOnlyRootFilesystem: true
87 server:
88 runAsUser: 42424
89 allowPrivilegeEscalation: false
90 readOnlyRootFilesystem: true
91 modules:
92 runAsUser: 0
93 capabilities:
94 add:
95 - SYS_MODULE
96 - SYS_CHROOT
97 readOnlyRootFilesystem: true
98 vswitchd:
99 runAsUser: 0
100 capabilities:
101 add:
102 - NET_ADMIN
103 readOnlyRootFilesystem: true
104 dns_policy: "ClusterFirstWithHostNet"
105 lifecycle:
106 upgrades:
107 daemonsets:
108 pod_replacement_strategy: RollingUpdate
109 ovs:
110 enabled: true
111 min_ready_seconds: 0
112 max_unavailable: 1
113 resources:
114 enabled: false
115 ovs:
116 db:
117 requests:
118 memory: "128Mi"
119 cpu: "100m"
120 limits:
121 memory: "1024Mi"
122 cpu: "2000m"
123 vswitchd:
124 requests:
125 memory: "128Mi"
126 cpu: "100m"
127 limits:
128 memory: "1024Mi"
129 cpu: "2000m"
130 # set resources to enabled and specify one of the following when using dpdk
131 # hugepages-1Gi: "1Gi"
132 # hugepages-2Mi: "512Mi"
133 jobs:
134 image_repo_sync:
135 requests:
136 memory: "128Mi"
137 cpu: "100m"
138 limits:
139 memory: "1024Mi"
140 cpu: "2000m"
141 user:
142 nova:
143 uid: 42424
144
145secrets:
146 oci_image_registry:
147 openvswitch: openvswitch-oci-image-registry-key
148
149endpoints:
150 cluster_domain_suffix: cluster.local
151 local_image_registry:
152 name: docker-registry
153 namespace: docker-registry
154 hosts:
155 default: localhost
156 internal: docker-registry
157 node: localhost
158 host_fqdn_override:
159 default: null
160 port:
161 registry:
162 node: 5000
163 oci_image_registry:
164 name: oci-image-registry
165 namespace: oci-image-registry
166 auth:
167 enabled: false
168 openvswitch:
169 username: openvswitch
170 password: password
171 hosts:
172 default: localhost
173 host_fqdn_override:
174 default: null
175 port:
176 registry:
177 default: null
178
179network_policy:
180 openvswitch:
181 ingress:
182 - {}
183 egress:
184 - {}
185
186dependencies:
187 dynamic:
188 common:
189 local_image_registry:
190 jobs:
191 - openvswitch-image-repo-sync
192 services:
193 - endpoint: node
194 service: local_image_registry
195 static:
196 ovs: null
197 image_repo_sync:
198 services:
199 - endpoint: internal
200 service: local_image_registry
201
202manifests:
203 configmap_bin: true
204 daemonset: true
205 daemonset_ovs_vswitchd: true
206 job_image_repo_sync: true
207 network_policy: false
208 secret_registry: true
209
210conf:
Rico Linc6ac7a12023-11-03 00:25:40 +0800211 poststart:
212 timeout: 5
213 rootUser: "root"
214 extraCommand: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500215 openvswitch_db_server:
216 ptcp_port: null
217 ovs_other_config:
218 handler_threads: null
219 revalidator_threads: null
220 ovs_hw_offload:
221 enabled: false
222 ovs_dpdk:
223 enabled: false
224 ## Mandatory parameters. Please uncomment when enabling DPDK
225 # socket_memory: 1024
226 # hugepages_mountpath: /dev/hugepages
227 # vhostuser_socket_dir: vhostuser
228 #
229 ## Optional hardware specific parameters: modify to match NUMA topology
230 # mem_channels: 4
231 # lcore_mask: 0x1
232 # pmd_cpu_mask: 0x4
233 #
234 ## Optional driver to use. Driver name should be the same as the one
235 ## specified in the ovs_dpdk section in the Neutron values and vice versa
236 # driver: vfio-pci
237 #
238 ## Optional security feature
239 # vHost IOMMU feature restricts the vhost memory that a virtio device
240 # access, available with DPDK v17.11
241 # vhost_iommu_support: true
242...