Checkout my website for more blogs.
In this blog, we will explore the concepts of pods, how to create them using the yaml configuration, check pod logs etc.
Prerequisite:
- Functional Kubernetes Cluster configured
- Kubernetes’ command-line tool, kubectl, which is the command-line interface for running commands against Kubernetes clusters.
- Clone this git repo for all the yaml files which we will be using in this blog
Agenda:
- Create a simple pod
- Create a pod in different namespaces
- Creating a Pod in a Different Namespace using yaml configuration
- Create a Pod running a container
- Creating a Pod Running a Container That Exposes a Port
- Creating a Pod Running a Container with Resource Requirements
- Creating a Pod with Resource Requests That Can’t Be Met by Any of the Nodes
- Creating a Pod with Multiple Containers
- Pod Lifecycle
What is a POD
- A pod is the basic building block of Kubernetes