---
title: Charmhub | Deploy Flannel using Charmhub - The Open Operator Collection
description: Deploy the latest version of Flannel on any cloud. A charm that provides
  a robust Software Defined Network
url: https://charmhub.io/flannel
---

# Flannel

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

Platform:

24.04

22.04

20.04

18.04

16.04

stable 96a2394

```
juju deploy flannel
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Contact](mailto:Tim Van Steenburgh <tim.van.steenburgh@canonical.com>)

---

#### Contacts

##### Maintainers

+ [Tim Van Steenburgh](mailto:tim.van.steenburgh@canonical.com)
+ [George Kraft](mailto:george.kraft@canonical.com)
+ [Rye Terrell](mailto:rye.terrell@canonical.com)
+ [Konstantinos Tsakalozos](mailto:kos.tsakalozos@canonical.com)
+ [Charles Butler](mailto:Chuck@dasroot.net)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

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`](https://github.com/juju-solutions/interface-kubernetes-cni) interface.

## Usage

The flannel charm is a
[subordinate](https://juju.is/docs/sdk#heading--subordinate-charms).
This charm will require a principal charm that implements the `kubernetes-cni`
interface in order to properly deploy.

```
juju deploy flannel
juju deploy etcd
juju deploy kubernetes-control-plane
juju deploy kubernetes-worker
juju add-relation flannel etcd
juju add-relation flannel kubernetes-control-plane
juju add-relation flannel kubernetes-worker
```

## Known Limitations

This subordinate does not support being co-located with other deployments of
the flannel subordinate (to gain 2 vlans on a single application). If you
require this support please file a bug.

This subordinate also leverages juju-resources, so it is currently only available
on juju 2.0+ controllers.

## Further information

* [Flannel Homepage](https://github.com/coreos/flannel)

---

[Help improve this document in the forum](https://discourse.charmhub.io/t/flannel-docs-index/6179) ([guidelines](https://discourse.charmhub.io/t/how-to-write-docs-our-documentation-guidelines-for-contributors/1245)). Last updated 4 years ago.
