Control Plane Groups
This feature is available in the Enterprise Plan and above. For more information, see our pricing plans or contact our sales team.
In Upbound, Control Plane Groups (or just, 'groups') are a logical grouping of one or more control planes with shared resources like secrets or backups. It's a mechanism for isolating these groups of resources within a single Space. All role-based access control in Upbound happens at the control plane group-level.
When to use multiple groups
You should use groups in environments where there's a need to have Crossplane manage infrastructure across multiple cloud accounts or projects. For users who only need to deploy and manage resources in a couple cloud accounts, you shouldn't need to think about groups at all.
Groups are a way to divide access in Upbound between multiple teams. Think of a group as being analogous to a Kubernetes namespace.
The 'default' group
Every Cloud Space in Upbound has a group named default available.
Working with groups
View groups
You can list groups in a Space using:
up group list
If you're operating in a single-tenant Space and have access to the underlying cluster, you can list namespaces that have the group label:
kubectl get namespaces -l spaces.upbound.io/group=true
Set the group for a request
Several commands in up have a group context. To set the group for a request, use the --group flag:
up ctp list --group=team1
up ctp create new-ctp --group=team2
Set the group preference
The up CLI operates upon a single Upbound context. Whatever context gets set is then used as the preference for other commands. An Upbound context is capable of pointing at a variety of altitudes:
- A Space in Upbound
- A group within a Space
- a control plane within a group
To set the group preference, use up ctx to choose a group as your preferred Upbound context. For example:
# This sets the context for the up CLI to the default group in an Upbound-managed Cloud Space (gcp-us-west-1) for an organization called 'acmeco'
up ctx acmeco/upbound-gcp-us-west-1/default/