This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 173
HNC: Implement self-service namespace #457
Milestone
Comments
This was referenced Feb 26, 2020
yiqigao217
added a commit
to yiqigao217/multi-tenancy
that referenced
this issue
Feb 28, 2020
Create a flag to enable/disable the HierarchicalNamespace Reconciler and also toggle the behavior of HierarchyConfig Reconciler accordingly. Changes to the HierarchyConfig Reconciler behaviour is not implemented in this commit. Tested on GKE cluster. The reconcilers were created successfully with/without setting the flag. I saw the test logs with the correct values set in Stackdriver. Part of kubernetes-retired#467, kubernetes-retired#457
This was referenced Feb 28, 2020
yiqigao217
added a commit
to yiqigao217/multi-tenancy
that referenced
this issue
Mar 3, 2020
In the hns reconciler, update the forest and enqueue in-memory hierarchyConfig instance for hierarchyConfig reconciler to reconcile. The hierarchyConfig reconciler will create the namespace with Owner annotation and create/update both the parent and child hierarchyConfig instances. If the hns reconciler is enabled by the flag, the hc reconciler will get all hns objects from the forest instead of using the "RequiredChildren" field in the hc spec. Add integration tests with flag "make test HNS=1". Tested by integration tests and manually with "kubectl hns create2 -n parent child". The "child" namespace was created with Owner annotation set to "parent". Part of kubernetes-retired#457. Fixes kubernetes-retired#473.
This was referenced Mar 3, 2020
This was referenced Mar 18, 2020
This was referenced Mar 24, 2020
This was referenced Mar 27, 2020
I think we're done with this? Congrats! |
I think you can close this one, the hnc-v0.3 milestone is sufficiently
tracking IMO.
…On Tue, Apr 7, 2020 at 9:47 AM yiqigao217 ***@***.***> wrote:
I think we're done with this? Congrats!
Thanks! The only thing left is the flaky test #560
<#560> . As for EX
map, I unlinked the issue #495
<#495> to this
main issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#457 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE43PZGMMY6EZNQLXYBJCYDRLMVIJANCNFSM4K4IL6AQ>
.
|
I see, sure! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Allow tenant admins who do not have cluster-wide namespace creation privileges to still create subnamespaces by creating custom resource instances locally.
The implementation includes:
HierarchicalNamespace
(hns
) CRDallowCascadingDelete
field toHierarchyConfig.spec
kubectl
plugin to toggleHierarchyConfig.spec.allowCascadingDelete
kubectl
plugin to create an HNSSee design: HNC self-service namespaces UX
The text was updated successfully, but these errors were encountered: