Mohammed Naser | 54ee992 | 2023-07-22 18:40:25 +0000 | [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 | 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 | |
| 36 | labels: |
| 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 | |
| 50 | volume: |
| 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 | |
| 60 | network: |
| 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 | |
| 68 | conf: |
| 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 | |
| 83 | pod: |
| 84 | security_context: |
| 85 | ovn_northd: |
| 86 | container: |
| 87 | northd: |
| 88 | capabilities: |
| 89 | add: |
| 90 | - SYS_NICE |
| 91 | ovn_controller: |
| 92 | container: |
Mohammed Naser | 1d75a92 | 2023-07-23 19:24:49 +0000 | [diff] [blame^] | 93 | controller_init: |
| 94 | privileged: true |
| 95 | runAsUser: 0 |
Mohammed Naser | 54ee992 | 2023-07-22 18:40:25 +0000 | [diff] [blame] | 96 | controller: |
| 97 | capabilities: |
| 98 | add: |
| 99 | - SYS_NICE |
| 100 | tolerations: |
| 101 | ovn_ovsdb_nb: |
| 102 | enabled: false |
| 103 | ovn_ovsdb_sb: |
| 104 | enabled: false |
| 105 | ovn_northd: |
| 106 | enabled: false |
| 107 | ovn_controller: |
| 108 | enabled: false |
| 109 | affinity: |
| 110 | anti: |
| 111 | type: |
| 112 | default: preferredDuringSchedulingIgnoredDuringExecution |
| 113 | topologyKey: |
| 114 | default: kubernetes.io/hostname |
| 115 | weight: |
| 116 | default: 10 |
| 117 | |
| 118 | probes: |
| 119 | ovn_northd: |
| 120 | northd: |
| 121 | readiness: |
| 122 | enabled: true |
| 123 | params: |
| 124 | initialDelaySeconds: 5 |
| 125 | timeoutSeconds: 10 |
| 126 | liveness: |
| 127 | enabled: true |
| 128 | params: |
| 129 | initialDelaySeconds: 5 |
| 130 | timeoutSeconds: 10 |
| 131 | dns_policy: "ClusterFirstWithHostNet" |
| 132 | replicas: |
| 133 | ovn_ovsdb_nb: 1 |
| 134 | ovn_ovsdb_sb: 1 |
| 135 | ovn_northd: 1 |
| 136 | lifecycle: |
| 137 | upgrades: |
| 138 | daemonsets: |
| 139 | pod_replacement_strategy: RollingUpdate |
| 140 | ovn_ovsdb_nb: |
| 141 | enabled: true |
| 142 | min_ready_seconds: 0 |
| 143 | max_unavailable: 1 |
| 144 | ovn_ovsdb_sb: |
| 145 | enabled: true |
| 146 | min_ready_seconds: 0 |
| 147 | max_unavailable: 1 |
| 148 | ovn_northd: |
| 149 | enabled: true |
| 150 | min_ready_seconds: 0 |
| 151 | max_unavailable: 1 |
| 152 | ovn_controller: |
| 153 | enabled: true |
| 154 | min_ready_seconds: 0 |
| 155 | max_unavailable: 1 |
| 156 | resources: |
| 157 | enabled: false |
| 158 | ovs: |
| 159 | ovn_ovsdb_nb: |
| 160 | requests: |
| 161 | memory: "128Mi" |
| 162 | cpu: "100m" |
| 163 | limits: |
| 164 | memory: "1024Mi" |
| 165 | cpu: "2000m" |
| 166 | ovn_ovsdb_sb: |
| 167 | requests: |
| 168 | memory: "128Mi" |
| 169 | cpu: "100m" |
| 170 | limits: |
| 171 | memory: "1024Mi" |
| 172 | cpu: "2000m" |
| 173 | ovn_northd: |
| 174 | requests: |
| 175 | memory: "128Mi" |
| 176 | cpu: "100m" |
| 177 | limits: |
| 178 | memory: "1024Mi" |
| 179 | cpu: "2000m" |
| 180 | ovn_controller: |
| 181 | requests: |
| 182 | memory: "128Mi" |
| 183 | cpu: "100m" |
| 184 | limits: |
| 185 | memory: "1024Mi" |
| 186 | cpu: "2000m" |
| 187 | jobs: |
| 188 | image_repo_sync: |
| 189 | requests: |
| 190 | memory: "128Mi" |
| 191 | cpu: "100m" |
| 192 | limits: |
| 193 | memory: "1024Mi" |
| 194 | cpu: "2000m" |
| 195 | |
| 196 | secrets: |
| 197 | oci_image_registry: |
| 198 | ovn_ovsdb_nb: ovn-ovsdb-nb-oci-image-registry-key |
| 199 | ovn_ovsdb_sb: ovn-ovsdb-sb-oci-image-registry-key |
| 200 | ovn_northd: ovn-northd-oci-image-registry-key |
| 201 | ovn_controller: ovn-controller-oci-image-registry-key |
| 202 | |
| 203 | # TODO: Check these endpoints?! |
| 204 | endpoints: |
| 205 | cluster_domain_suffix: cluster.local |
| 206 | local_image_registry: |
| 207 | name: docker-registry |
| 208 | namespace: docker-registry |
| 209 | hosts: |
| 210 | default: localhost |
| 211 | internal: docker-registry |
| 212 | node: localhost |
| 213 | host_fqdn_override: |
| 214 | default: null |
| 215 | port: |
| 216 | registry: |
| 217 | node: 5000 |
| 218 | oci_image_registry: |
| 219 | name: oci-image-registry |
| 220 | namespace: oci-image-registry |
| 221 | auth: |
| 222 | enabled: false |
| 223 | openvswitch: |
| 224 | username: openvswitch |
| 225 | password: password |
| 226 | hosts: |
| 227 | default: localhost |
| 228 | host_fqdn_override: |
| 229 | default: null |
| 230 | port: |
| 231 | registry: |
| 232 | default: null |
| 233 | ovn_ovsdb_nb: |
| 234 | name: ovn-ovsdb-nb |
| 235 | namespace: null |
| 236 | hosts: |
| 237 | default: ovn-ovsdb-nb |
| 238 | host_fqdn_override: |
| 239 | default: null |
| 240 | port: |
| 241 | ovsdb: |
Mohammed Naser | ad8989f | 2023-07-22 22:29:32 +0000 | [diff] [blame] | 242 | default: 6641 |
| 243 | raft: |
Mohammed Naser | 54ee992 | 2023-07-22 18:40:25 +0000 | [diff] [blame] | 244 | default: 6643 |
| 245 | ovn_ovsdb_sb: |
| 246 | name: ovn-ovsdb-sb |
| 247 | namespace: null |
| 248 | hosts: |
| 249 | default: ovn-ovsdb-sb |
| 250 | host_fqdn_override: |
| 251 | default: null |
| 252 | port: |
| 253 | ovsdb: |
Mohammed Naser | ad8989f | 2023-07-22 22:29:32 +0000 | [diff] [blame] | 254 | default: 6642 |
| 255 | raft: |
Mohammed Naser | 54ee992 | 2023-07-22 18:40:25 +0000 | [diff] [blame] | 256 | default: 6644 |
| 257 | |
| 258 | network_policy: |
| 259 | ovn_ovsdb_nb: |
| 260 | ingress: |
| 261 | - {} |
| 262 | egress: |
| 263 | - {} |
| 264 | ovn_ovsdb_sb: |
| 265 | ingress: |
| 266 | - {} |
| 267 | egress: |
| 268 | - {} |
| 269 | ovn_northd: |
| 270 | ingress: |
| 271 | - {} |
| 272 | egress: |
| 273 | - {} |
| 274 | ovn_controller: |
| 275 | ingress: |
| 276 | - {} |
| 277 | egress: |
| 278 | - {} |
| 279 | |
| 280 | dependencies: |
| 281 | dynamic: |
| 282 | common: |
| 283 | local_image_registry: |
| 284 | jobs: |
| 285 | - openvswitch-image-repo-sync |
| 286 | services: |
| 287 | - endpoint: node |
| 288 | service: local_image_registry |
| 289 | static: |
| 290 | ovn_ovsdb_nb: null |
| 291 | ovn_ovsdb_sb: null |
| 292 | ovn_northd: |
| 293 | services: |
| 294 | - endpoint: internal |
| 295 | service: ovn-ovsdb-nb |
| 296 | - endpoint: internal |
| 297 | service: ovn-ovsdb-sb |
| 298 | ovn_controller: |
| 299 | services: |
| 300 | - endpoint: internal |
| 301 | service: ovn-ovsdb-sb |
| 302 | pod: |
| 303 | - requireSameNode: true |
| 304 | labels: |
| 305 | application: openvswitch |
| 306 | component: server |
| 307 | image_repo_sync: |
| 308 | services: |
| 309 | - endpoint: internal |
| 310 | service: local_image_registry |
| 311 | |
| 312 | manifests: |
| 313 | configmap_bin: true |
| 314 | configmap_etc: true |
| 315 | deployment_northd: true |
| 316 | daemonset_controller: true |
| 317 | service_ovn_ovsdb_nb: true |
| 318 | service_ovn_ovsdb_sb: true |
| 319 | statefulset_ovn_ovsdb_nb: true |
| 320 | statefulset_ovn_ovsdb_sb: true |
| 321 | deployment_ovn_northd: true |
| 322 | daemonset_ovn_controller: true |
| 323 | job_image_repo_sync: true |
| 324 | ... |