84 lines
2.3 KiB
YAML
84 lines
2.3 KiB
YAML
name: ovn-central-k8s
|
|
summary: Open Virtual Network for Open vSwitch
|
|
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
|
|
description: |
|
|
Principal charm that deploys ovn-northd, the OVN central control daemon,
|
|
and ovsdb-server, the Open vSwitch Database (OVSDB).
|
|
|
|
The ovn-northd daemon is responsible for translating the high-level OVN
|
|
configuration into logical configuration consumable by daemons such as
|
|
ovn-controller.
|
|
|
|
The ovn-northd process talks to OVN Northbound- and Southbound- databases.
|
|
|
|
The ovsdb-server exposes endpoints over relations implemented by the ovsdb
|
|
interface.
|
|
|
|
The charm supports clustering of the OVSDB, you must have a odd number of
|
|
units for this to work. Note that write performance decreases as you
|
|
increase the number of units.
|
|
|
|
Running multiple ovn-northd daemons is supported and they will operate in
|
|
active/passive mode. The daemon uses a locking feature in the OVSDB to
|
|
automatically choose a single active instance.
|
|
tags:
|
|
- networking
|
|
source: https://opendev.org/x/charm-ovn-central-k8s
|
|
issues: https://bugs.launchpad.net/charm-ovn-central-k8s
|
|
bases:
|
|
- name: ubuntu
|
|
channel: 22.04/stable
|
|
assumes:
|
|
- k8s-api
|
|
- juju >= 3.1
|
|
storage:
|
|
databases:
|
|
type: filesystem
|
|
description: |
|
|
Persistent storage for OVN Northbound and Southbound databases
|
|
minimum-size: 100M
|
|
|
|
containers:
|
|
ovn-sb-db-server:
|
|
resource: ovn-sb-db-server-image
|
|
mounts:
|
|
- storage: databases
|
|
location: /var/lib/ovn
|
|
ovn-nb-db-server:
|
|
resource: ovn-nb-db-server-image
|
|
mounts:
|
|
- storage: databases
|
|
location: /var/lib/ovn
|
|
ovn-northd:
|
|
resource: ovn-northd-image
|
|
|
|
resources:
|
|
ovn-sb-db-server-image:
|
|
type: oci-image
|
|
description: OCI image for OVN Southbound Database Server
|
|
upstream-source: ghcr.io/canonical/ovn-consolidated:23.09
|
|
ovn-nb-db-server-image:
|
|
type: oci-image
|
|
description: OCI image for OVN Northbound Database Server
|
|
upstream-source: ghcr.io/canonical/ovn-consolidated:23.09
|
|
ovn-northd-image:
|
|
type: oci-image
|
|
description: OCI image for OVN Northd
|
|
upstream-source: ghcr.io/canonical/ovn-consolidated:23.09
|
|
|
|
requires:
|
|
certificates:
|
|
interface: tls-certificates
|
|
|
|
provides:
|
|
ovsdb:
|
|
interface: ovsdb
|
|
ovsdb-cms:
|
|
interface: ovsdb-cms
|
|
ovsdb-server:
|
|
interface: ovsdb-cluster
|
|
|
|
peers:
|
|
peers:
|
|
interface: ovn-central-peer
|