Disable delete namespace - Kubernetes Disable delete namespace - Kubernetes kubernetes kubernetes

Disable delete namespace - Kubernetes


You do not want disable deletion of Namespaces for your kubernetes-admin user, although it could be possible. If there are other people or services interacting with your cluster, you need to define Users and/or Service Accounts for them and bind Cluster Roles to them, whitelisting their permissions. Have a look at Users in Kubernetes and Using RBAC Authorization in the official Kubernetes Documentation.