Provides a kubernetes node for running containers See http://goo.gl/CSggxE
Kubernetes Minion Charm
The Kubernetes Juju charms enable you to run Kubernetes on all the cloud platforms that Juju supports.
A Kubernetes deployment consists of several independent charms that can be scaled to meet your needs
Etcd is a key value store for Kubernetes. All persistent master state
is stored in
Flannel is a software defined networking component that provides individual subnets for each machine in the cluster.
The controlling unit in a Kubernetes cluster is called the master. It is the main management contact point providing many management services for the worker nodes.
The servers that perform the work are known as minions. Minions must be able to communicate with the master and run the workloads that are assigned to them.
Deploying the Development Focus
To deploy a Kubernetes environment in Juju :
juju deploy cs:~hazmat/trusty/etcd juju deploy cs:~hazmat/trusty/flannel juju deploy local:trusty/kubernetes-master juju deploy local:trusty/kubernetes juju add-relation etcd flannel juju add-relation etcd kubernetes juju add-relation etcd kubernetes-master juju add-relation kubernetes kubernetes-master
Deploying the recommended configuration
A bundle can be used to deploy Kubernetes onto any cloud it can be
orchestrated directly in the Juju Graphical User Interface, when using
juju quickstart https://raw.githubusercontent.com/whitmo/bundle-kubernetes/master/bundles.yaml juju expose kubernetes-master
For more information on the recommended bundle deployment, see the documentation here
$ juju status kubernetes-master | grep public public-address: 188.8.131.52 $ export KUBERNETES_MASTER="184.108.40.206"
For you convenience this charm supports changing the version of kubernetes binaries. This can be done through the Juju GUI or on the command line:
juju set kubernetes version=”v0.8.2”
If the charm does not already contain the tar file with the desired architecture and version it will attempt to download the kubernetes binaries using the gsutil command.
Congratulations you know have deployed a Kubernetes environment! Use the kubectl to interact with the environment.
- (string) The kubernetes version to install in the charm.