Primer on ytt Overlays
by John Ryan — Mar 31, 2022
ytt Overlays can be a little … unintuitive. 😬 If you’ve taken Overlays out for a spin and been kinda frustrated, you’re not alone. There’s a lot going on even in the simplest case. This makes for a steep learning curve.
I’m here to flatten that learning curve. 👍
Let’s walk in the shoes of someone who has a host of needs for overlays: each getting a little more sophisticated than the last. By the time we’re done, we’ll have seen all the core aspects of this powerful feature … and better yet, we’ll have learned how to:
- quickly read overlay-related error messages,
- make the most of the built-in matchers and know how to write your own,
- understand how ytt annotations attach to YAML,
… and much more.
This is a vlog because it is so much more instructive to see this kind of feature working in realtime than to read about it. While each part builds on the last, you can also jump around if you’d like; don’t miss the index in the video description.
Feel free to just sit back and take it all in. Some learn better by doing; here’s the starting point of the primer and you can follow along. It can also be helpful to have a complete working example just in case it all goes off the rails.
Without further ado, let’s get overlayin'!
Join the Carvel Community ¶
We are excited to hear from you and learn with you! Here are several ways you can get involved:
- Join Carvel’s slack channel, #carvel in Kubernetes workspace, and connect with over 1000+ Carvel users.
- Find us on GitHub. Suggest how we can improve the project, the docs, or share any other feedback.
- Attend our Community Meetings! Check out the Community page for full details on how to attend.
We look forward to hearing from you and hope you join us in building a strong packaging and distribution story for applications on Kubernetes!