liveBook · Manning

Values.yaml file

As explained in Machine Learning Platform Engineering

A Helm values file is a configuration file containing values that customize templates in a Helm chart.

A values.yaml file supplies configuration values that Helm chart templates use to customize Kubernetes objects. It can control properties such as container images, CPU and memory requests, replica counts, service types, and ports across an application. section 3.3.6

Application configuration

A chart can set three replicas, select the varunmallya/hello-joker:v1 image, use an IfNotPresent pull policy, and expose port 8080 through a NodePort service.

Figure 3.9 The service_template.yaml file defines the K8s service, and the type of service and port are obtained from values.yaml. The template and values form the core of a Helm chart.
A screenshot of a computer

AI-generated content may be incorrect.

Trace how a service template obtains its type and port from values.yaml, connecting configuration to generated Kubernetes resources. section 3.3.6

How Machine Learning Platform Engineering covers it

How deep it goes
Explains the template-to-values relationship and demonstrates configuration fields, but does not detail Helm value-merging or schema behavior.
Examples
Uses replicaCount, image settings, and NodePort service configuration to deploy a multi-replica application.
What it assumes
Assumes familiarity with basic Kubernetes objects while introducing Helm charts, templates, and values together.
What you can do after
Operate/configure Helm deployments by editing chart values and verifying the resulting Kubernetes resources.
How it connects
Connects Helm charts with Kubernetes object templates, deployments, pods, services, and container images.

Also explained in

Compare how 3 books explain values.yaml file →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning Platform Engineering. The section links point to the parts of the book it draws on.