calico #29

Supports: xenial bionic

Add to new model

Description

Deploys Calico as a background service and configures CNI for use with
calico on any principal charm that implements the kubernetes-cni interface.


Calico Charm

Calico is a new approach to virtual networking and network security for containers,
VMs, and bare metal services, that provides a rich set of security enforcement
capabilities running on top of a highly scalable and efficient virtual network fabric.

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

Usage

The calico charm is a subordinate. This charm will require a principal charm
that implements the kubernetes-cni interface in order to properly deploy.

juju deploy cs:~containers/calico juju deploy cs:~containers/etcd juju deploy cs:~containers/kubernetes-master juju deploy cs:~containers/kubernetes-worker juju add-relation calico etcd juju add-relation calico kubernetes-master juju add-relation calico kubernetes-worker

Further information


Configuration

apt-key-server
(string) APT Key Server
hkp://keyserver.ubuntu.com:80
calico-node-image
(string) The image id to use for calico/node.
quay.io/calico/node:v2.6.12
calico-policy-image
(string) The image id to use for calico/kube-controllers.
quay.io/calico/kube-controllers:v1.0.5
cuda_repo
(string) The cuda-repo package version to install.
10.0.130-1
docker-ce-package
(string) The pinned version of docker-ce package installed with nvidia-docker.
docker-ce
docker-opts
(string) Extra options to pass to the docker daemon. e.g. --insecure-registry
docker_runtime
(string) docker runtime to install valid values are "upstream" (docker PPA), "nvidia" (nvidia PPA), "apt" (ubuntu archive), or "auto" (nvidia PPA or ubuntu archive, based on your hardware)
auto
enable-cgroups
(boolean) Enable GRUB cgroup overrides cgroup_enable=memory swapaccount=1. WARNING changing this option will reboot the host - use with caution on production services
http_proxy
(string) URL to use for HTTP_PROXY to be used by Docker. Useful in egress-filtered environments where a proxy is the only option for accessing the registry to pull images.
https_proxy
(string) URL to use for HTTPS_PROXY to be used by Docker. Useful in egress-filtered environments where a proxy is the only option for accessing the registry to pull images.
install_from_upstream
(boolean) Toggle installation from ubuntu archive vs the docker PPA (DEPRECATED; please use docker_runtime instead)
ipip
(string) IPIP mode. Must be one of "Always", "CrossSubnet", or "Never".
Never
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
nat-outgoing
(boolean) NAT outgoing traffic
True
no_proxy
(string) Comma-separated list of destinations (either domain names or IP addresses) which should be accessed directly, rather than through the proxy defined in http_proxy or https_proxy. Must be less than 2023 characters long.
nvidia-container-runtime-package
(string) The pinned version of nvidia-container-runtime package.
nvidia-container-runtime
nvidia-docker-package
(string) The pinned version of nvidia-docker2 package.
nvidia-docker2