d.vazquezm.2021_helm

by davidvmar

Helm chartv1.0.0App 1.16.0Verified publisher

A Helm chart for Kubernetes

About this chart

Contenedores y orquestadores. Helm

El Chart se ha publicado en ArtifactHUB en () El vídeo demostrativo del funcionamiento

Comandos útiles (local)

Visualización de charts en local:

helm list

Generación de manifiestos para pruebas:

helm install --debug --dry-run app-release ./ > out.yml

Instalar/desinstalar en local para primeros test:

helm install app-release .
helm uninstall app-release ./

Para que funcione el ingress a través de http://cluster-ip/:

  1. Añadir al /etc/host la ip de minikube
  2. Iniciar tunel con:
$ minikube tunnel

Upgrade:

helm upgrade app-release -f .\without-ingress.yml .
helm rollback app-release 1

Packaging

helm package . -d charts/
helm repo index charts/

ArtifactHUB

Add repository

helm repo add apphelm https://raw.githubusercontent.com/davidvmar/app-helm/main

Install chart

helm install davidvmar-release apphelm/d.vazquezm.2021_helm --version 0.1.0

helm upgrade davidvmar-release -f .\without-ingress.yml apphelm/d.vazquezm.2021_helm

Deploy d.vazquezm.2021_helm with OpenTenant

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