Category: Data, Kubernetes, yaml

YAML is a human-readable data-serialization language which is used to store information in key: value format as similar to the JSON. But if you’re not familiar with JSON, then don’t worry, in this post you will understand YAML configurations easily.

Here, you can see, we store information in a key: value format and also we could store different type of data in YAML such as string, integer, boolean, etc.

We created an employee object and you can see, using YAML we can store more information related to an object and the code is clean and easy to read. In YAML configuration, indentation is more important and it helps you to define the level and scope of the children of that object.

Related Articles