Error no objects passed to create- Kubernetes relplica set error

Hi, Any one have idea to solve this… "Error no objects passed to create "

I will add my .yaml file below…

Hi @Kalpana ,
Where are you creating this object?