Kubernetes Object Model

Pod is the smallest and simplest Kubernetes object. It is the unit of deployment in Kubernetes, which represents a single instance of the application. A Pod is a logical collection of one or more containers, which:

volumes

Ephemeral in nature

Cannot Self-heal by themselves

 

Kubernetes Object Model – represents different persistent entities in the Kubernetes cluster

To create Object we provide spec to Kubernetes API Server in JSON format which contains desired state, along with some basic information, like the name.

Object model is defined using .yaml file which is converted to json format using kubectl and sent to API Server

Nihar Malali Avatar

Posted by

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.