Helm chart vocabulary

  • values.yaml — default config; overridden with -f file.yaml or --set key=value
  • {{ .Values.key }} — Go template expression; replaced with value from values.yaml at render time
  • helm upgrade --install — idempotent: install if new, upgrade if exists; safe for CI/CD
  • Chart.yaml: version = chart package version; appVersion = application version being packaged
  • {{ if .Values.key }} — conditional rendering; the block only appears in the manifest if the value is truthy

Question 0 of 5

Read this Helm values.yaml. What does replicaCount: 2 do?

# values.yaml replicaCount: 2 image: repository: myapp tag: "1.5.0" pullPolicy: IfNotPresent service: type: ClusterIP port: 80