I've found 2 charms relative to "The charmed distribution of kubernetes".
The first at https://jujucharms.com/canonical-kubernetes/ seems to have only the necessary components.
The second at https://jujucharms.com/canonical-kubernetes/2 adds topbeat filebeat elastic search and kibana.
Strangely the two charms say they are installed with the command "juju deploy canonical-kubernetes"
So my questions:
- what is the correct charm?
- what charm will be installed with the command "juju deploy canonical-kubernetes"?
Thanks
The documentation seems to give conflicting results. To be sure of what you will deploy with
juju deploy canonical-kubernetes
you can do the following:You can also copy the command on the top right to ensure you get the version you want. So for the bundle with filebeat / ES it would be
juju deploy cs:bundle/canonical-kubernetes-2
.A word of caution, the bundle with the elasticsearch that you linked does not seem to be updated and uses old charms. You can find the charm version in de bundle.yaml file.
What is the correct Juju charm for Kubernetes?
There are two main choices for running Kubernetes under Juju:
The
kubernetes-core
is a minimalist installation that's typically faster. It's perfect for getting started with k8s.canonical-kubernetes
is the Charmed Distribution of Kubernetes and suitable for production workloads.What version of the charm is used when I run
juju deploy
?Juju will attempt to resolve the most recent charm or bundle. To identify which version of the charm or bundle is current, you can visit the charm store or use the command-line:
If you don't trust
--dry-run
for whatever reason, you could spin up a local test using LXD, then deploy the charm there:You'll then see something similar to the following: