Overview
ytt is a template and patching tool for Kubernetes. Making use of starlark, ytt combines the best of Helm go templates and Kustomize patching in one cohesive tool.
Theory
- Know what ytt is and how it fits into the
Carveltoolchain.
yttvs X
- Review the
yttdocumentation
- An introduction to
ytton TGI Kubernetes.
- YAML templating with
ytt
Practical
- Know how to use ytt for overlays.
- Know how to use ytt for templating.
Pre-requisites
If you intend on completing the tutorial section there are some pre-requisites.
- Linux environment with admin permissions
if using a Windows Laptop, the suggestion is to have either WSL installed or have available a Hyper-V Linux VM.
Tutorial
The best way to learn about how to use ytt is to mess around in the playground
.
If you’re looking for some inspiration, try completing some of the following scenarios.
Follow along
If you want to follow along with some example, try the following.
- Primer on ytt overlays
- Parameterize project configuration
- vendir and ytt, better together
Go you own way
Now try creating your own using these common examples.
- Overlay a Namespace into a Helm Chart
- Overlay Firewall rules into a Helm Chart
- Template a MinIO Operator instance using data values.
