Helm¶
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
All the charts are included in the folder “charts”. Every chart has the following structure:
Chart.yaml # A YAML file containing information about the chart
values.yaml # The default configuration values for this chart
chart/ # A directory containing any charts upon which this chart depends.
chart/templates/ # A directory of templates that, when combined with values,
# will generate valid Kubernetes manifest files.
# Chart.yaml
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for deploying the Tango-Base on Kubernetes
name: tango-base
version: 0.1.0
# example of values
tmcprototype:
enabled: true
image:
registry: nexus.engageska-portugal.pt/tango-example
image: tmcprototype
tag: latest
pullPolicy: Always
Update chart settings.¶
In some cases you may want to alter the settings applied in the chart. E.g To set the Elastic index lifetime management policy to keep logs for 2 days, update values.yaml to the following:
elastic:
enabled: true
image:
registry: docker.elastic.co
image: elasticsearch/elasticsearch
tag: 7.4.2
pullPolicy: IfNotPresent
ilm:
rollover:
max_size: "1gb"
max_age: "2d" # Update here
delete:
min_age: "1d"
More information available here. Helm Glossare here <https://helm.sh/docs/glossary/>`_.