Issue with deployments.yml file

I am getting an error which says “got string expected map” please check the below screenshot!

check 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.

Thank you @tgp and @player001 for great help.