cancel
Showing results for 
Search instead for 
Did you mean: 
  • 12.3K Views

How to learn configuration YAML files

I have been learning Kubernetes intermittently for over a year now.

The hardest part for me is the YAML configurations. Usually, a configuration file contains an apiVersion, kind, metadata, and spec. And then spec contains template, which contains spec again. And this is not always the same. Formats differ for each different kind. I have to memorize a lot of things, and I have to check every time against a reference.

What is the best way to learn Kubernetes configurations? Do we have to grab configuration files and apply them every time instead of writing them? Is this the recommended way?

This question is part of the 100K Member Contest - don't forget to kudo the original contest post to be entered. 

Labels (2)
Tags (2)
32 Replies
Dinobaby
Mission Specialist
Mission Specialist
  • 1,142 Views

understand, know where to find the information and practice

0 Kudos
acgx
Cadet
Cadet
  • 1,118 Views

Have not learn

0 Kudos
chandrasred
Flight Engineer
Flight Engineer
  • 989 Views

What I do is instead of remembering, create resources using imperative way and then create the yaml of the created defination and modify the yaml file and use it also we have product documentation reffer to it and you can find Custom resource file of the resources & yes keep checking indentation

 

0 Kudos
Join the discussion
You must log in to join this conversation.