I am getting an error which says “got string expected map” please check the below screenshot!
check labels …
metadata:
labels:
tier: frontend
Hello, @Ashu27
If you are describing Pod template in the any resource type like Deployment, ReplicaSet etc. Selector matchLabels should be match with the metadata labels.