kubernetes core #1090

Supports: bionic
Add to new model

Description

A minimal two-machine Kubernetes cluster, appropriate for development.

Kubernetes Core Bundle

Overview

This is a minimal Kubernetes cluster composed of the following components and features:

  • Kubernetes (automated deployment, operations, and scaling)
    • Kubernetes cluster with one master and one worker node.
    • TLS used for communication between nodes for security.
    • A CNI plugin (Flannel)
    • Optional Ingress Controller (on worker)
    • Optional Dashboard addon (on master) including Heapster for cluster monitoring
  • EasyRSA
    • Performs the role of a certificate authority serving self signed certificates to the requesting units of the cluster.
  • Etcd (distributed key value store)
    • One node for basic functionality.

This bundle is suitable for development and testing purposes. For a more robust, scaled-out cluster, deploy the charmed-kubernetes bundle.

For detailed installation and usage, please see the Charmed Kubernetes documentation.

Flannel

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

Configuration

iface The interface to configure the flannel SDN binding. If this value is empty string or undefined the code will attempt to find the default network adapter similar to the following command:

route | grep default | head -n 1 | awk {'print $8'}

cidr The network range to configure the flannel SDN to declare when establishing networking setup with etcd. Ensure this network range is not active on the vlan you're deploying to, as it will cause collisions and odd behavior if care is not taken when selecting a good CIDR range to assign to flannel.

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

Bundle configuration

Embed this bundle

Add this card to your website by copying the code below. Learn more.

Preview