Kubernetes Objects

Kubernetes Objects are abstractions that represent the state of the service that's deployed in the cluster. Mainly, they deal with running containers and routings for those containers, as well as persistent storage.

Let's take a look at the different elements, from smallest to biggest. This list is not exhaustive; check out the Kubernetes documentation for more details:

  • Container: A single Docker container. These are the building blocks of Kubernetes, but they're never present on their own.
  • Pod: A basic unit that can be deployed in Kubernetes. A pod is a collection of one or more containers that work as a unit, normally from different images. Normally, a pod has a single container, but sometimes it may be useful to have ...

Get Hands-On Docker for Microservices with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.