For production environments and Infrastructure as Code (IaC) practices, you should define resources in YAML files. This allows you to version control your configuration.
By default, kubectl commands run against the default namespace. You have two options to change the target namespace. create namespace kubectl
namespace "dev-environment" deleted