diff options
| author | Jonathan MacMillan <dvorak@google.com> | 2018-06-06 14:15:41 -0700 |
|---|---|---|
| committer | Jonathan MacMillan <dvorak@google.com> | 2018-06-06 14:23:44 -0700 |
| commit | 84da537814f565cffbcf2d04d70f8e7f033fd76e (patch) | |
| tree | 2346a332a74eda8a1369acf30a1c1779d1edf579 | |
| parent | e5e4b58f36cb87435c001ba3a998e2dd8f3dd008 (diff) | |
Document sig-multicluster decision about reserved namespaces.
| -rw-r--r-- | contributors/design-proposals/multicluster/multicluster-reserved-namespaces.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/contributors/design-proposals/multicluster/multicluster-reserved-namespaces.md b/contributors/design-proposals/multicluster/multicluster-reserved-namespaces.md new file mode 100644 index 00000000..821ac43c --- /dev/null +++ b/contributors/design-proposals/multicluster/multicluster-reserved-namespaces.md @@ -0,0 +1,49 @@ +# Multicluster reserved namespaces + +@perotinus + +06/06/2018 + +## Background + +sig-multicluster has identified the need for a canonical set of namespaces that +can be used for supporting multicluster applications and use cases. Initially, +an [issue](https://github.com/kubernetes/cluster-registry/issues/221) was filed +in the cluster-registry repository describing the need for a namespace that +would be used for public, global cluster records. This topic was further +discussed at the +[SIG meeting on June 5, 2018](https://www.youtube.com/watch?v=j6tHK8_mWz8&t=3012) +and in a +[thread](https://groups.google.com/forum/#!topic/kubernetes-sig-multicluster/8u-li_ZJpDI) +on the SIG mailing list. + +## Reserved namespaces + +We determined that there is currently a strong case for two reserved namespaces +for multicluster use: + +- `kube-multicluster-public`: a global, public namespace for storing cluster + registry Cluster objects. If there are other custom resources that + correspond with the global, public Cluster objects, they can also be stored + here. For example, a custom resource that contains cloud-provider-specific + metadata about a cluster. Tools built against the cluster registry can + expect to find the canonical set of Cluster objects in this namespace[1]. + +- `kube-multicluster-system`: an administrator-accessible namespace that + contains components, such as multicluster controllers and their + dependencies, that are not meant to be seen by most users directly. + +The definition of these namespaces is not intended to be exhaustive: in the +future, there may be reason to define more multicluster namespaces, and +potentially conventions for namespaces that are replicated between clusters (for +example, to support a global cluster list that is replicated to all clusters +that are contained in the list). + +## Conventions for reserved namesp[aces + +By convention, resources in these namespaces are local to the clusters in which +they exist and will not be replicated to other clusters. + +[1] Tools are by no means compelled to look in this namespace for clusters, and +can choose to reference Cluster objects from other namespaces as is suitable to +their design and environment. |
