How do I mention namespace in deployment YAML?
You can also specify a Namespace in the YAML declaration. If you specify a namespace in the YAML declaration, the resource will always be created in that namespace. If you try to use the “namespace” flag to set another namespace, the command will fail.