<p>I've just started learning about kubernetes and yaml files.</p>
<p>Although kubernetes documentation provides lot's of examples.</p>
<p>One thing I couldn't manage to find were how the different <strong>Kind</strong> (Deployment, Pod, Service, ConfigMap, Etc...) required a different yaml structure and keys.</p>
<p>So i would like to know, how do i find out what are all the child keys that a given parent key expect to have, and the data type a key expect, in case of expecting a list of something for example.</p>
<p>I really would appreciate some help with that , thank you.</p>

Rafael Soares
<p><a href="https://kubernetes.io/docs/reference/kubernetes-api/" rel="nofollow noreferrer">It's documented on the Kubernetes website.</a> However it may be a bit cumbersome to learn it like this, and you may prefer to learn mostly by looking at examples and existing yaml files.</p>
<p>Also, a good IDE that support Kubernetes can help you writing the files.</p>
