Hi , I am new to kubernetes and following kubernetes for absolute beginners cour . . .

SHAGUN:
Hi ,
I am new to kubernetes and following kubernetes for absolute beginners course.
I have installed minikube in mac.
SHAGUNs-Air:replicaset shagungupta$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-6799fc88d8-xpwsq 1/1 Running 0 7m15s

The above mentioned pod is getting created automatically even after deletion.Can anyone help?I am unable to find out how it is getting created automatically.

Tej_Singh_Rana:
Hello, @SHAGUN
It looks like you created a nginx deployment. Delete nginx the deployment then it won’t create a new pod after deletion.

kubectl delete deploy nginx

Tej_Singh_Rana:
You’ll see nginx deploy from the below command:-
kubectl get deploy

SHAGUN:
Thanks @Tej_Singh_Rana

SHAGUN:
it is deleted now