thruk

by SVTECH-NMAA

Helm chartv1.2.3App v1.0.0Verified publisher

SVTECH Thruk

About this chart

Thruk Chart

Tree level

+--- Chart.yaml : Chart information and dependencies (you can use as {{ .Chart }} variable on template files )
+--- README.md
+--- templates : define your template files in this folder
|   +--- configmap-index-html.yaml
|   +--- configmap-proxy.yaml
|   +--- configmap-thruk-local.yaml
|   +--- deployment.yaml
|   +--- service.yaml
|   +--- _helpers.tpl : define your custom template variable here, and you can create new file .tpl
+--- values.yaml : define {{ .Values }} variable to use in template files

How to use

  • Clone this Container repo to /opt:

    cd /opt
    git clone https://github.com/svtechnmaa/stacked_charts.git
    
    
  • Edit values.yaml at /opt/SVTECH_Projects_Container/kubernetes/nms_project/charts/thruk

    • You can change value at values.yaml file to apply your case:
      • timezone
      • image: registry, repository, tag
      • replicaCount
      • service: type, port, externalIPs
      • thrukConfig
  • Start chart alone:

    helm install thruk /opt/SVTECH_Projects_Container/kubernetes/nms_project/charts/thruk
    
  • Verify:

    • Check Pods
      kubectl get pods
      
    • Check service
      kubectl get svc
      
  • Uninstallation:

    helm uninstall thruk
    

Deploy thruk with OpenTenant

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