hcloud-cloud-controller-manager
About this chart
hcloud-cloud-controller-manager Helm Chart
This Helm chart is the recommended installation method for hcloud-cloud-controller-manager.
Quickstart
First, install Helm 3.
The following snippet will deploy hcloud-cloud-controller-manager to the kube-system namespace.
# Sync the Hetzner Cloud helm chart repository to your local computer.
helm repo add hcloud https://charts.hetzner.cloud
helm repo update hcloud
# Install the latest version of the hcloud-cloud-controller-manager chart.
helm install hccm hcloud/hcloud-cloud-controller-manager -n kube-system
# If you want to install hccm with private networking support (see main Deployment guide for more info).
helm install hccm hcloud/hcloud-cloud-controller-manager -n kube-system --set networking.enabled=true
Please note that additional configuration is necessary. See the main Deployment guide.
If you're unfamiliar with Helm it would behoove you to peep around the documentation. Perhaps start with the Quickstart Guide?
Upgrading from static manifests
If you previously installed hcloud-cloud-controller-manager with this command:
kubectl apply -f https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/latest/download/ccm.yaml
You can uninstall that same deployment, by running the following command:
kubectl delete -f https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/latest/download/ccm.yaml
Then you can follow the Quickstart installation steps above.
Configuration
This chart aims to be highly flexible. Please review the values.yaml for a full list of configuration options.
If you've already deployed hccm using the helm install command above, you can easily change configuration values:
helm upgrade hccm hcloud/hcloud-cloud-controller-manager -n kube-system --set monitoring.podMonitor.enabled=true
Multiple replicas / DaemonSet
You can choose between different deployment options. By default the chart will deploy a single replica as a Deployment.
If you want to change the replica count you can adjust the value replicaCount inside the helm values.
If you have more than 1 replica leader election will be turned on automatically.
If you want to deploy hccm as a DaemonSet you can set kind to DaemonSet inside the values.
To adjust on which nodes the DaemonSet should be deployed you can use the nodeSelector and additionalTolerations values.
Deploy hcloud-cloud-controller-manager with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hcloud-cloud-controller-manager on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charthcloud-cloud-controller-manager is pinned at v1.39.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply