whoami

by philippwaller

Helm chartv1.0.3App v1.8.0

Tiny Go webserver that prints os information and HTTP request to output

About this chart

Whoami

Tiny Go webserver that prints os information and HTTP request to output

TL;DR

helm repo add philippwaller https://charts.philippwaller.com
helm install whoami philippwaller/whoami

Introduction

This chart bootstraps an whoami deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.1+

Parameters

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullnamewhoami
fullnameOverrideString to fully override common.names.fullname""

Docker Image

NameDescriptionValue
image.repositorywhoami image repositorytraefik/whoami
image.pullPolicyimage pull policyIfNotPresent
image.tagOverrides the image tag whose default is the chart appVersion.""
imagePullSecretsIf defined, uses a Secret to pull an image from a private Docker registry or repository[]

Container Configuration

NameDescriptionValue
replicaCountThe number of pods to run1
autoscaling.enabledEnable replica autoscaling depending on CPUfalse
autoscaling.minReplicasMinimum number of replicas1
autoscaling.maxReplicasMaximum number of replicas100
autoscaling.targetCPUUtilizationPercentageCPU utilization threshold80
podAnnotationsAnnotations to be added to the pod{}
podSecurityContextPod-level security context{}
securityContextSecurity context{}
resourcesResource and requests limits{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity for pod assignment{}

Service Account

NameDescriptionValue
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameThe name of the service account to use.""

Service Configuration

NameDescriptionValue
service.typeService typeClusterIP
service.portPort of the internal Kubernetes service80
ingress.enabledEnable ingress record generationfalse
ingress.classNameIngressClass that will be be used to implement the Ingress""
ingress.annotationsAdditional annotations for the Ingress resource.{}
ingress.hostsAn array with ingress host objects, under which service should be reachable{}
ingress.tlsAn array of TLS configurations[]

Support this project

If this project was useful to you in some form, I would be glad to have your support by starring ⭐️ this repository.

Deploy whoami with OpenTenant

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