A practical YAML Tutorial for DevOps engineers

YAML has become a widely used format for writing configurations files for many DevOps tools and applications, like Kubernetes, Docker, Ansible etc.

I made this [**tutorial**](https://youtu.be/1uFVr15xDGg) because I think knowing how YAML syntax works should make it easier to understand the K8s file structure for example.

To make it more practical and realistic I also included a real configuration file examples.

Hope it's helpful and I appreciate any feedback 🤓

7 thoughts on “A practical YAML Tutorial for DevOps engineers”

  1. Is there any magic with writing YAML from scratch? I always find a way of messing up my indents using tab. I noticed that the spacing in Kubernetes manifests seem to be so neatly spaced and whenever I use tab, it ends up creating way too much space. Without tab, I press enter to a new line, say when using labels, and just single space until it matches what I see. Is there any indenting magic that detects the spacing magic of each line of the yaml configurations?

    I hope I described that correctly.


    How do you all indent so fast and clean in manually created configurations. Is it an add-on within the IDE or text editor? Is it just knowing how many single spaces or are there short tabs?

    Thank you for all of your videos! They’ve all been so helpful in my journey!

    Edited for grammar errors and thanks.

  2. A 20 minute video and off the top of my head you don’t appear to mention pointers/references (`&foo`, `*foo`), tags (`!foo`), nor whitespace chomping/indentation handling (`|`, `>`, `>-`, `>+`, etc).


Leave a Comment