Most resources in the Kubernetes configuration are namespaced, or owned by a parent namespace, allowing resources with the same name to safely coexist and providing a dividing line between applications. This isn't true for all resources, particularly those intended for configuration by the cluster administrator. This can be checked with the kubectl api-resources command described in Administration.

Default namespaces

By default, the following namespaces exist:

  • default is usually the default context.
  • kube-public is created for use by shared resources, e.g. ConfigMaps.
  • kube-system contains the system Pods, used to administer the cluster.

  1. Hierarchical