vultr-ccm

by vultr

Helm chartv1.3.0App v0.3.0Verified publisherOfficial

A Helm chart for Vultr's Cloud Controller Manager

About this chart

Vultr-ccm

The Vultr Cloud Controller Manager (ccm) provides a fully supported experience of Vultr features in your Kubernetes cluster.

  • Node resources are assigned their respective Vultr instance hostnames, Region, PlanID and public/private IPs.
  • Node resources get put into their proper state if they are shutdown or removed. This allows for Kubernetes to properly reschedule pods
  • Vultr LoadBalancers are automatically deployed when a LoadBalancer service is deployed.

Prerequisites

  • Helm v3+ is required to install the ccm charts

Installation

Get Repo Info

helm repo add vultr https://vultr.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Installing the Chart

First, you will need to deploy a secret with your api key.

kubectl create secret generic "vultr-helm-secret" --from-literal=api-key=<VULTR API KEY> --namespace=kube-system

Second, you will deploy the helm chart.

# Helm
helm install [RELEASE_NAME] vultr/vultr-ccm

This will deploy all necessary services, deployments, rbac, and various other resources required for cert-manager.

Uninstall the Chart

To uninstall the webhook run the following:

# Helm
helm uninstall [RELEASE_NAME]

See helm uninstall for command documentation.

Deploy vultr-ccm with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vultr-ccm 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 chartvultr-ccm is pinned at v1.3.0 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