7.1. Learn and Practice YAML#
The yaml language is designed to be easily human and machine readable. That’s
great because it gives us a unified format for telling Kubernetes what we want.
However, as you’ll see there are some problems inherent in finding the right
balance between people and machines.
Visit this online tool, which converts YAML to JSON. For those of you not not familiar with JavaScript, JSON looks almost exactly like Python! The tool shows you how YAML becomes data structures in a program.
https://onlineyamltools.com/convert-yaml-to-json
In class I demonstrate how pod definitions are constructed and how to interpret the YAML you see.