hcloud-ccm-mgmt

by Cloudhippie

Helm chartv1.13.3App 1.39.3Apache-2.0Verified publisher

Hetzner Cloud CCM component for management clusters

About this chart

hcloud-ccm-mgmt

Hetzner Cloud CCM component for management clusters

Homepage: https://github.com/hetznercloud/hcloud-cloud-controller-manager

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Installing the Chart

OCI (Recommended)

helm install hcloud-ccm-mgmt oci://ghcr.io/cloudhippie/charts/hcloud-ccm-mgmt

Traditional

helm repo add cloudhippie https://cloudhippie.github.io/charts
helm repo update
helm install hcloud-ccm-mgmt cloudhippie/hcloud-ccm-mgmt

Maintainers

NameEmailUrl
tboerger[email protected]https://github.com/tboerger

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for the deployment
annotationsobject{}Define additional annotations
config.clusterCidrstring"10.1.0.0/16"CIDR of the cluster network
config.kubeconfigstringnilName of the secret containing a kubeconfig
config.networkstringnilName of the private cloud network
extraEnvVariableslist[{"name":"HCLOUD_INSTANCES_ADDRESS_FAMILY","value":"dualstack"},{"name":"HCLOUD_LOAD_BALANCERS_ENABLED","value":"true"},{"name":"HCLOUD_LOAD_BALANCERS_NETWORK_ZONE","value":"eu-central"},{"name":"HCLOUD_LOAD_BALANCERS_DISABLE_IPV6","value":"false"},{"name":"HCLOUD_LOAD_BALANCERS_DISABLE_PRIVATE_INGRESS","value":"true"},{"name":"HCLOUD_LOAD_BALANCERS_USE_PRIVATE_IP","value":"true"},{"name":"HCLOUD_NETWORK_DISABLE_ATTACHED_CHECK","value":"true"}]Extra environment variables for controller
extraInitContainerslist[]List of extra init containers
extraSidecarContainerslist[]List of extra sidecar containers
extraVolumeMountslist[]List of extra volume mounts
extraVolumeslist[]List of extra volumes
fullnameOverridestring""Override the fullname
image.controller.pullPolicystring"IfNotPresent"Image pull policy
image.controller.repositorystring"hetznercloud/hcloud-cloud-controller-manager"Image repository used by deployment
image.controller.tagstring""Optional tag for the repository, defaults to app version
image.pullSecretslist[]Optional name of pull secret if using a private registry
labelsobject{}Define additional labels
metrics.enabledbooltrueEnable metrics
metrics.internalPortint8233Internal metrics port of the service
metrics.portint8233Metrics port of the service
metrics.serviceMonitor.annotationsobject{}Additional annotations for the service monitor
metrics.serviceMonitor.enabledboolfalseEnable service monitor
metrics.serviceMonitor.honorLabelsboolfalseHonorLabels chooses the metric’s labels on collisions with target labels
metrics.serviceMonitor.intervalstringnilInterval at which metrics should be scraped
metrics.serviceMonitor.jobLabelstringnilOptional job label for the target service in Prometheus
metrics.serviceMonitor.labelsobject{}Additional labels for the service monitor
metrics.serviceMonitor.metricRelabelingslist[]List of metric relabel configs to apply to samples before ingestion
metrics.serviceMonitor.namespacestringnilNamespace for ServiceMonitor, defaults to release namespace
metrics.serviceMonitor.relabelingslist[]List of relabel configs to apply to samples before scraping
metrics.serviceMonitor.scrapeTimeoutstringnilTimeout after which the scrape is ended
nameOverridestring""Override the name
nodeSelectorobject{}Node selector for the deployment
podSecurityContext.controllerobject{}Security context for the controller pod
replicaCountint1Replicas for the deployment
resourcesobject{"controller":{"limits":{"cpu":"1000m","memory":"640Mi"},"requests":{"cpu":"100m","memory":"64Mi"}}}Resources for the deployment
secret.existingbooltrueUse an existing secret
secret.namestring"hetzner"Name of the secret
secret.tokenstringnilValues of the token within the secret
securityContextobject{}Security context for the deployment
service.annotationsobject{}Additional annotations for the service
service.labelsobject{}Additional labels for the service
service.typestring"ClusterIP"Type of the service
serviceAccount.annotationsobject{}Define annotations for the service account
serviceAccount.createbooltrueCreate a new service account
serviceAccount.namestring""Optional name for an existing service account
tolerationslist[]Tolerations for the deployment
updateStrategyobject{"type":"Recreate"}Updaqte strategy for deployment

Deploy hcloud-ccm-mgmt with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hcloud-ccm-mgmt 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthcloud-ccm-mgmt is pinned at v1.13.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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