8c41205b58
Change-Id: I84c38c7210217718339c0b1ef059bbad9854b2cc
292 lines
6.6 KiB
YAML
292 lines
6.6 KiB
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Default values for openvswitch.
|
|
# This is a YAML-formatted file.
|
|
# Declare name/value pairs to be passed into your templates.
|
|
# name: value
|
|
|
|
---
|
|
release_group: null
|
|
|
|
images:
|
|
tags:
|
|
ovn_nb_db: docker.io/openstackhelm/ovn:latest-ubuntu_focal
|
|
ovn_sb_db: docker.io/openstackhelm/ovn:latest-ubuntu_focal
|
|
ovn_northd: docker.io/openstackhelm/ovn:latest-ubuntu_focal
|
|
ovn_controller: docker.io/openstackhelm/ovn:latest-ubuntu_focal
|
|
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
|
image_repo_sync: docker.io/library/docker:17.07.0
|
|
pull_policy: "IfNotPresent"
|
|
local_registry:
|
|
active: false
|
|
exclude:
|
|
- dep_check
|
|
- image_repo_sync
|
|
|
|
labels:
|
|
ovn_nb_db:
|
|
node_selector_key: openstack-network-node
|
|
node_selector_value: enabled
|
|
ovn_sb_db:
|
|
node_selector_key: openstack-network-node
|
|
node_selector_value: enabled
|
|
ovn_northd:
|
|
node_selector_key: openstack-network-node
|
|
node_selector_value: enabled
|
|
ovn_controller:
|
|
node_selector_key: openvswitch
|
|
node_selector_value: enabled
|
|
|
|
volume:
|
|
ovn_nb_db:
|
|
use_local_path:
|
|
enabled: false
|
|
host_path: /var/lib/rabbitmq
|
|
chown_on_start: true
|
|
enabled: true
|
|
class_name: general
|
|
size: 5Gi
|
|
ovn_sb_db:
|
|
use_local_path:
|
|
enabled: false
|
|
host_path: /var/lib/rabbitmq
|
|
chown_on_start: true
|
|
enabled: true
|
|
class_name: general
|
|
size: 5Gi
|
|
|
|
conf:
|
|
ovn_cms_options: "enable-chassis-as-gw,availability-zones=nova"
|
|
ovn_remote: tcp:ovn-sb-db.openstack.svc.cluster.local:6640
|
|
ovn_encap_type: geneve
|
|
ovn_bridge: br-int
|
|
# ovn_bridge_mappings: "physnet-public:br-public,physnet-private:br-private"
|
|
ovn_bridge_mappings: ""
|
|
|
|
# auto_bridge_add:
|
|
# br-private: eth0
|
|
# br-public: eth1
|
|
auto_bridge_add: {}
|
|
|
|
# NOTE: should be same as nova.conf.use_fqdn.compute
|
|
use_fqdn:
|
|
compute: true
|
|
|
|
pod:
|
|
tolerations:
|
|
ovn_nb_db:
|
|
enabled: false
|
|
ovn_sb_db:
|
|
enabled: false
|
|
ovn_northd:
|
|
enabled: false
|
|
ovn_controller:
|
|
enabled: false
|
|
affinity:
|
|
anti:
|
|
type:
|
|
default: preferredDuringSchedulingIgnoredDuringExecution
|
|
topologyKey:
|
|
default: kubernetes.io/hostname
|
|
weight:
|
|
default: 10
|
|
|
|
probes:
|
|
# TODO: Add healthchecks
|
|
dns_policy: "ClusterFirstWithHostNet"
|
|
lifecycle:
|
|
upgrades:
|
|
daemonsets:
|
|
pod_replacement_strategy: RollingUpdate
|
|
ovn_nb_db:
|
|
enabled: true
|
|
min_ready_seconds: 0
|
|
max_unavailable: 1
|
|
ovn_sb_db:
|
|
enabled: true
|
|
min_ready_seconds: 0
|
|
max_unavailable: 1
|
|
ovn_northd:
|
|
enabled: true
|
|
min_ready_seconds: 0
|
|
max_unavailable: 1
|
|
ovn_controller:
|
|
enabled: true
|
|
min_ready_seconds: 0
|
|
max_unavailable: 1
|
|
resources:
|
|
enabled: false
|
|
ovs:
|
|
ovn_nb_db:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
ovn_sb_db:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
ovn_northd:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
ovn_controller:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
jobs:
|
|
image_repo_sync:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
|
|
secrets:
|
|
oci_image_registry:
|
|
ovn_nb_db: ovn-nb-db-oci-image-registry-key
|
|
ovn_sb_db: ovn-sb-db-oci-image-registry-key
|
|
ovn_northd: ovn-northd-oci-image-registry-key
|
|
ovn_controller: ovn-controller-oci-image-registry-key
|
|
|
|
# TODO: Check these endpoints?!
|
|
endpoints:
|
|
cluster_domain_suffix: cluster.local
|
|
local_image_registry:
|
|
name: docker-registry
|
|
namespace: docker-registry
|
|
hosts:
|
|
default: localhost
|
|
internal: docker-registry
|
|
node: localhost
|
|
host_fqdn_override:
|
|
default: null
|
|
port:
|
|
registry:
|
|
node: 5000
|
|
oci_image_registry:
|
|
name: oci-image-registry
|
|
namespace: oci-image-registry
|
|
auth:
|
|
enabled: false
|
|
openvswitch:
|
|
username: openvswitch
|
|
password: password
|
|
hosts:
|
|
default: localhost
|
|
host_fqdn_override:
|
|
default: null
|
|
port:
|
|
registry:
|
|
default: null
|
|
ovn_nb_db:
|
|
name: ovn-nb-db
|
|
namespace: null
|
|
hosts:
|
|
default: ovn-nb-db
|
|
host_fqdn_override:
|
|
default: null
|
|
port:
|
|
db:
|
|
default: 6640
|
|
ovn_sb_db:
|
|
name: ovn-sb-db
|
|
namespace: null
|
|
hosts:
|
|
default: ovn-sb-db
|
|
host_fqdn_override:
|
|
default: null
|
|
port:
|
|
db:
|
|
default: 6640
|
|
|
|
network_policy:
|
|
ovn_nb_db:
|
|
ingress:
|
|
- {}
|
|
egress:
|
|
- {}
|
|
ovn_sb_db:
|
|
ingress:
|
|
- {}
|
|
egress:
|
|
- {}
|
|
ovn_northd:
|
|
ingress:
|
|
- {}
|
|
egress:
|
|
- {}
|
|
ovn_controller:
|
|
ingress:
|
|
- {}
|
|
egress:
|
|
- {}
|
|
|
|
dependencies:
|
|
dynamic:
|
|
common:
|
|
local_image_registry:
|
|
jobs:
|
|
- openvswitch-image-repo-sync
|
|
services:
|
|
- endpoint: node
|
|
service: local_image_registry
|
|
static:
|
|
ovn_nb_db: null
|
|
ovn_sb_db: null
|
|
ovn_northd:
|
|
services:
|
|
- endpoint: internal
|
|
service: ovn-nb-db
|
|
- endpoint: internal
|
|
service: ovn-sb-db
|
|
ovn_controller:
|
|
services:
|
|
- endpoint: internal
|
|
service: ovn-sb-db
|
|
pod:
|
|
- requireSameNode: true
|
|
labels:
|
|
application: openvswitch
|
|
component: server
|
|
image_repo_sync:
|
|
services:
|
|
- endpoint: internal
|
|
service: local_image_registry
|
|
|
|
manifests:
|
|
configmap_bin: true
|
|
configmap_etc: true
|
|
deployment_northd: true
|
|
daemonset_controller: true
|
|
service_ovn_nb_db: true
|
|
service_ovn_sb_db: true
|
|
statefulset_ovn_nb_db: true
|
|
statefulset_ovn_sb_db: true
|
|
deployment_ovn_northd: true
|
|
daemonset_ovn_controller: true
|
|
job_image_repo_sync: true
|
|
...
|