flannel #597

Supports: focal bionic xenial

Description

it is a generic overlay network that can be used as a simple alternative to existing software defined networking solutions


Flannel Charm

Flannel is a virtual network that gives a subnet to each host for use with container runtimes.

This charm will deploy flannel as a background service, and configure CNI for use with flannel, on any principal charm that implements the kubernetes-cni interface.

This charm is maintained along with the components of Charmed Kubernetes. For full information, please visit the official Charmed Kubernetes docs.

Developers

Building the charm

charm build -o <build-dir>

Building the flannel resources

./build-flannel-resources.sh

Configuration

cidr
(string) Network CIDR to assign to Flannel
10.1.0.0/16
iface
(string) The interface to bind flannel overlay networking. The default value is the interface bound to the cni endpoint.
nagios_context
(string) Used by the nrpe subordinate charms. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
juju
nagios_servicegroups
(string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
port
(int) Network port to use for Flannel
vni
(int) VXLAN network id to assign to Flannel