Hi In mock 3 task 7 `_Create a pod called hr-pod in hr namespace belonging to th . . .

Denis Gorobets:
Hi
In mock 3 task 7 _Create a pod called hr-pod in hr namespace belonging to the production environment and frontend tier_ fail for me but labels on pod correct.

For creating i use command:
k run hr-pod --image=redis:alpine --namespace=hr --labels=environment=production,frontend=tier

or file:
metadata:
labels:
environment: production
frontend: tier
name: hr-pod

Pod running:
hr-pod 1/1 Running 0 14m environment=production,frontend=tier

What am I doing wrong? :sweat_smile:
image.png

pawan uppadey:
I think tier=frontend, not frontend=tier

Mohamed Ayman:
It’s environment=production and tier=frontend

Mohamed Ayman:
check the following:
kubectl run hr-pod --image=redis:alpine --namespace=hr --restart=Never --labels="environment=production,tier=frontend"

Denis Gorobets:
Exactly! Thanks guys :ok_hand: