Juju 2.5 beta1 due out real soon now will support Kubernetes bundles. This includes:
The feature landed in commit e204449 so you can also grab it early from the corresponding 2.5 edge snap once that builds.
A Kubernetes bundle is similar to a cloud bundle except for a few key differences:
bundlekeyword is set to
kubernetes(this is what denotes the bundle as a Kubernetes one)
to(placement is a set of key/value pairs used as a node selector)
A small example to get started:
bundle: kubernetes applications: mariadb: charm: cs:~wallyworld/mariadb-k8s scale: 2 constraints: mem=1G options: dataset-size: 70% storage: database: 20M,mariadb-pv gitlab: charm: cs:~wallyworld/gitlab-k8s placement: foo=bar scale: 1 relations: - - gitlab:mysql - mariadb:server