Introduction
The kubectl run
command is one of the simplest and most versatile ways to create resources in Kubernetes. It allows you to quickly deploy containers, create jobs for batch processing, or set up deployments to manage multiple replicas of an application. This lab is designed to help beginners understand the basics of the kubectl run
command and how to use it effectively.
By the end of this lab, you will learn how to:
- Start and verify a Minikube cluster.
- Create a pod using
kubectl run
. - Create a deployment with multiple replicas.
- Run a job for batch processing.
- Clean up resources to maintain your cluster.