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: |
| 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 | |
| 193 | secrets: |
| 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?! |
| 201 | endpoints: |
| 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: |
| 239 | default: 6643 |
| 240 | ovn_ovsdb_sb: |
| 241 | name: ovn-ovsdb-sb |
| 242 | namespace: null |
| 243 | hosts: |
| 244 | default: ovn-ovsdb-sb |
| 245 | host_fqdn_override: |
| 246 | default: null |
| 247 | port: |
| 248 | ovsdb: |
| 249 | default: 6644 |
| 250 | |
| 251 | network_policy: |
| 252 | ovn_ovsdb_nb: |
| 253 | ingress: |
| 254 | - {} |
| 255 | egress: |
| 256 | - {} |
| 257 | ovn_ovsdb_sb: |
| 258 | ingress: |
| 259 | - {} |
| 260 | egress: |
| 261 | - {} |
| 262 | ovn_northd: |
| 263 | ingress: |
| 264 | - {} |
| 265 | egress: |
| 266 | - {} |
| 267 | ovn_controller: |
| 268 | ingress: |
| 269 | - {} |
| 270 | egress: |
| 271 | - {} |
| 272 | |
| 273 | dependencies: |
| 274 | dynamic: |
| 275 | common: |
| 276 | local_image_registry: |
| 277 | jobs: |
| 278 | - openvswitch-image-repo-sync |
| 279 | services: |
| 280 | - endpoint: node |
| 281 | service: local_image_registry |
| 282 | static: |
| 283 | ovn_ovsdb_nb: null |
| 284 | ovn_ovsdb_sb: null |
| 285 | ovn_northd: |
| 286 | services: |
| 287 | - endpoint: internal |
| 288 | service: ovn-ovsdb-nb |
| 289 | - endpoint: internal |
| 290 | service: ovn-ovsdb-sb |
| 291 | ovn_controller: |
| 292 | services: |
| 293 | - endpoint: internal |
| 294 | service: ovn-ovsdb-sb |
| 295 | pod: |
| 296 | - requireSameNode: true |
| 297 | labels: |
| 298 | application: openvswitch |
| 299 | component: server |
| 300 | image_repo_sync: |
| 301 | services: |
| 302 | - endpoint: internal |
| 303 | service: local_image_registry |
| 304 | |
| 305 | manifests: |
| 306 | configmap_bin: true |
| 307 | configmap_etc: true |
| 308 | deployment_northd: true |
| 309 | daemonset_controller: true |
| 310 | service_ovn_ovsdb_nb: true |
| 311 | service_ovn_ovsdb_sb: true |
| 312 | statefulset_ovn_ovsdb_nb: true |
| 313 | statefulset_ovn_ovsdb_sb: true |
| 314 | deployment_ovn_northd: true |
| 315 | daemonset_ovn_controller: true |
| 316 | job_image_repo_sync: true |
| 317 | ... |