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