In this article, we will be taking a deep dive into understanding the configuration files (YAML) that we write for Kubernetes objects. Being someone who had no actual understanding of what those well-formatted YAML lines in the configuration files meant when learning Kubernetes, all I was doing was making sure my applications were up and running without fully understanding the how and why?

Pods are the smallest deployable objects in Kubernetes, they contain one or more of our containers, such as Docker containers.

However, we will not be creating individual pods directly in Kubernetes when working rather we will be creating “deployments” to manage our pods.

Service is the Kubernetes object that enables network access to a set of Pods in Kubernetes, by defining a logical set of Pods and a policy to access them such as IP, ports, protocol, etc.

Related Articles