Interacting with Disconnected Spaces
Spaces management
Create a Space
To install an Upbound Space into a cluster, it's recommended you dedicate an entire Kubernetes cluster for the Space. You can use up space init to install an Upbound Space. Below is an example:
up space init "v1.9.0"
For a full guide to get started with Spaces, read the quickstart guide:
You can also install the helm chart for Spaces directly. In order for a Spaces install to succeed, you must install some prerequisites first and configure them. This includes:
- UXP
- provider-helm and provider-kubernetes
- cert-manager
Furthermore, the Spaces chart requires a pull secret, which Upbound must provide to you.
helm -n upbound-system upgrade --install spaces \
oci://xpkg.upbound.io/spaces-artifacts/spaces \
--version "v1.9.0" \
--set "ingress.host=your-host.com" \
--set "clusterType=eks" \
--set "account=your-upbound-account" \
--wait
For a complete helm install tutorial, read the deployment guides for AWS, Azure, or GCP.
Upgrade a Space
To upgrade a Space from one version to the next, use up space upgrade. Spaces supports upgrading from version ver x.N.* to version ver x.N+1.*.
up space upgrade "v1.9.0"
You can also upgrade a Space by manually bumping the Helm chart version. Before upgrading, review the release notes for any breaking changes or special requirements:
- Review the release notes for the target version in the Spaces Release Notes
- Upgrade the Space by updating the helm chart version:
helm -n upbound-system upgrade spaces \
oci://xpkg.upbound.io/spaces-artifacts/spaces \
--version "v1.9.0" \
--reuse-values \
--wait
For major version upgrades or configuration changes, extract your current values and adjust:
# Extract current values to a file
helm -n upbound-system get values spaces > spaces-values.yaml
# Upgrade with modified values
helm -n upbound-system upgrade spaces \
oci://xpkg.upbound.io/spaces-artifacts/spaces \
--version "v1.9.0" \
-f spaces-values.yaml \
--wait
Downgrade a Space
To rollback a Space from one version to the previous, use up space upgrade. Spaces supports downgrading from version ver x.N.* to version ver x.N-1.*.
up space upgrade --rollback
You can also downgrade a Space manually using Helm by specifying an earlier version:
helm -n upbound-system upgrade spaces \
oci://xpkg.upbound.io/spaces-artifacts/spaces \
--version "v1.8.0" \
--reuse-values \
--wait
When downgrading, make sure to:
- Check the release notes for specific downgrade instructions
- Verify compatibility between the downgraded Space and any control planes
- Back up any critical data before proceeding
Uninstall a Space
To uninstall a Space from a Kubernetes cluster, use up space destroy. A destroy operation uninstalls core components and orphans control planes and their associated resources.
up space destroy
Control plane management
You can manage control planes in a Space via the up CLI or the Spaces-local Kubernetes API. When you install a Space, it defines new a API type, kind: Controlplane, that you can use to create and manage control planes in the Space.