clusterfan

by NoUseFreak

Helm chartv0.1.2App v0.1.0Verified publisher

Control a PWM fan based on node temps

About this chart

clusterfan

TL;DR;

helm repo add nousefreak https://nousefreak.github.io/helm-charts
helm install my-release nousefreak/clusterfan

Introduction

  • https://github.com/NoUseFreak/clusterfan
  • https://github.com/NoUseFreak/helm-charts

Prerequisites

  • Kubernetes 1.19+

Installing the Chart

To install the chart with the release name my-release:

helm repo add nousefreak https://nousefreak.github.io/helm-charts
helm install my-release nousefreak/clusterfan

These commands deploy clusterfan on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following tables list the configurable parameters of the clusterfan chart and their default values.

KeyTypeDefaultDescription
image.repositorystring"ghcr.io/nousefreak/clusterfan"
image.tagstringnil
pwm.hostnamestring"kmaster"

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install my-release -f values.yaml nousefreak/clusterfan

Deploy clusterfan with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clusterfan 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 chartclusterfan is pinned at v0.1.2 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