Workspace¶
Workspace¶
Workspace is the Schema for the workspaces API
Field |
Value or Description |
|---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
spec defines the desired state of Workspace |
|
status defines the observed state of Workspace |
AccessResourceStatus¶
AccessResourceStatus defines the status of a resource created from a template
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Kind of the Kubernetes resource |
||
|
APIVersion of the Kubernetes resource |
||
|
Name of the resource |
||
|
Namespace of the resource |
AccessStrategyRef¶
AccessStrategyRef defines a reference to a WorkspaceAccessStrategy
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Name of the WorkspaceAccessStrategy |
||
|
Namespace where the WorkspaceAccessStrategy is located |
Optional: {} |
ContainerConfig¶
ContainerConfig defines container command and args configuration
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Command specifies the container command |
||
|
Args specifies the container arguments |
IdleDetectionSpec¶
IdleDetectionSpec defines idle detection methods
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
HTTPGet specifies the HTTP request to perform for idle detection |
Optional: {} |
IdleShutdownSpec¶
IdleShutdownSpec defines idle shutdown configuration
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Enabled indicates if idle shutdown is enabled |
||
|
IdleTimeoutInMinutes specifies idle timeout in minutes |
Minimum: 1 |
|
|
Detection specifies how to detect idle state |
StorageSpec¶
StorageSpec defines the storage configuration for Workspace
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
StorageClassName specifies the storage class to use for persistent storage |
||
|
Size specifies the size of the persistent volume |
||
|
MountPath specifies where to mount the persistent volume in the container |
TemplateRef¶
TemplateRef defines a reference to a WorkspaceTemplate
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Name of the WorkspaceTemplate |
||
|
Namespace where the WorkspaceTemplate is located |
Optional: {} |
VolumeSpec¶
VolumeSpec defines a volume to mount from an existing PVC
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Name is a unique identifier for this volume within the pod (maps to pod.spec.volumes[].name) |
||
|
PersistentVolumeClaimName is the name of the existing PVC to mount |
||
|
MountPath is the path where the volume should be mounted (Unix-style path, e.g. /data) |
WorkspaceSpec¶
WorkspaceSpec defines the desired state of Workspace
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Display Name of the server |
||
|
Image specifies the container image to use |
||
|
DesiredStatus specifies the desired operational status |
Enum: [Running Stopped] |
|
|
OwnershipType specifies who can modify the workspace. |
Enum: [Public OwnerOnly] |
|
|
AccessType specifies who can connect to the workspace. |
Enum: [Public OwnerOnly] |
|
|
Resources specifies the resource requirements |
||
|
Storage specifies the storage configuration |
||
|
Volumes specifies additional volumes to mount from existing PersistantVolumeClaims |
||
|
ContainerConfig specifies container command and args configuration |
||
|
Env specifies environment variables for the workspace container |
Optional: {} |
|
|
NodeSelector specifies node selection constraints for the workspace pod |
||
|
Affinity specifies node affinity and anti-affinity rules for the workspace pod |
||
|
Tolerations specifies tolerations for the workspace pod to schedule on nodes with matching taints |
||
|
Lifecycle specifies actions that the management system should take |
||
|
AccessStrategy specifies the WorkspaceAccessStrategy to use |
Optional: {} |
|
|
TemplateRef references a WorkspaceTemplate to use as base configuration |
Optional: {} |
|
|
IdleShutdown specifies idle shutdown configuration |
Optional: {} |
|
|
AppType specifies the application type for this workspace |
Optional: {} |
|
|
ServiceAccountName specifies the name of the ServiceAccount to use for the workspace pod |
Optional: {} |
|
|
PodSecurityContext specifies pod-level security context |
Optional: {} |
|
|
ContainerSecurityContext specifies container-level security context for the main workspace container |
Optional: {} |
|
|
InitContainers specifies init containers to run before the workspace container starts |
MaxItems: 10 |
WorkspaceStatus¶
WorkspaceStatus defines the observed state of Workspace.
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
DeploymentName is the name of the deployment managing the Workspace pods |
Optional: {} |
|
|
ServiceName is the name of the service exposing the Workspace |
Optional: {} |
|
|
AccessURL is the URL at which the workspace can be accessed |
Optional: {} |
|
|
AccessResourceSelector is a label selector that can be used to find all resources |
Optional: {} |
|
|
AccessResources provides status details of individual resources created from |
Optional: {} |
|
|
ObservedAccessStrategyVersion is a token capturing the identity and |
Optional: {} |
|
|
AccessStartupProbeSucceeded indicates whether the access startup probe |
Optional: {} |
|
|
AccessStartupProbeFailures tracks the number of consecutive failed access |
Optional: {} |
|
|
EarliestNextProbeTime is the earliest wall-clock time at which the next |
Optional: {} |
|
|
Conditions represent the current state of the Workspace resource. |
Optional: {} |