Tenancy model
What a tenant is
Section titled “What a tenant is”Each Alliance Cloud RAP on Kestrel gets one Capsule Tenant. Capsule enforces the tenant’s rules at admission, including the namespace prefix and the allowed Service types and priority classes.
| Value | Example | |
|---|---|---|
| Tenant name | RAP group name, lowercased | RAP group CCInternal-RAID → tenant ccinternal-raid; def-profname → def-profname |
| Owner group | oidc:<RAP group>, case preserved | oidc:CCInternal-RAID |
| Namespaces | <tenant>-<name> | ccinternal-raid-prod |
The owner group is set by a Capsule TenantOwner object, not by Tenant.spec.owners. Every member of the group has the admin role in every tenant namespace. There are no per-member roles and no read-only members. If you need separate access, you need a separate tenant.
RCS creates the tenant when a PI’s Cloud RAP is approved for Kestrel and tears it down when the RAP ends. You can’t create or edit the Tenant, and Capsule’s preventDeletion blocks deleting it. See Requesting access for the request flow and Identity chain for how the group reaches the cluster.
Membership
Section titled “Membership”RCS manages membership in the tenant’s Keycloak group: the PI opens a ticket to add or remove a user, who needs a CCDB account first. Being sponsored by the PI in CCDB or listed on the Cloud RAP does not grant access by itself. See Managing membership.
The namespace prefix rule
Section titled “The namespace prefix rule”Every namespace in the tenant must be named <tenant>-<name>, using the lowercased tenant name. For tenant def-profname, explorer is rejected at admission and def-profname-explorer is allowed. Capsule enforces this (forceTenantPrefix) for every request, including CI pipelines, and adds the label capsule.clastix.io/tenant: <tenant> to each namespace.
Creating and deleting namespaces
Section titled “Creating and deleting namespaces”- Create namespaces with
kubectl create namespace <tenant>-<name>, or let ArgoCD create them. There is no limit on how many. - Any tenant member can delete a namespace in the tenant. See Organizing namespaces before you do.
All namespaces in a tenant share one quota ceiling. See Quotas.