Traefik Hub Helm Chart
Introduction
This chart installs the Hub agent in a Kubernetes cluster. The agent consists of two deployments: a controller and multiple authentication servers.
Installation
Prerequisites
With the command helm version
, make sure that you have:
- Helm v3 installed
Add Hub's chart repository to Helm:
helm repo add traefik-hub https://helm.traefik.io/hub
You can update the chart repository by running:
helm repo update
Deploying Hub
helm install hub-agent traefik-hub/hub-agent
Deploying Hub with a full-yaml
kubectl apply -f https://traefik.github.io/hub-helm-chart/yaml/0.20.2.yaml
Specifications
If you want to install the hub-agent in a specific namespace, you need to:
- Create the specific namespace:
kubectl create namespace hub
- Then launch the installation with the imperative argument --namespace:
helm install hub-agent traefik-hub/hub-agent --namespace hub
Launch unit tests
You need the helm-plugin: https://github.com/rancher/helm-unittest
Then:
helm unittest hub-agent/
Uninstall
We consider in this example the version install being :
helm uninstall hub-agent
If hub-agent was installed in a specific namespace
helm uninstall hub-agent --namespace hub-namespace