How to Provision an OpenShift Cluster#
Learn how to provision a managed OpenShift cluster for your team via an OpenShiftCluster claim.
Sam, a senior platform engineer at ACME Corp, needs to provide a dedicated OpenShift cluster for a product team. Sam can provision a fully managed cluster with a default node pool, networking mode, and group-based access — all through a single claim.
Prerequisites#
- Access to your organisation's project
- The
openshiftcluster.kubernetes.cloud.stakater.comAPI available kubectlconfigured with your organisation project kubeconfig- Sufficient permissions to create
OpenShiftClusterresources
What Gets Created#
When you create an OpenShiftCluster claim, the platform provisions:
- A managed OpenShift hosted cluster with a dedicated control plane
- A default node pool sized via a T-shirt size (
small,medium,large,xlarge) - Single sign-on integration so users can sign in with their organisation identity
- Group-to-role bindings for cluster access (optional)
- Bootstrap credentials, console URL, and API endpoint exposed on the claim status
In the Console#
Clusters are under Containers in the sidebar:
The create form opens in Standard mode, which asks for the same one field the minimal claim below does — everything else falls back to a platform default:
Advanced reveals the rest of the claim further down the form — node pool sizing, the networking Mode as a Public / Private choice with what each one exposes, and the OpenShift Version:
Step 1: Minimal Configuration#
Create a file named cluster.yaml with only the required parameter:
apiVersion: kubernetes.cloud.stakater.com/v1
kind: OpenShiftCluster
metadata:
name: my-cluster
namespace: my-tenant
spec:
parameters:
clusterName: my-cluster
Required Parameters#
| Parameter | Description |
|---|---|
parameters.clusterName |
Name of the OpenShift cluster (1–63 characters) |
All other parameters fall back to platform-managed defaults — version 4.19, a medium node pool with 3 replicas, and public networking mode.
Step 2: Full Configuration#
For production use, customise the version, node pool size, networking mode, and access groups:
apiVersion: kubernetes.cloud.stakater.com/v1
kind: OpenShiftCluster
metadata:
name: prod-cluster
namespace: my-tenant
spec:
parameters:
clusterName: prod-cluster
version: "4.19"
defaultNodepool:
enabled: true
size: large
replicas: 5
networking:
mode: public
access:
groups:
- name: platform-admins
role: customer-admin
- name: developers
role: edit
bootstrap:
enabled: true
Optional Parameters#
| Parameter | Default | Description |
|---|---|---|
parameters.version |
4.19 |
OpenShift version (4.18, 4.19, or 4.20) |
parameters.defaultNodepool.enabled |
true |
Create a default node pool with the cluster. Set to false to manage node pools separately via OpenShiftNodePool claims. |
parameters.defaultNodepool.size |
medium |
T-shirt size for default node pool nodes: small, medium, large, or xlarge. Each size maps to a predefined CPU, memory, and root volume configuration at the platform level. |
parameters.defaultNodepool.replicas |
3 |
Number of nodes in the default node pool (1–10) |
parameters.networking.mode |
public |
Network access mode for the cluster API and console: public or private. Choose this at creation — see Changing the networking mode later. |
parameters.access.groups |
— | Grants organisation groups a role on the cluster (see below) |
parameters.bootstrap.enabled |
false |
When true, the hosting cluster auto-installs core add-ons (Crossplane, ArgoCD, ksp-system). Enable for new clusters; leave disabled for clusters that were bootstrapped manually. |
Changing the Networking Mode Later#
networking.mode is chosen when the cluster is created. Changing it on an existing cluster is a scheduled migration carried out by Stakater, not a self-service edit — contact support to arrange one rather than changing the field yourself.
Editing it on a running cluster starts a conversion that cannot complete on its own. Every node in the cluster is replaced, and several steps in between need platform-level access that is not available from your project:
- Console and API sign-in stop working immediately, before anything else has moved.
- Public DNS keeps pointing at the old addresses until the records are rebuilt by hand.
- The first node replacement stalls indefinitely and has to be cleared manually.
- Workloads using shared (NFS) storage lose their mounts silently and need restarting afterward.
- Any LoadBalancer service you expose on a public address can go dark for the length of the node replacement.
A migration arranged with support covers all of that in one agreed window, including what you need to do on your side and roughly how long each part takes.
Creating a new cluster in the mode you want, and moving workloads across, is often quicker and less disruptive than converting one — worth discussing when you get in touch.
Access Grants#
Each entry under access.groups grants an organisation group a role on the cluster. Every role applies to all projects on the cluster except the platform-managed ones (such as default, kube-* and openshift-*).
| Field | Description |
|---|---|
name |
Organisation group name, exactly as it appears in your single sign-on. Must be a valid Kubernetes name (RFC 1123 subdomain). Names reserved for platform access are rejected: customer-admin, and names starting with stakater- or ending in -cluster-admin or -stakater-admin. |
role |
Access level to grant: view, edit, admin, or customer-admin. |
What each role grants:
| Role | Grants |
|---|---|
view |
read-only access to resources |
edit |
create and modify resources |
admin |
full administration, including managing access within each project |
customer-admin |
everything admin grants, plus selected cluster-wide permissions: browsing the full operator catalog, viewing nodes and storage classes, and managing cluster resource quotas. Nodes are read-only and privileged workloads are not allowed. |
cluster-admin and any role not listed above are rejected.
Group membership is read when a member signs in to the cluster. Someone added to the group after their last sign-in must sign out and back in before the grant applies to them.
Full cluster administration
By default customer-admin is restricted as described in the table. It can browse the operator catalog but cannot create the operator group that an installation needs, so installing operators requires full cluster administration. Your platform administrator can enable full cluster administration for your organisation or for a single cluster. Members of a customer-admin group then also become cluster administrators, including in the platform-managed namespaces. The claim cannot change this setting.
Step 3: Apply the Claim#
kubectl apply -f cluster.yaml
Step 4: Monitor Provisioning#
Cluster provisioning takes several minutes. Monitor progress:
kubectl get openshiftcluster my-cluster -n my-tenant
Check the detailed status and conditions:
kubectl describe openshiftcluster my-cluster -n my-tenant
Once provisioning completes, the claim reports READY=True and SYNCED=True:
NAME READY SYNCED AGE
my-cluster True True 15m
For a more granular view, read status.phase directly. It moves through Initializing → RegistrationPending → Ready:
kubectl get openshiftcluster my-cluster -n my-tenant -o jsonpath="{.status.phase}"
The cluster's detail page in the console shows the same phase, alongside the console URL and API endpoint that Step 5 reads out of the status:
The console URL and API endpoint are in the Status block further down the page, shown in Advanced mode.
Step 5: Access the Cluster#
Once the cluster is ready, the claim status exposes the console URL, API endpoint, and bootstrap credentials:
kubectl get openshiftcluster my-cluster -n my-tenant -o jsonpath="{.status.consoleUrl}"
kubectl get openshiftcluster my-cluster -n my-tenant -o jsonpath="{.status.apiEndpoint}"
Users sign in through your organisation's identity provider with the roles granted via access.groups. A private cluster is reachable only over your organisation's mesh. Connect to an OpenShift Cluster walks through enrolling a device, opening the console and logging in with the CLI.
Tip
Contact your platform administrator for the list of validated OpenShift versions and the CPU/memory mappings backing each T-shirt size in your environment.
What's Next?#
- Connect to an OpenShift Cluster - Join the mesh, open the console and sign in
- Create a Project - Create projects for teams on the new cluster
- Create an IAM Group - Set up group-based access to the cluster
- Provision a Virtual Machine - Deploy VMs alongside your cluster



