An abstract namespace groups one or more actual Kubernetes namespaces that should share inherited objects. In Anthos Config Management hierarchy repositories, objects defined at this level are copied automatically to descendant namespaces. section 11.2.1
Use abstract namespaces to organize inherited configuration:
- Nest abstractions to create layers, such as app-dev containing separate team namespaces. section 11.2.1
- Define shared objects such as Roles or ConfigMaps at the appropriate inherited level. section 11.2.1
- Combine inheritance with a NamespaceSelector when an object should target only labeled namespaces, such as finance-related application namespaces. section 11.2.1
- In hierarchy mode, require a namespace to be both beneath the defining folder and matched by the selector. section 11.2.1
Table 11.1 Top-level directories in a hierarchy repository (view table figure)
Use the hierarchy layout to distinguish namespace-scoped configuration from system, cluster-registry, and cluster configuration. section 11.2.1
