DevOps Classroom notes 14/Feb/2026

Helm continued.

  • Helm Functions: Refer Here
  • Helm custom functions can go into _helpers.tpl file
You are an helm expert
I'm learning helm and i know how to write expressions
Give me examples of helm custom function one by one
wait me to try one then give next
  • Helm template
---
apiVersion: v1
kind: Service
metadata:
  name: {{ .Values.services.makeline.name }}  
spec:
  type: {{ .Values.services.makeline.type }}
  ports: {{ .Values.services.makeline.ports | toYaml  | nindent 4 }}
  selector: {{ .Values.services.makeline.selector | toYaml | nindent 4 -}}

Preview

  • With statement in helm
{{- with .Values.services.makeline }}
apiVersion: v1
kind: Service
metadata:
  name: {{ .name }}
spec:
  type: {{ .type }}
  ports:
{{ .ports | toYaml | nindent 4 }}
  selector:
{{ .selector | toYaml | nindent 4 }}
{{- end }}

  • Refer Here for the changes done to use the similar approach for all services.
  • Refer Here for helm changes.

Exercise: deploy a helm chart in killercode where helm chart is in github.

Next Topics

  • Tommorow
    • Ingress (Ingress Controller – is external)
    • Gateway (Gateway Controller – is external)
    • Access control in k8s
  • Next Week
    • Service Mesh
    • Argo CD (Gitops)
    • Monitoring (Observability)
  • Week after
    • EKS/AKS
    • Full workshop on k8s deployment with CI/CD Pipeline

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube