The YAML goes inside the YAML 🎶

To the tune of “The knee bone’s connected to the hip bone”:

Docker builds your app into a container image
Push the image up to the image repository
Put the repository, image name, and tag into
the container definition
And now we're into the YAML.

The container YAML goes inside the pod YAML.
The pod YAML goes inside the ReplicaSet.
The ReplicaSet goes inside the deployment YAML.
Now we can kubectl apply. (but don't).

The deployment YAML goes into a Helm template
The Helm template goes inside a Helm chart
Push the Helm chart up to the chart repository
Now we can helm install. (but no)

The Helm release goes inside the terraform.
The terraform provider adds the Helm resource.
The terraform goes into my git repository.
And now I can finally save it!

From Kubernetes Community Day DC 2023; the slides (PDF).