Cluster Configuration
ClusterConfig acts as the sole source of truth for all global configurations and settings for the Cordium Cluster. It controls Space ownership policy, Workspace storage class selection, cluster-wide resource limits, and Workspace timeouts. There is exactly one ClusterConfig per Cordium Cluster. It is created automatically at installation time and updated via cordium man apply.
Space
Ownership
The ownership field defines a policy that controls which users are allowed to create Spaces. It contains a list of rules, each with an effect (ALLOW or DENY) and a condition expressed in CEL. Rules are evaluated in order. The first rule whose condition matches the requesting user determines the outcome. If no rule matches, the request is denied by default.
This field is optional. If omitted, Space creation is unrestricted.
Here is another example of permissive configuration that allows all Users to create Spaces:
Workspace
Storage
Storage class selection is rule-based. Cordium evaluates the storageClass and volumeSnapshotClass rule lists in order and uses the first matching rule. This allows different storage tiers to be assigned based on Workspace attributes such as requested storage size, user identity, or Space type.
Selects the Kubernetes StorageClass used to provision the Workspace PVC. Each rule has a CEL condition evaluated against the Workspace context and a storageClass string naming the target StorageClass.
You can also set the VolumeSnapshotClass used for Template pre-build snapshots. If no rule matches or this field is omitted, Template pre-builds are disabled. Here is an example:
Limit
You can set Cluster-wide Workspace limits. All fields are optional. Omitting a field means no cluster-level restriction is applied for that dimension. Here is an example:
Timeout
You can also set Cluster-wide Workspace active duration limits. These define how long a Workspace can remain running before it is automatically stopped. All fields are optional. Here is an example: