I've deployed a service python-api with the default profile to the datawire namespace.
I then run forge delete python-api default. I get:
║ kubectl get ns -oname
║ namespaces/datawire
║ namespaces/default
║ namespaces/kube-public
║ namespaces/kube-system
║ kubectl delete -n datawire csr,clusterrolebindings,clusterroles,cm,controllerrevisions,crd,ds,deploy,ep,ev,hpa,ing,jobs,limits,ns,netpol,no,pvc,pv,pdb,po,psp,podtemplates,rs,rc,quota,rolebindings,roles,secrets,sa,svc,sts,sc -lforge.profile=default,forge.service=python-api
║ deployment "python-api-dev-test" deleted
║ endpoints "python-api-dev-test" deleted
║ namespace "datawire" deleted
║ service "python-api-dev-test" deleted
║ kubectl delete -n default csr,clusterrolebindings,clusterroles,cm,controllerrevisions,crd,ds,deploy,ep,ev,hpa,ing,jobs,limits,ns,netpol,no,pvc,pv,pdb,po,psp,podtemplates,rs,rc,quota,rolebindings,roles,secrets,sa,svc,sts,sc -lforge.profile=default,forge.service=python-api
║ Error from server (Conflict): Operation cannot be fulfilled on namespaces "datawire": The system is ensuring all content is removed from this namespace. Upon completion, this namespace will automatically be purged by the system.
command 'kubectl delete -n default csr,clusterrolebindings,clusterroles,cm,controllerrevisions,crd,ds,deploy,ep,ev,hpa,ing,jobs,limits,ns,netpol,no,pvc,pv,pdb,po,psp,podtemplates,rs,rc,quota,rolebindings,roles,secrets,sa,svc,sts,sc -lforge.profile=default,forge.service=python-api' failed[1]: Error from server (Conflict): Operation cannot be fulfilled on namespaces "datawire": The system is ensuring all content is removed from this namespace. Upon completion, this namespace will automatically be purged by the system.
I've deployed a service
python-api
with the default profile to thedatawire
namespace.I then run
forge delete python-api default
. I get: