docs

API Reference

Packages

deployments.plural.sh/v1alpha1

Package v1alpha1 contains API Schema definitions for the deployments v1alpha1 API group

Resource Types

AWSProviderCredentials

Appears in:

FieldDescriptionDefaultValidation
region stringRegion is the name of the AWS region cluster lives in.Required: {}
accessKeyID stringAccessKeyID is your access key ID used to authenticate against AWS API.Optional: {}
secretAccessKeyRef SecretReferenceSecretAccessKeyRef is a reference to the secret that contains secret access key.
Since UpgradeInsights is a cluster-scoped resource we can't use local reference.
SecretAccessKey must be stored in a key named "secretAccessKey".
An example secret can look like this:
apiVersion: v1
kind: Secret
metadata:
name: eks-credentials
namespace: upgrade-insights-test
stringData:
secretAccessKey: "changeme"
Then it can be referenced like this:
...
secretAccessKeyRef:
name: eks-credentials
namespace: upgrade-insights-test
Optional: {}

AgentConfiguration

AgentConfiguration is the deployment operator configuration

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringAgentConfiguration
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec AgentConfigurationSpec

AgentConfigurationSpec

AgentConfigurationSpec defines the desired state of AgentConfiguration

Appears in:

FieldDescriptionDefaultValidation
servicePollInterval stringServicePollInterval defines how often the agent polls for services.
Expected format is a duration string (e.g., "30s", "5m").
Set to "0s" to disable service polling.
managedNamespacePollInterval stringManagedNamespacePollInterval defines how often the agent polls for managed namespaces.
Set to "0s" to disable managed namespace polling.
clusterPingInterval stringClusterPingInterval specifies the interval at which the agent pings the cluster.
Set to "0s" to disable cluster pings.
compatibilityUploadInterval stringCompatibilityUploadInterval determines how frequently the agent uploads compatibility data.
Set to "0s" to disable compatibility uploads.
stackPollInterval stringStackPollInterval sets how often the agent polls for stack updates or changes.
Set to "0s" to disable stack polling.
sentinelPollInterval stringSentinelPollInterval sets how often the agent polls for sentinel run jobs.
Set to "0s" to disable sentinel run job polling.
pipelineGateInterval stringPipelineGateInterval specifies how frequently the agent checks pipeline gates.
Set to "0s" to disable pipeline gate checks.
componentShaCacheTTL stringComponentShaCacheTTL specifies how long duplicate component updates are cached.
maxConcurrentReconciles integerMaxConcurrentReconciles controls the maximum number of concurrent reconcile loops.
Higher values can increase throughput at the cost of resource usage.
vulnerabilityReportUploadInterval stringVulnerabilityReportUploadInterval sets how often vulnerability reports are uploaded.
Set to "0s" to disable vulnerability report uploads.
baseRegistryURL stringBaseRegistryURL allows overriding the default base registry URL.
For stack run jobs, agent run pods, sentinel run jobs.
maxSentinelRunJobs integerMaxSentinelRunJobs limits the number of concurrent SentinelRunJobs that can be active at any given time.
Must be greater than 0. Set this field to nil (omit) to disable the limit.
Minimum: 1
maxStackRunJobs integerMaxStackRunJobs limits the number of concurrent StackRunJobs that can be active at any given time.
Must be greater than 0. Set this field to nil (omit) to disable the limit.
Minimum: 1
maxAgentRunPods integerMaxAgentRunPods limits the number of concurrent agent run pods that can be active at any given time.
Must be greater than 0. Set this field to nil (omit) to disable the limit.
Minimum: 1
disableWebsocket booleanDisableWebsocket disables the cluster websocket connection to the Console.
When enabled, the agent will rely exclusively on polling instead of receiving
push updates. This is useful in large-scale edge deployments where maintaining
persistent websocket connections has an infeasible network cost.
pollImmediately booleanPollImmediately determines whether the agent should poll immediately upon startup.
When set to true, the agent will perform an initial poll as soon as it starts.
By default, it's set to true.

AgentHelmConfiguration

Appears in:

FieldDescriptionDefaultValidation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

AgentRun

AgentRun is the Schema for the agentruns API

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringAgentRun
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec AgentRunSpec

AgentRunPhase

Underlying type: string

AgentRunPhase represents the phase of an agent run

Validation:

  • Enum: [Pending Running Succeeded Failed Cancelled]

Appears in:

FieldDescription
Pending
Running
Succeeded
Failed
Cancelled

AgentRunSpec

AgentRunSpec defines the desired state of AgentRun

Appears in:

FieldDescriptionDefaultValidation
runtimeRef AgentRuntimeReferenceRequired: {}
prompt stringPrompt is the task/prompt given to the agentRequired: {}
repository stringRepository is the git repository the agent will work withRequired: {}
branch stringBranch is the repository branch the agent should operate on. If omitted, the repository default branch is used.Optional: {}
mode AgentRunModeMode defines how the agent should run (ANALYZE, WRITE, REVIEW)Required: {}
reviewDepth AgentReviewDepthReviewDepth controls how far a review run explores code adjacent to the pull request changes.Optional: {}
flowId stringFlowID is the flow this agent run is associated with (optional)Optional: {}
workbenchMcpUrl stringWorkbenchMCPURL is the Console MCP endpoint for the workbench that
originated this run. It is populated by the AgentRuntime controller.
Optional: {}
language AgentRunLanguageLanguage is the programming language used in the agent run.
Deprecated: No longer used for image selection. Enable dind on the AgentRuntime instead.
Optional: {}
languageVersion stringLanguageVersion is the version of the language to use, if you wish to specify.
Deprecated: No longer used for image selection. Enable dind on the AgentRuntime instead.
Optional: {}

AgentRuntime

AgentRuntime is the Schema for the agentruntimes API

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringAgentRuntime
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec AgentRuntimeSpec

AgentRuntimeBindings

Appears in:

FieldDescriptionDefaultValidation
create Binding arrayCreate bindings control who can create agent runs on this runtime.Optional: {}

AgentRuntimeConfig

AgentRuntimeConfig contains typed configuration for the agent runtime.

Appears in:

FieldDescriptionDefaultValidation
claude ClaudeConfigConfig for Claude CLI runtime.Optional: {}
opencode OpenCodeConfigConfig for OpenCode CLI runtime.Optional: {}
gemini GeminiConfigConfig for Gemini CLI runtime.Optional: {}
codex CodexConfigCodex config for Codex CLI runtime.Optional: {}
pi PiConfigPi config for Pi coding-agent CLI runtime.Optional: {}

AgentRuntimeReference

Appears in:

FieldDescriptionDefaultValidation
name stringRequired: {}

AgentRuntimeSpec

AgentRuntimeSpec defines the desired state of AgentRuntime

Appears in:

FieldDescriptionDefaultValidation
name stringName of this AgentRuntime.
If not provided, the name from AgentRuntime.ObjectMeta will be used.
Optional: {}
default booleanDefault indicates whether this is the default agent runtime for coding agents.Optional: {}
targetNamespace stringRequired: {}
type AgentRuntimeTypeType specifies the agent runtime to use for executing the stack.
One of CLAUDE, OPENCODE, GEMINI, CODEX, PI, CUSTOM.
Enum: [CLAUDE OPENCODE GEMINI CODEX PI CUSTOM]
Required: {}
bindings AgentRuntimeBindingsBindings define who can create agent runs on this runtime. Omit them to leave the runtime's bindings
unchanged in console (eg managed by an AgentRuntimePolicy), or set an empty create list to clear them.
Only applied on clusters configured to allow agent workloads.
Optional: {}
template PodTemplateSpecTemplate defines the pod template for this agent runtime.
config AgentRuntimeConfigConfig contains typed configuration depending on the chosen runtime type.Optional: {}
aiProxy booleanAiProxy routes LLM requests through the Console AI proxy (/ext/ai) using the deploy token,
which the in-pod mcpserver sidecar adds, so provider API keys in spec.config are optional.
Set the model on the runtime-specific config block (for example spec.config.codex.model).
The proxy expects models in provider/name format (for example openai/gpt-5.4,
anthropic/claude-sonnet-4-5, vertex/gemini-2.5-pro). Values that already include a "/"
are passed through unchanged.
When only a bare model id is given, the harness may prefix it by runtime type:
- CLAUDE: anthropic/{model} (for example claude-sonnet-4-5 -> anthropic/claude-sonnet-4-5)
- CODEX, OPENCODE: openai/{model} (for example gpt-5.4 -> openai/gpt-5.4)
- GEMINI: vertex/{model}
- CUSTOM: no automatic prefix; use provider/name explicitly
streamingProxy booleanStreamingProxy routes OpenAI-compatible LLM requests through the in-pod mcpserver
sse conversion proxy before they reach the Console AI proxy (/ext/ai). Only valid when aiProxy
is enabled. Applies to CODEX and OPENCODE runtimes.
Optional: {}
dind booleanDind enables Docker-in-Docker for this agent runtime.
When true, the runtime will be configured to run with DinD support.
Optional: {}
memory booleanMemory enables team-shared codebase-memory persistence for this agent runtime.
When true, agents may create and commit .codebase-memory/ graph artifacts
by default so future runs can bootstrap from the persisted index. When false
or unset, codebase-memory indexes stay in the pod-local cache and generated
.codebase-memory/ artifacts are excluded from commits.
Optional: {}
repositoryImage stringRepositoryImage is an OCI image of precloned git repositories plus manifest.json.
When set, an init container copies it into /plural/shared/repos before bootstrap
so a matching repo can be copied locally instead of git clone.
Optional: {}
prewarm RepositoryImagePrewarmPrewarm periodically pulls RepositoryImage onto selected nodes before
agent runs are scheduled.
Optional: {}
allowedRepositories string arrayAllowedRepositories the git repositories allowed to be used with this runtime.Optional: {}
browser BrowserConfigBrowser configuration augments agent runtime with a headless browser.
When provided, the runtime will be configured to run with a headless browser available
for the agent to use.
Optional: {}
bootstrapScript stringBootstrapScript is a bash script that will be executed inside the cloned repository
directory before the coding agent starts. It can be used to install dependencies,
configure tooling, or perform any other setup required by the agent.
Optional: {}
readOnlyRootFilesystem booleanReadOnlyRootFilesystem controls the default container securityContext.
When unset, the root filesystem stays writable (the current default).
Set true when extending a finished image that already contains compilers.
Set false (or leave unset) together with mise.config to run
mise bootstrap --yes at boot: https://mise.jdx.dev/bootstrap.html
Optional: {}
mise MiseSpecMise supplies a mise.toml applied before the coding agent starts.
When the default container root is writable, the harness runs
mise trust and mise bootstrap --yes. When readOnlyRootFilesystem is true,
the config is still mounted so mise exec can use [tools] and [env],
but bootstrap is skipped.
Optional: {}
git GitSpecGit configure commit signing on agent run. When provided, the runtime will be configured to sign git commits using the provided key reference.
babysitInterval DurationBabysitInterval configures the interval for the operator to check on the health of the agent runtime and perform necessary babysitting actions (e.g. restarting unhealthy runtimes). When not provided, a default interval of 1 minute will be used.
agentTTL DurationAgentTTL configures the maximum lifetime for agent run pods on this runtime. When not provided, a default TTL of 12 hours will be used.Optional: {}
scmConnection stringScmConnection is the name of an ScmConnection in Console to use for git operations on agent runs using this runtime.
This should match the name of an existing ScmConnection resource or connection created in the Plural UI.
Optional: {}
exaConnection ExaConnectionExaConnection enables Exa web search and content retrieval tools on the Plural MCP server.
mcpServers MCPServer arrayMCPServers are additional remote MCP servers made available to coding agents
on this runtime. Servers are expected to already be deployed and reachable
at the given URL. Built-in servers named "plural" and "codebase-memory-mcp"
are reserved and cannot be overridden.
Optional: {}
workbenchMcp WorkbenchMCPConfigWorkbenchMCP exposes the originating workbench's read-only tools to coding
agents through the credential-isolating MCP sidecar.
Optional: {}

Binding

Binding ...

Appears in:

FieldDescriptionDefaultValidation
id stringOptional: {}
UserID stringOptional: {}
userEmail stringOptional: {}
groupID stringOptional: {}
groupName stringOptional: {}

Bindings

Bindings represents a policy bindings that can be used to define read/write permissions to this resource for users/groups in the system.

Appears in:

FieldDescriptionDefaultValidation
read Binding arrayRead bindings.Optional: {}
write Binding arrayWrite bindings.Optional: {}

Browser

Underlying type: string

Browser defines the browser to use for the agent runtime.

Appears in:

FieldDescription
chrome
chromium
firefox
selenium-chrome
selenium-chromium
selenium-firefox
selenium-edge
puppeteer
custom

BrowserConfig

BrowserConfig is the configuration for the browser runtime. It allows AgentRuntime to leverage a headless browser for executing and testing code.

Appears in:

FieldDescriptionDefaultValidation
enabled booleanEnabled controls whether the browser runtime is enabled for this agent runtime.Required: {}
browser BrowserBrowser defines the browser to use. When using non-custom options,
predefined images with validated configurations will be used. Default configuration
can be overridden by specifying a custom Container. When using a "custom" browser,
a custom Container configuration must be provided.
Available options are:
- chrome - uses browserless/chrome image
- chromium - uses browserless/chromium image
- firefox - uses browserless/firefox image
- selenium-chrome - uses selenium/standalone-chrome image
- selenium-chromium - uses selenium/standalone-chromium image
- selenium-firefox - uses selenium/standalone-firefox image
- selenium-edge - uses selenium/standalone-edge image
- puppeteer - uses browserless/chromium image
- custom
Default: chrome
chromeEnum: [chrome chromium firefox selenium-chrome selenium-chromium selenium-firefox selenium-edge puppeteer custom]
Optional: {}
container ContainerContainer defines the container to use for the browser runtime.
For custom images, ensure the container starts a browser server and binds to
the predetermined port 3000 for remote access from the main agent container.
When using a predefined image, only partial overrides are allowed, including:
- environment variables
- resource limits
- image pull policy
# Examples
Selenium:
name: browser
image: selenium/standalone-chrome:144.0
env:
- name: SE_OPTS
value: "--port 3000"
Optional: {}

CapiConfigurationClusterSpec

Appears in:

FieldDescriptionDefaultValidation
cluster ClusterSpecCluster is a simplified representation of the Console API cluster
object. See [ClusterSpec] for more information.
Optional: {}
consoleTokenSecretRef SecretKeySelectorTokenSecretRef contains the reference to the secret holding the token to access the Console APIRequired: {}
capiClusterRef ObjectReferenceCapiClusterRef contains the reference to the CAPI clusterRequired: {}
agent AgentHelmConfigurationAgent allows configuring agent specific helm chart options.Optional: {}

ClaudeConfig

ClaudeConfig contains configuration for the Claude CLI runtime.

Appears in:

FieldDescriptionDefaultValidation
apiKeySecretRef SecretKeySelectorApiKeySecretRef references a Secret containing the Claude API key.
Optional when aiProxy is enabled; authentication uses the Console deploy token instead.
Optional: {}
model stringModel Name of the model to use.
endpoint stringEndpoint is the base URL for the Claude API (supports Bedrock/Anthropic-compatible endpoints).Optional: {}
extraArgs string arrayExtraArgs CLI args for advanced flags not modeled here
timeout DurationTimeout bounds a single claude CLI run invocation.Optional: {}
bashTimeout DurationBashTimeout is the default timeout for any bash command Claude execute.Optional: {}
bashMaxTimeout DurationBashMaxTimeout is the maximum time Claude is permitted to wait
for a command before it is terminated.
Optional: {}

ClaudeConfigRaw

ClaudeConfigRaw contains configuration for the Claude CLI runtime.

NOTE: Do not embed this struct directly, use ClaudeConfig instead. This is only used to read original ClaudeConfig secret data and be able to inject it into the pod as env vars.

Appears in:

FieldDescriptionDefaultValidation
apiKey stringApiKey is the raw API key to use.
model stringModel Name of the model to use.
endpoint stringEndpoint is the base URL for the Claude API (supports Bedrock/Anthropic-compatible endpoints).Optional: {}
extraArgs string arrayExtraArgs CLI args for advanced flags not modeled here
timeout DurationTimeout bounds a single claude CLI run invocation.Optional: {}
bashTimeout DurationBashTimeout is the default timeout for any bash command Claude executes.Optional: {}
bashMaxTimeout DurationBashMaxTimeout is the maximum time Claude is permitted to wait
for a command before it is terminated.
Optional: {}

ClusterDrain

ClusterDrain is the Schema for the ClusterDrain object

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringClusterDrain
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec ClusterDrainSpec

ClusterDrainSpec

ClusterDrainSpec defines the desired state of ClusterDrain

Appears in:

FieldDescriptionDefaultValidation
flowControl FlowControl
labelSelector LabelSelector

ClusterSpec

Appears in:

FieldDescriptionDefaultValidation
handle stringHandle is a short, unique human-readable name used to identify this cluster.
Does not necessarily map to the cloud resource name.
Optional: {}
tags object (keys:string, values:string)Tags used to filter clusters.Optional: {}
metadata RawExtensionRefer to Kubernetes API documentation for fields of metadata.Optional: {}
bindings BindingsBindings contain read and write policies of this clusterOptional: {}

CodexConfig

Appears in:

FieldDescriptionDefaultValidation
apiKeySecretRef SecretKeySelectorApiKeySecretRef references a Secret containing the Codex API key.
Optional when aiProxy is enabled; authentication uses the Console deploy token instead.
Optional: {}
model stringModel to use.
method OpenAiMethodMethod configures which OpenAI API Codex should use.
AUTO omits wire_api and lets Codex choose. CHAT forces /chat/completions.
RESPONSES forces /responses.
Enum: [CHAT RESPONSES AUTO]
Optional: {}
endpoint stringEndpoint is the base URL for the Codex API (supports OpenAI/Azure-compatible endpoints).Optional: {}
timeout DurationTimeout bounds a single codex run invocation.Optional: {}

CodexConfigRaw

Appears in:

FieldDescriptionDefaultValidation
apiKey stringApiKey is the raw API key to use.
model stringModel to use.
method OpenAiMethodMethod configures which OpenAI API Codex should use.
AUTO omits wire_api and lets Codex choose. CHAT forces /chat/completions.
RESPONSES forces /responses.
Enum: [CHAT RESPONSES AUTO]
Optional: {}
endpoint stringEndpoint is the base URL for the Codex API (supports OpenAI/Azure-compatible endpoints).Optional: {}
timeout DurationTimeout bounds a single codex run invocation.Optional: {}

CostProvider

Underlying type: string

CostProvider identifies which cost allocation backend to query.

Appears in:

FieldDescription
Kubecost
OpenCost

CustomHealth

CustomHealth is the Schema for the HealthConverts API

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringCustomHealth
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec CustomHealthSpec

CustomHealthSpec

CustomHealthSpec defines the desired state of CustomHealth

Appears in:

FieldDescriptionDefaultValidation
script stringScript is a Lua health-assessment script. The target resource is available as the global Obj.
The script must assign a Lua table to the global healthStatus; a Lua return \{ ... \} is not consumed.
The table uses status and an optional message, for example: healthStatus = \{ status = "Healthy", message = "resource is ready" \}.
Supported/intended status values are Healthy, Degraded, Paused, Unknown, Progressing, Suspended, and Missing.
See https://docs.plural.sh/plural-features/continuous-deployment/deployment-operator/custom-health for the full guide.
group stringOptional: {}
version stringOptional: {}
kind stringOptional: {}

CustomInsightPriority

CustomInsightPriority sets the priority of failing objects in the cluster insights and the cluster health score.

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringCustomInsightPriority
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec CustomInsightPrioritySpec

CustomInsightPrioritySpec

CustomInsightPrioritySpec defines how the insight priority of failing objects is decided.

Appears in:

FieldDescriptionDefaultValidation
target InsightTargetTarget selects the failing objects this script sets the priority of.Optional: {}
precedence integerPrecedence decides which script owns an object that several targets match: the highest wins and ties are
broken by name. A script never sees objects it does not own, and scripts are not chained.
Optional: {}
engine InsightEngineEngine the script is written for.pythonEnum: [python]
Optional: {}
script stringScript defines evaluate(input), called with the objects this script owns in input["rows"], and returns a
dictionary from the uid of a row to \{"priority": "LOW|MEDIUM|HIGH|CRITICAL|IGNORE", "reason": "..."\}.
Rows that are left out keep their built-in priority, IGNORE removes a row from the insights and the cluster health score.
Objects annotated with deployments.plural.sh/insight-priority are decided by the annotation and never reach the script.
See https://docs.plural.sh/plural-features/continuous-deployment/deployment-operator/insight-priority for the full guide.

DevboxAWSIdentity

Appears in:

FieldDescriptionDefaultValidation
roleArn stringPattern: ^arn:aws[a-zA-Z-]*:iam::[0-9]\{12\}:role/.+$
Required: {}
durationSeconds integerMaximum: 43200
Minimum: 900
Optional: {}
sessionPolicy stringSessionPolicy is an inline IAM policy JSON further scoping the session.Optional: {}

DevboxAgent

DevboxAgent declares one supported harness.

Appears in:

FieldDescriptionDefaultValidation
type DevboxAgentTypeType of the harness.Enum: [claude codex opencode gemini pi]
Required: {}
default booleanDefault marks the agent used when a workbench doesn't pick one.Optional: {}
adapterVersion stringAdapterVersion pins the ACP adapter version. Defaults to the version shipped in the image.Optional: {}
models string arrayModels is an allowlist of model ids. Empty allows every model the agent reports.MaxItems: 64
Optional: {}
defaultModel stringDefaultModel is the model new sessions start on.Optional: {}
acpV2 booleanACPV2 opts the harness into the ACP v2 protocol where the adapter supports it.Optional: {}

DevboxAgentStatus

Appears in:

FieldDescriptionDefaultValidation
type DevboxAgentTypeEnum: [claude codex opencode gemini pi]
probeStatus stringProbeStatus is OK, FAILED or MISSING.
adapterVersion stringOptional: {}
probeError stringOptional: {}

DevboxAgentType

Underlying type: string

DevboxAgentType is a coding-agent harness a devbox can run (section 4.2a).

Validation:

  • Enum: [claude codex opencode gemini pi]

Appears in:

FieldDescription
claude
codex
opencode
gemini
pi

DevboxAutonomy

Appears in:

FieldDescriptionDefaultValidation
default DevboxAutonomyLevelDefault is the level new threads start at, lowered to max and to what the agent supports. Defaults to auto.Enum: [manual auto full]
Optional: {}
max DevboxAutonomyLevelMax is the highest level a thread can use. Defaults to auto.Enum: [manual auto full]
Optional: {}

DevboxAutonomyLevel

Underlying type: string

DevboxAutonomyLevel is one of:

  • manual: every permission request goes to a human.
  • auto: the agent's own reviewer approves what it can (Claude's auto mode, Codex's guardian); the rest goes to a human.
  • full: everything is approved without asking.

Validation:

  • Enum: [manual auto full]

Appears in:

FieldDescription
manual
auto
full

DevboxAzureIdentity

Appears in:

FieldDescriptionDefaultValidation
tenantId stringRequired: {}
clientId stringRequired: {}

DevboxBrowser

Appears in:

FieldDescriptionDefaultValidation
enabled booleanOptional: {}

DevboxCapacityStatus

DevboxCapacityStatus reports how instances are sized from the WorkerPool and how the autoscaler sees it.

Appears in:

FieldDescriptionDefaultValidation
instancesPerWorker integerInstancesPerWorker is how many instances one worker hosts at once.
limitedBy stringLimitedBy is the worker resource (cpu, memory or disk) that bounds InstancesPerWorker.Optional: {}
instanceCPU QuantityInstanceCPU and InstanceMemory are the limits each instance runs with.
instanceMemory Quantity
instanceDisk QuantityInstanceDisk is each instance's share of the worker's budgeted disk, when DiskSize is set.Optional: {}
workers integerWorkers are the managed pool's schedulable workers, DrainingWorkers those being removed.Optional: {}
drainingWorkers integerOptional: {}
runningInstances integerRunningInstances are instances placed on the managed pool's schedulable workers.Optional: {}
additionalFreeInstances integerAdditionalFreeInstances are the instance slots free on AdditionalPools.Optional: {}
desiredWorkers integerDesiredWorkers is the autoscaler's target for the managed pool.Optional: {}
lastScaleTime TimeOptional: {}
zones DevboxZoneCapacity arrayZones breaks the autoscaler's view down by zone when the runner runs a pool per zone; the fields above are
totals.
Optional: {}

DevboxCloudIdentity

DevboxCloudIdentity is one named cloud identity. Exactly one provider must be set.

Appears in:

FieldDescriptionDefaultValidation
name stringMaxLength: 63
Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
Required: {}
default booleanDefault marks the identity instances get when a workbench doesn't pick one.Optional: {}
aws DevboxAWSIdentityOptional: {}
gcp DevboxGCPIdentityOptional: {}
azure DevboxAzureIdentityOptional: {}
extraHosts string arrayExtraHosts are API hosts allowlisted only when this identity is attached.Optional: {}

DevboxCloudProviders

DevboxCloudProviders enables egress to each cloud's API endpoints (see CloudProviderHosts).

Appears in:

FieldDescriptionDefaultValidation
aws booleanAWS: the regional and global service endpoints under amazonaws.com and api.aws.Optional: {}
gcp booleanGCP: the Google APIs under googleapis.com and Google's OAuth endpoint.Optional: {}
azure booleanAzure: Resource Manager, Entra ID sign-in, Microsoft Graph, Key Vault and Storage.Optional: {}

DevboxECRRegistries

DevboxECRRegistries enables egress to private Amazon ECR registries. ECR hosts are regional, so each region is listed. Pulling still needs credentials, such as an AWS cloud identity and aws ecr get-login-password.

Appears in:

FieldDescriptionDefaultValidation
regions string arrayRegions opens, per region, the registry API (<account>.dkr.ecr.<region>.amazonaws.com), the ECR API
that issues login tokens, and the S3 bucket image layers download from.
MaxItems: 32
Optional: {}
items:Pattern: ^[a-z]{2}(-[a-z]+)+-[0-9]+$

DevboxEnvVar

Appears in:

FieldDescriptionDefaultValidation
name stringMaxLength: 256
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
Required: {}
value stringOptional: {}
valueFrom DevboxEnvVarSourceOptional: {}

DevboxEnvVarSource

Appears in:

FieldDescriptionDefaultValidation
secretKeyRef DevboxSecretKeySelectorRequired: {}

DevboxGCPIdentity

Appears in:

FieldDescriptionDefaultValidation
workloadIdentityProvider stringWorkloadIdentityProvider is the full provider resource name
(projects/<n>/locations/global/workloadIdentityPools/<pool>/providers/<provider>).
Required: {}
serviceAccount stringServiceAccount is the email of the service account to impersonate.Required: {}

DevboxHTTPAllowlistEntry

Appears in:

FieldDescriptionDefaultValidation
host stringHost is a hostname or a *.suffix wildcard.MinLength: 1
Required: {}
port integerPort defaults to 443, or 80 for cleartext entries.Maximum: 65535
Minimum: 1
Optional: {}
passthrough booleanPassthrough tunnels TLS without interception (no credential injection or request authz).Optional: {}
cleartext booleanCleartext allows plain HTTP, e.g. apt mirrors on port 80. Passthrough only matches TLS, so plain HTTP needs
this instead.
Optional: {}

DevboxHome

DevboxHome selects how instances store /home/dev.

With Block, each instance's home is its own cloud disk from the agent-substrate chart's block driver (block.enabled), which needs the cloud's disk CSI driver and VolumeSnapshots. A home is seeded from the golden boot's, so what the bootstrap script and mise installed is there from the start. Snapshots don't save the home yet, and starting an instance from a snapshot isn't supported: Substrate can't restore a tag of a template with external volumes.

With Snapshot, the home stays on the instance's node and rides in every snapshot, which needs no storage beyond the node's, e.g. on machines without cloud disks.

Appears in:

FieldDescriptionDefaultValidation
storage DevboxHomeStorageStorage defaults to Block. Changing it rolls a new revision, and instances moved to it start with a fresh home.BlockEnum: [Block Snapshot]
Optional: {}
size QuantitySize is the size of each Block home's cloud disk. Defaults to spec.resources.disk.Optional: {}
storageClassName stringStorageClassName is the block driver's StorageClass for Block homes. Defaults to the agent-substrate chart's
devbox-block.
Optional: {}

DevboxHomeStorage

Underlying type: string

DevboxHomeStorage is where an instance's /home/dev lives. The API accepts Block and Snapshot; the operator keeps serving JuiceFS and ZeroFS homes so they can come back.

Validation:

  • Enum: [Block Snapshot]

Appears in:

FieldDescription
SnapshotDevboxHomeSnapshot keeps the home on the instance's node and carries it in every snapshot.
JuiceFSDevboxHomeJuiceFS keeps the home in the agent-substrate chart's JuiceFS filesystem (juicefs.enabled), mounted
wherever the instance runs, so snapshots carry only memory and moving node doesn't copy the home.
ZeroFSDevboxHomeZeroFS keeps each home in its own ZeroFS filesystem in object storage, from the agent-substrate
chart's ZeroFS driver (zerofs.enabled): an ext4 block device that follows the instance from node to node, with
no metadata database. Snapshots carry only memory.
BlockDevboxHomeBlock keeps each home on its own cloud disk, from the agent-substrate chart's block driver
(block.enabled), formatted ext4 and mounted by the node's kernel. A disk lives in one zone, so each instance
stays in its home's zone, and the runner runs a WorkerPool per zone (see spec.workerPool.zones). Snapshots
carry only memory.

DevboxIdlePolicy

Appears in:

FieldDescriptionDefaultValidation
activityWindow DurationActivityWindow is how far back activity counts toward keeping an instance awake.2mOptional: {}
cpuThreshold stringCPUThreshold is the CPU utilization above which an instance counts as active, e.g. "5%".5%Optional: {}
Pattern: ^([0-9]|[1-9][0-9]|100)(\.[0-9]+)?%$
gracePeriod DurationGracePeriod is how long an instance stays idle before it is suspended.5mOptional: {}
maxDeferral DurationMaxDeferral bounds how long agents can defer a suspension.12hOptional: {}
maxContinuousAwake DurationMaxContinuousAwake bounds how long an instance can stay awake.24hOptional: {}
completeAfter DurationCompleteAfter is how long a suspended instance is kept before it is completed.336hOptional: {}

DevboxImageUpdateMode

Underlying type: string

DevboxImageUpdateMode controls whether the operator re-resolves spec.image.

Validation:

  • Enum: [pinned poll]

Appears in:

FieldDescription
pinnedDevboxImageUpdatePinned keeps the resolved digest until the spec changes.
pollDevboxImageUpdatePoll re-resolves the tag every interval and rolls a new revision when the digest changes.

DevboxImageUpdatePolicy

Appears in:

FieldDescriptionDefaultValidation
mode DevboxImageUpdateModeMode is pinned or poll.Enum: [pinned poll]
Optional: {}
interval DurationInterval between re-resolutions in poll mode. Defaults to 1h.Optional: {}

DevboxOAuthProviders

DevboxOAuthProviders enables egress to each identity provider's login flow (see OAuthProviderHosts).

Appears in:

FieldDescriptionDefaultValidation
google booleanGoogle: Google sign-in, its OAuth and OpenID Connect endpoints, and the scripts, fonts and avatars its
pages load.
Optional: {}
github booleanGitHub: github.com sign-in and OAuth apps, the API, and the assets and avatars its pages load.Optional: {}
microsoft booleanMicrosoft: Entra ID (work and school accounts), personal Microsoft accounts, Microsoft Graph and the CDNs
their sign-in pages load from.
Optional: {}
gitlab booleanGitLab: gitlab.com sign-in and OAuth applications, and its asset hosts.Optional: {}
apple booleanApple: Sign in with Apple.Optional: {}
okta booleanOkta: any Okta or Okta Workforce tenant and Okta's CDN. Custom sign-in domains need httpAllowlist entries.Optional: {}
auth0 booleanAuth0: any Auth0 tenant, in every region, and Auth0's CDN. Custom domains need httpAllowlist entries.Optional: {}

DevboxOCIRegistries

DevboxOCIRegistries enables egress to each container registry's API and blob hosts (see OCIRegistryHosts).

Appears in:

FieldDescriptionDefaultValidation
dockerHub booleanDockerHub: docker.io, its auth service and its Cloudflare blob CDN. Unqualified image names resolve here.trueOptional: {}
github booleanGitHub: ghcr.io and its blob host.trueOptional: {}
quay booleanQuay: quay.io, its CDN and its S3 blob bucket.Optional: {}
google booleanGoogle: Container Registry (gcr.io and its regional hosts) and Artifact Registry (*.pkg.dev).Optional: {}
microsoft booleanMicrosoft: the Microsoft Artifact Registry, mcr.microsoft.com, and its regional data endpoints.Optional: {}
kubernetes booleanKubernetes: registry.k8s.io and the Artifact Registry mirrors it redirects to. From AWS addresses it
redirects to regional S3 buckets instead, which need httpAllowlist entries.
Optional: {}
ecr DevboxECRRegistriesECR opens private Amazon ECR registries, for any account, in the listed regions.Optional: {}

DevboxPackageServers

DevboxPackageServers enables egress to each ecosystem's public registries (see PackageServerHosts).

Appears in:

FieldDescriptionDefaultValidation
go booleanGo: the module proxy and checksum database, the storage its downloads redirect to, and Go releases.trueOptional: {}
rust booleanRust: crates.io and rustup.trueOptional: {}
javascript booleanJavaScript: the npm and yarn registries, JSR, and the Node.js, Bun and Deno downloads.trueOptional: {}
java booleanJava: Maven Central, Google's Maven repository, and the Gradle plugin portal and distributions.trueOptional: {}
elixir booleanElixir: hex.pm and its package and build repositories.trueOptional: {}
python booleanPython: PyPI.trueOptional: {}
ruby booleanRuby: rubygems.org and Ruby releases.trueOptional: {}
php booleanPHP: Packagist and Composer.trueOptional: {}
dotnet booleanDotnet: NuGet and .NET releases.trueOptional: {}
terraform booleanTerraform: the Terraform Registry and HashiCorp releases, where terraform init resolves every provider and
downloads HashiCorp's own (aws, google, azurerm, kubernetes, helm, ...) and where Terraform itself is
released. Partner and community providers and registry modules download from GitHub: Mise opens it on boxes
without a GitHub SCM connection, and with one the provider's repository has to be allowed.
trueOptional: {}
debian booleanDebian: the Debian archive and security mirrors apt uses, on 443 and on 80, where Debian images point apt
by default (including docker build steps, which can't verify HTTPS before ca-certificates is installed).
trueOptional: {}
mise booleanMise: what mise use needs for languages and tools the image doesn't ship: mise's version and Java
metadata, GitHub releases (most tools are released there) and the other common release hosts. On boxes
without a GitHub SCM connection this opens github.com unauthenticated.
falseOptional: {}

DevboxRepository

DevboxRepository is a repository the golden boot clones.

Appears in:

FieldDescriptionDefaultValidation
url stringURL is the https clone URL, e.g. https://github.com/pluralsh/console.git.Pattern: ^https://[^/]+/.+
Required: {}
branch stringBranch is checked out instead of the default branch.Optional: {}
description stringDescription is shown to agents in the home's Project.md.Optional: {}

DevboxResources

Appears in:

FieldDescriptionDefaultValidation
cpu QuantityCPU limit per instance. When the WorkerPool has limits this is the minimum, and instances get an even share
of the worker's CPU.
2Optional: {}
memory QuantityMemory limit per instance, a minimum in the same way as CPU.4GiOptional: {}
disk QuantityDisk is the size of the durable /home/dev workspace volume. Each instance slot is budgeted Disk plus Memory
for its own snapshot and Memory for each of the WorkerPool's SuspendedSnapshotsPerInstance.
20GiOptional: {}

DevboxRevision

Appears in:

FieldDescriptionDefaultValidation
revision integer
name stringName is the ActorTemplate name.
hash stringHash of the inputs that produced this revision.
image string
phase DevboxRevisionPhase
goldenTag stringOptional: {}
homeStorage DevboxHomeStorageHomeStorage is where this revision's template keeps /home/dev; unset means Snapshot.Enum: [Block Snapshot]
Optional: {}
message stringOptional: {}
createdAt TimeOptional: {}

DevboxRevisionPhase

Underlying type: string

DevboxRevisionPhase is the lifecycle of one ActorTemplate revision.

Appears in:

FieldDescription
BuildingDevboxRevisionBuilding means the ActorTemplate exists and its golden snapshot is not ready yet.
ProbingDevboxRevisionProbing means the golden snapshot is ready and the agent probe is running.
ReadyDevboxRevisionReady means the revision passed the probe and may serve new instances.
FailedDevboxRevisionFailed is terminal: the golden boot, image contract or agent probe failed.
RetiredDevboxRevisionRetired means a newer revision is current, or its golden boot lost its worker and it is rebuilt as
a new revision; the revision stays until nothing references it.

DevboxRunner

DevboxRunner is the Schema for the devboxrunners API. It defines one kind of devbox (image, agents, limits, egress) backed by a Substrate WorkerPool and ActorTemplate revisions.

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringDevboxRunner
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec DevboxRunnerSpec

DevboxRunnerBindings

Appears in:

FieldDescriptionDefaultValidation
create Binding arrayCreate bindings control who can attach this devbox to a workbench and start instances on it.
Only users and groups resolvable by userEmail or groupName apply. If none are set, console falls
back to its global create policy, which admins always pass.
Optional: {}

DevboxRunnerSpec

DevboxRunnerSpec defines the desired state of DevboxRunner.

Appears in:

FieldDescriptionDefaultValidation
name stringName of the Devbox in console. Defaults to metadata.name.Optional: {}
image stringImage is the devbox image. Defaults to ghcr.io/pluralsh/devbox-fat at the operator's version;
ghcr.io/pluralsh/devbox-minimal is the lean alternative. Custom images must meet the image
contract (sh.plural.devbox/contract=v1 label, devbox-daemon entrypoint, UID 1000) and are
normally built FROM one of these.
Optional: {}
imageUpdatePolicy DevboxImageUpdatePolicyImageUpdatePolicy controls re-resolution of spec.image. Defaults to pinned for digest
references and to poll every hour for tag references.
Optional: {}
imagePullSecrets SecretReference arrayImagePullSecrets are dockerconfigjson secrets used only to resolve spec.image to a digest.
Nodes pull with their own credentials (Substrate's image credential provider).
Optional: {}
agents DevboxAgent arrayAgents are the coding-agent harnesses this devbox supports. Exactly one must be the default.MaxItems: 5
MinItems: 1
Required: {}
resources DevboxResourcesResources are the per-instance limits.Optional: {}
home DevboxHomeHome selects where instances keep /home/dev.Optional: {}
workerPool DevboxWorkerPoolWorkerPool sizes the Substrate WorkerPool backing this runner.Optional: {}
scmConnections string arrayScmConnections are names of console SCM connections instances may use for git credentials.Optional: {}
bindings DevboxRunnerBindingsBindings control who can use this devbox in console.Optional: {}
allowedRepositories string arrayAllowedRepositories the git repositories allowed to be used with this devbox,
with the same semantics as AgentRuntime.spec.allowedRepositories. The golden boot clones each one that
repositories doesn't list, from its default branch.
Optional: {}
httpAllowlist DevboxHTTPAllowlistEntry arrayHTTPAllowlist are extra hosts instances may reach, on top of the built-in ones.MaxItems: 256
Optional: {}
allowPublicEgress booleanAllowPublicEgress lets instances (and the golden boot) reach any host on ports 443 and 80, instead of only
the allowlist and presets. HTTPS to hosts no other rule names is tunneled without interception, so those
sites see their real certificates; the hosts egress injects credentials for (SCM, console, cloud identity,
subscription billing) keep their specific rules, so credentials are still only sent where they belong.
Security: this removes egress as a guardrail against exfiltration. An agent, a compromised dependency or a
prompt injection in a page the agent reads can send workspace code, environment secrets and anything else in
the box to an arbitrary server. Wildcard rules match names, not addresses, so names that resolve inside the
cluster or private network (e.g. <svc>.<ns>.svc.cluster.local, internal DNS zones) become reachable on these
ports too, subject only to your NetworkPolicies. Only enable it where boxes run code and agents you trust
with that reach: sandboxed clusters with no sensitive internal services, demo or personal environments.
Optional: {}
packageServers DevboxPackageServersPackageServers opens egress to public package registries by ecosystem. All but Mise are on unless set to
false. Their TLS passes through the egress proxy uninspected, since they're fetched without credentials, so
clients that don't trust the box's egress CA (docker build steps, tools with bundled roots) reach
them too. An httpAllowlist entry for one of their hosts takes precedence.
{ }Optional: {}
cloudProviders DevboxCloudProvidersCloudProviders opens egress to cloud providers' API endpoints. A provider is on when the runner has a cloud
identity for it, unless set to false.
{ }Optional: {}
ociRegistries DevboxOCIRegistriesOCIRegistries opens egress to public container registries, for pulling images with docker, kind,
crane or helm. Docker Hub and GitHub Container Registry are on unless set to false.
Like package servers, their TLS passes through the egress proxy uninspected, so kind nodes and nested
containers that don't trust the box's egress CA can pull. An httpAllowlist entry for one of their hosts takes
precedence.
{ }Optional: {}
oauthProviders DevboxOAuthProvidersOAuthProviders opens egress to identity providers' sign-in pages, token endpoints and the assets their
login flows load, so apps under development can sign in through the box's browser. All are off unless
set to true.
Optional: {}
env DevboxEnvVar arrayEnv are environment variables for every process the box starts: agents, terminals and git. Plain values
are part of the template, so changing them rolls a new revision. Secret values are read when an instance
wakes and are never baked into the template, the golden snapshot or the workspace volume.
MaxItems: 128
Optional: {}
browser DevboxBrowserBrowser enables the in-box headless browser.Optional: {}
bootstrapScript stringBootstrapScript runs once during the golden boot, from the home directory and after repositories are cloned
and mise has installed its tools, so its results are baked into the snapshot. It runs with bash -e unless
it starts with a #! line, and a failure fails the revision; its output is in ~/.plural/golden.log.
Optional: {}
mise MiseSpecMise is an inline mise.toml installed during the golden boot.Optional: {}
repositories DevboxRepository arrayRepositories are cloned into the home during the golden boot, with the box's SCM connections, so every
instance starts with them checked out, along with whatever bootstrapScript builds in them. Each instance
fetches them again when it first boots. When allowedRepositories is set, each must be on it, and entries of
allowedRepositories missing here are cloned too; list one here to pick its branch or description.
MaxItems: 32
Optional: {}
bootstrapTimeout DurationBootstrapTimeout bounds the golden boot when it has work to do (repositories, mise or bootstrapScript):
past it, Substrate crashes the boot and the revision fails. It's also how long a waking instance may take to
report ready. Defaults to 30m.
Optional: {}
idlePolicy DevboxIdlePolicyIdlePolicy bounds idle suspension. Workbenches can only lower these values.Optional: {}
autonomy DevboxAutonomyAutonomy sets how agents' permission requests are answered: the level new threads start at and the highest
level users can switch a thread to. Defaults to auto for both, so full autonomy needs an explicit max: full.
Optional: {}
cloudIdentities DevboxCloudIdentity arrayCloudIdentities are named cloud identities instances can assume. At most one is the default.MaxItems: 16
Optional: {}
substrate DevboxSubstrateSubstrate overrides where the operator reaches the Substrate API and the identity it calls it as. The
operator mints the token and reads the CA bundle from the cluster when it reconciles the runner, so
nothing is mounted into the operator.
Optional: {}

DevboxSandboxClass

Underlying type: string

DevboxSandboxClass is the Substrate sandbox class backing the runner's WorkerPool.

Validation:

  • Enum: [gvisor microvm]

Appears in:

FieldDescription
gvisor
microvm

DevboxSecretKeySelector

Appears in:

FieldDescriptionDefaultValidation
namespace stringNamespace of the Secret; defaults to the operator's namespace.Optional: {}
name stringMinLength: 1
Required: {}
key stringMinLength: 1
Required: {}

DevboxSubstrate

DevboxSubstrate locates the Substrate API credentials the operator loads for a runner.

Appears in:

FieldDescriptionDefaultValidation
address stringAddress of ate-api-server. Defaults to the deployment-operator chart's devboxes.substrate.apiAddress.Optional: {}
serviceAccountName stringServiceAccountName is a ServiceAccount in the operator's namespace that the operator mints Substrate API
tokens for. It must be a Substrate global owner, since it creates atespaces and drains workers. Defaults
to the operator's own ServiceAccount.
Optional: {}
caSignerName stringCASignerName is the signer of the ClusterTrustBundles that verify ate-api-server's serving certificate.
Defaults to servicedns.podcert.ate.dev/identity.
Optional: {}

DevboxWorkerAutoscaling

Appears in:

FieldDescriptionDefaultValidation
minReplicas integer1Minimum: 0
Optional: {}
maxReplicas integerMinimum: 1
Required: {}
spareInstances integerSpareInstances is how many free instance slots are kept across the runner's pools, so a resume doesn't
wait for a new worker (and node) to start.
1Minimum: 0
Optional: {}
scaleDownDelay DurationScaleDownDelay is how long after the last scaling event idle workers are kept before being removed.10mOptional: {}

DevboxWorkerPool

DevboxWorkerPool is the Substrate WorkerPool the operator runs for the runner. Each worker is expected to have a node to itself (requests close to the node's allocatable), so the pool's limits and DiskSize describe one node.

Instances are sized from the pool: the instances one worker hosts is the most that fit its CPU and memory limits and its DiskSize, given spec.resources as each instance's minimum, and every instance then gets an even share of the worker's CPU and memory. Substrate places instances by those limits, so a worker never hosts more instances than its disk was budgeted for.

Appears in:

FieldDescriptionDefaultValidation
replicas integerReplicas is the number of Substrate workers. Ignored when Autoscaling is set.1Minimum: 0
Optional: {}
autoscaling DevboxWorkerAutoscalingAutoscaling lets the operator size the pool to demand: it keeps SpareInstances free instance slots and
removes only workers that host no instance.
Optional: {}
diskSize QuantityDiskSize is the size of the disk backing /var/lib/ate on each worker's node (e.g. the devbox-nodes
catalog's data disk). Unset leaves disk out of instance sizing.
Optional: {}
diskReservePercent integerDiskReservePercent of DiskSize is kept for the image cache and snapshot staging rather than budgeted to
instances.
20Maximum: 90
Minimum: 0
Optional: {}
suspendedSnapshotsPerInstance integerSuspendedSnapshotsPerInstance is how many suspended instances' snapshots each instance slot budgets disk
for. A suspended instance frees its slot at once, but its snapshot stays on the node until Substrate
detaches it (30 minutes by default), so heavy suspend and resume churn stacks snapshots on a full worker.
1Maximum: 10
Minimum: 0
Optional: {}
additionalPools DevboxWorkerPoolRef arrayAdditionalPools are existing Substrate WorkerPools this runner's instances may also run on. The operator
labels each with the runner's worker selector and removes the label when the pool leaves this list. They
should run the same sandbox class as the runner, and their free capacity counts toward SpareInstances.
Optional: {}
zones string arrayZones runs one WorkerPool per zone instead of one pool, each pinned to its zone's nodes with
topology.kubernetes.io/zone. Block homes run that way without it too, in the zones of the nodes matching
NodeSelector (or of every node, before any matches): a home's disk lives in one zone, and the gateway keeps
each instance in its home's zone, packing new instances into the zone that already holds the most. Set it
to choose the zones instead. Replicas and Autoscaling are totals across the zones: the minimum and the spare
instance slots go only to zones holding homes, not to every zone.
MaxItems: 6
Optional: {}
items:Pattern: ^a-z0-9?$
maxInstances integerMaxInstances caps concurrently running instances in console. Unset means unlimited.Minimum: 1
Optional: {}
sandboxClass DevboxSandboxClassSandboxClass is the isolation technology. Immutable once the WorkerPool exists. Docker in the devbox-fat
image only runs on microvm, and only where Agent Substrate allows privileged actors.
gvisorEnum: [gvisor microvm]
Optional: {}
sandboxConfig stringSandboxConfig names a Substrate sandbox class ConfigMap (WorkerPool sandboxClasses[].configRef).Optional: {}
workerImage stringWorkerImage overrides the Substrate worker image configured on the operator for the sandbox class.Optional: {}
resources ResourceRequirementsResources of each worker pod.Optional: {}
nodeSelector object (keys:string, values:string)Optional: {}
nodeAffinity NodeAffinityNodeAffinity scheduling rules for the worker pods (WorkerPool template.nodeAffinity).Optional: {}
tolerations Toleration arrayOptional: {}
podAnnotations object (keys:string, values:string)PodAnnotations are added to the worker pods, e.g. karpenter.sh/do-not-disrupt. Keys in the ate.dev domain
are reserved by Substrate.
Optional: {}
priorityClassName stringOptional: {}

DevboxWorkerPoolRef

Appears in:

FieldDescriptionDefaultValidation
name stringMinLength: 1
Required: {}
namespace stringNamespace defaults to the namespace the operator runs devbox WorkerPools in.Optional: {}

DevboxWorkerPoolZone

DevboxWorkerPoolZone is the WorkerPool of one zone.

Appears in:

FieldDescriptionDefaultValidation
zone string
workerPool stringWorkerPool is the pool's namespace/name.

DevboxZoneCapacity

DevboxZoneCapacity is one zone's WorkerPool as the autoscaler sees it.

Appears in:

FieldDescriptionDefaultValidation
zone string
workers integerWorkers are the zone's schedulable workers, DesiredWorkers the autoscaler's target for them.
desiredWorkers integer
homes integerHomes are the instances whose home lives in the zone, RunningInstances those running there, and
WaitingInstances those waiting for a worker there.
runningInstances integer
waitingInstances integerOptional: {}

ExaConnection

Appears in:

FieldDescriptionDefaultValidation
url stringURL is the Exa API base URL. Defaults to https://api.exa.ai when unset.Optional: {}
apiKeySecretRef SecretKeySelectorApiKeySecretRef references a Secret containing the Exa API key.Optional: {}
proxyUrl stringProxyURL is an HTTP proxy URL used for Exa API requests.Optional: {}

FlowControl

Appears in:

FieldDescriptionDefaultValidation
percentage integer
maxConcurrency integer

GateSpec

GateSpec defines the detailed gate specifications

Appears in:

FieldDescriptionDefaultValidation
job JobSpecresuse JobSpec type from the kubernetes api

GateState

Underlying type: GateState

GateState represents the state of a gate, reused from console client

Validation:

  • Enum: [PENDING OPEN CLOSED RUNNING]

Appears in:

GateType

Underlying type: GateType

GateType represents the type of a gate, reused from console client

Validation:

  • Enum: [APPROVAL WINDOW JOB]

Appears in:

GeminiConfig

GeminiConfig contains configuration for the Gemini CLI runtime.

Appears in:

FieldDescriptionDefaultValidation
apiKeySecretRef SecretKeySelectorAPIKeySecretRef references a Secret containing the Gemini API key.
Optional when aiProxy is enabled; authentication uses the Console deploy token instead.
Optional: {}
model stringModel is the name of the model to use.
NOTE: gemini flash lite models and are not fit for the write (agent) mode, and
should only be used for analysis.
Optional: {}
timeout DurationTimeout bounds a single gemini run invocation.Optional: {}
inactivityTimeout DurationInactivityTimeout is the timeout for inactivity during a gemini run.Optional: {}
endpoint stringOptional: {}

GeminiConfigRaw

GeminiConfigRaw contains configuration for the Gemini CLI runtime.

NOTE: Do not embed this struct directly, use GeminiConfig instead. This is only used to read original GeminiConfig secret data and be able to inject it into the pod as env vars.

Appears in:

FieldDescriptionDefaultValidation
apiKey stringAPIKey is the raw Gemini API key to use.
model stringModel is the name of the model to use.
timeout DurationTimeout bounds a single gemini run invocation.Optional: {}
inactivityTimeout DurationInactivityTimeout is the timeout for inactivity during gemini run.Optional: {}
endpoint stringOptional: {}

GitSpec

Appears in:

FieldDescriptionDefaultValidation
proxy string
signingKeyRef SecretKeySelector

HelmConfiguration

Appears in:

FieldDescriptionDefaultValidation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

HelmSpec

Appears in:

FieldDescriptionDefaultValidation
agent AgentHelmConfigurationAgent allows configuring agent specific helm chart options.Optional: {}
vcluster VClusterHelmConfigurationVCluster allows configuring vcluster specific helm chart options.Optional: {}

ImageWarmer

ImageWarmer is the Schema for the imagewarmers API.

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringImageWarmer
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec ImageWarmerSpec

ImageWarmerSpec

ImageWarmerSpec defines an image that should periodically be pulled onto every selected node.

Appears in:

FieldDescriptionDefaultValidation
cron stringCron is a standard five-field cron expression controlling how often the
image is refreshed.
MinLength: 1
Required: {}
image stringImage is the OCI image to warm.MinLength: 1
Required: {}
template PodTemplateSpecTemplate optionally overrides the secure default warmer pod template.Optional: {}
selector LabelSelectorSelector restricts warming to nodes matching this label selector.Optional: {}

IngressReplica

IngressReplica is the Schema for the console ingress replica

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringIngressReplica
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec IngressReplicaSpecSpec of the IngressReplicaRequired: {}

IngressReplicaSpec

Appears in:

FieldDescriptionDefaultValidation
ingressRef ObjectReferenceRequired: {}
ingressClassName stringOptional: {}
tls IngressTLS arrayOptional: {}
hostMappings object (keys:string, values:string)Required: {}

InsightEngine

Underlying type: string

InsightEngine is the language an insight priority script is written in.

Validation:

  • Enum: [python]

Appears in:

FieldDescription
pythonInsightEnginePython evaluates the script as sandboxed Python.

InsightEvaluation

InsightEvaluation is the outcome of the last time the script ran.

Appears in:

FieldDescriptionDefaultValidation
time TimeTime the script last ran with a different outcome than the one before.
matched integerMatched is the number of failing objects the script owned.
overridden integerOverridden is the number of objects the script gave a priority.
ignored integerIgnored is the number of objects the script ignored.
durationMs integerDurationMs is how long the script took.

InsightTarget

InsightTarget selects the failing objects a script is responsible for. An object has to match every non-empty field, so an empty target matches everything.

Appears in:

FieldDescriptionDefaultValidation
kinds InsightTargetKind arrayKinds the script is responsible for.Optional: {}
namespaces string arrayNamespaces the script is responsible for. Cluster scoped objects only match when this is empty.Optional: {}
labelSelector LabelSelectorLabelSelector selects objects by their labels.Optional: {}

InsightTargetKind

InsightTargetKind selects objects by kind.

Appears in:

FieldDescriptionDefaultValidation
group stringGroup of the kind, empty for the core group.Optional: {}
version stringVersion of the kind, any version matches when empty.Optional: {}
kind stringKind of the objects, for example StatefulSet.MinLength: 1

KubecostExtractor

KubecostExtractor

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringKubecostExtractor
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec KubecostExtractorSpec

KubecostExtractorSpec

Appears in:

FieldDescriptionDefaultValidation
provider CostProviderProvider selects which cost backend to query. Defaults to Kubecost.KubecostEnum: [Kubecost OpenCost]
Optional: {}
interval string1hOptional: {}
kubecostServiceRef ObjectReferenceKubecostServiceRef points at the cost analyzer Service. When omitted, defaults
are chosen from provider: kubecost-cost-analyzer/kubecost or opencost/opencost.
Optional: {}
kubecostPort integerOptional: {}
recommendationThreshold stringRecommendationThreshold float value for example: 1.2 or 0.001
recommendationsSettings RecommendationsSettingsOptional: {}

MCPServer

MCPServer is a remote MCP server exposed to agent runtimes.

Appears in:

FieldDescriptionDefaultValidation
name stringName is the MCP server identifier used by the coding agent.MinLength: 1
Required: {}
url stringURL is the remote streamable HTTP MCP endpoint.MinLength: 1
Required: {}
allowedTools string arrayAllowedTools is an optional allowlist of tool names from this server.
When omitted or empty, all tools advertised by the server are exposed.
Optional: {}
headers MCPServerHeader arrayHeaders are HTTP headers sent with requests to this MCP server.
Each header must set exactly one of value or valueFrom.
Optional: {}

MCPServerHeader

MCPServerHeader is an HTTP header for a remote MCP server.

Appears in:

FieldDescriptionDefaultValidation
name stringName is the HTTP header name.MinLength: 1
Required: {}
value stringValue is a literal header value.Optional: {}
valueFrom EnvVarSourceValueFrom sources the header value the same way as a pod env var.Optional: {}

MetricsAggregate

MetricsAggregate

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringMetricsAggregate
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.

MiseSpec

MiseSpec is an inline mise.toml used for unattended bootstrap. See https://mise.jdx.dev/bootstrap.html

Appears in:

FieldDescriptionDefaultValidation
config stringConfig is the contents of a mise.toml.Optional: {}

OpenCodeConfig

OpenCodeConfig contains configuration for the OpenCode CLI runtime.

Appears in:

FieldDescriptionDefaultValidation
openaiCompatible OpenCodeOpenAICompatibleConfigOpenAICompatible configures a custom OpenAI-compatible provider block in opencode.json.
When set (and aiProxy is false), provider and endpoint on this struct are ignored in favor
of the nested openaiCompatible fields.
Optional: {}
provider stringProvider is the OpenCode provider id from https://models.dev (for example openai, anthropic,
amazon-bedrock, google-vertex, google). Optional.
When the parent AgentRuntime has spec.aiProxy enabled, the harness ignores this field and
autowires provider "plural", routing requests through the Console AI proxy at /ext/ai/v1
using the deploy token, which the in-pod mcpserver sidecar adds. Set
spec.config.opencode.model to a bare model id; the harness
prefixes it for proxy routing based on runtime type (for example gpt-5.4 -> openai/gpt-5.4).
When aiProxy is false, this selects the native OpenCode provider block; credentials come from
tokenSecretRef or the provider's usual environment variables. Defaults to plural when omitted.
Use exact models.dev slugs (for example amazon-bedrock, google-vertex, google).
MaxLength: 128
Optional: {}
endpoint stringEndpoint optionally overrides the provider baseURL in opencode.json.
When omitted, the harness omits baseURL so OpenCode uses the models.dev default for the provider.
Optional: {}
model stringModel is the LLM model to use.Optional: {}
method OpenAiMethodMethod configures which OpenAI API OpenCode should use.
CHAT selects @ai-sdk/openai-compatible and forces /chat/completions.
RESPONSES selects @ai-sdk/openai and forces /responses.
AUTO preserves the provider default.
Enum: [CHAT RESPONSES AUTO]
Optional: {}
tokenSecretRef SecretKeySelectorTokenSecretRef references a Secret containing the API token for OpenCode.
Optional when aiProxy is enabled; authentication uses the Console deploy token instead.
Optional: {}
extraArgs string arrayExtraArgs args for advanced or experimental CLI flags.
Deprecated: It is being ignored by the agent harness.
timeout DurationTimeout bounds a single opencode run invocation.Optional: {}

OpenCodeConfigRaw

OpenCodeConfigRaw contains configuration for the OpenCode CLI runtime.

NOTE: Do not embed this struct directly, use OpenCodeConfig instead. This is only used to read original OpenCodeConfig secret data and be able to inject it into the pod as env vars.

Appears in:

FieldDescriptionDefaultValidation
openaiCompatible booleanOpenAICompatible is true when spec.config.opencode.openaiCompatible was set on the AgentRuntime.
provider stringProvider is the OpenCode provider id from https://models.dev.
endpoint stringEndpoint API endpoint for the OpenCode service.
model stringModel is the LLM model to use.
method OpenAiMethodMethod configures which OpenAI API OpenCode should use.
token stringToken is the raw API token for OpenCode.
timeout DurationTimeout bounds a single opencode run invocation.Optional: {}

OpenCodeOpenAICompatibleConfig

OpenCodeOpenAICompatibleConfig configures a custom OpenAI-compatible API provider in opencode.json. Use this for endpoints that are not listed on https://models.dev (for example LiteLLM, vLLM, or a private gateway).

When set and the parent AgentRuntime has spec.aiProxy false, spec.config.opencode.provider and spec.config.opencode.endpoint are ignored in favor of this block.

Appears in:

FieldDescriptionDefaultValidation
endpoint stringEndpoint is the OpenAI-compatible API base URL (for example https://litellm.example/v1).MinLength: 1
Required: {}
model stringModel is the model id exposed by that endpoint.Optional: {}
tokenSecretRef SecretKeySelectorTokenSecretRef references a Secret containing the API key for the endpoint.Optional: {}

PiConfig

PiConfig configures the Pi coding-agent CLI runtime.

Appears in:

FieldDescriptionDefaultValidation
apiKeySecretRef SecretKeySelectorAPIKeySecretRef references an API key. Optional with aiProxy enabled.Optional: {}
provider stringProvider is Pi's provider id. Defaults to openai.Optional: {}
model stringModel is the model id to use.Optional: {}
method OpenAiMethodMethod configures which OpenAI API Pi should use.
CHAT selects openai-completions and forces /chat/completions.
RESPONSES selects openai-responses and forces /responses.
AUTO preserves the current openai-responses default.
Enum: [CHAT RESPONSES AUTO]
Optional: {}
endpoint stringEndpoint overrides the OpenAI-compatible provider base URL.Optional: {}
timeout DurationTimeout bounds a single Pi invocation.Optional: {}

PiConfigRaw

PiConfigRaw contains resolved credentials and configuration for Pi.

Appears in:

FieldDescriptionDefaultValidation
apiKey string
provider string
model string
method OpenAiMethod
endpoint string
timeout Duration

PipelineGate

PipelineGate represents a gate blocking promotion along a release pipeline

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringPipelineGate
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec PipelineGateSpec

PipelineGateSpec

PipelineGateSpec defines the detailed gate specifications

Appears in:

FieldDescriptionDefaultValidation
id string
name string
type GateTypeEnum: [APPROVAL WINDOW JOB]
gateSpec GateSpec

PluralCAPICluster

PluralCAPICluster is the Schema for the CAPI cluster configuration

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringPluralCAPICluster
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec CapiConfigurationClusterSpecSpec of the CAPI cluster configurationRequired: {}

Progress

Appears in:

FieldDescriptionDefaultValidation
wave integer
percentage integer
count integer
failures ObjectReference array
cursor ObjectReference

ProviderCredentials

Appears in:

FieldDescriptionDefaultValidation
aws AWSProviderCredentialsAWS defines attributes required to auth with AWS API.Optional: {}

RecommendationsSettings

Appears in:

FieldDescriptionDefaultValidation
excludeNamespaces string array
requireAnnotations object (keys:string, values:string)

RepositoryImagePrewarm

RepositoryImagePrewarm configures periodic repository image warming.

Appears in:

FieldDescriptionDefaultValidation
cron stringCron is a standard five-field cron expression controlling how often the
repository image is refreshed.
MinLength: 1
Required: {}
template PodTemplateSpecTemplate optionally overrides the secure default warmer pod template.Optional: {}
selector LabelSelectorSelector restricts warming to nodes matching this label selector.Optional: {}

SentinelRunJob

SentinelRunJob is the Schema for the sentinel run job

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringSentinelRunJob
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec SentinelRunJobSpec

SentinelRunJobSpec

Appears in:

FieldDescriptionDefaultValidation
runId stringRunID from Console API

StackRunJob

StackRunJob is the Schema for the stack run job

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringStackRunJob
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec StackRunJobSpec

StackRunJobSpec

Appears in:

FieldDescriptionDefaultValidation
runId stringRunID from Console API

Status

Appears in:

FieldDescriptionDefaultValidation
id stringID of the resource in the Console API.Optional: {}
Type: string
sha stringSHA of last applied configuration.Optional: {}
Type: string
conditions Condition arrayRepresents the observations of a PrAutomation's current state.

UpgradeInsights

UpgradeInsights is the Schema for the UpgradeInsights API

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringUpgradeInsights
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec UpgradeInsightsSpec

UpgradeInsightsSpec

Appears in:

FieldDescriptionDefaultValidation
distro ClusterDistroDistro defines which provider API should be used to fetch latest upgrade insights.
If not provided, we get the distro from the Plural API cluster tied to this operator deploy token.
Enum: [EKS]
Optional: {}
clusterName stringClusterName is your cloud provider cluster identifier (usually name) that is used
to fetch latest upgrade insights information from the cloud provider API.
If not provided, we get the cluster name from the Plural API cluster tied to this
operator deploy token and assume that it is the same as the cluster name in your cloud provider.
Optional: {}
interval stringInterval defines how often should the upgrade insights information be fetched.10mOptional: {}
credentials ProviderCredentialsCredentials allow overriding default provider credentials bound to the operator.Optional: {}

VClusterHelmConfiguration

Appears in:

FieldDescriptionDefaultValidation
chartName stringChartName is a helm chart name.
repoUrl stringRepoUrl is a url that points to this helm chart.Optional: {}
Type: string
values RawExtensionValues allows defining arbitrary YAML values to pass to the helm as values.yaml file.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesSecretRef SecretKeySelectorValuesSecretRef fetches helm values from a secret in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}
valuesConfigMapRef ConfigMapKeySelectorValuesConfigMapRef fetches helm values from a config map in this cluster.
Use only one of:
- Values
- ValuesSecretRef
- ValuesConfigMapRef
Optional: {}

VirtualCluster

VirtualCluster is the Schema for the virtual cluster API

FieldDescriptionDefaultValidation
apiVersion stringdeployments.plural.sh/v1alpha1
kind stringVirtualCluster
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec VirtualClusterSpecSpec ...Required: {}

VirtualClusterSpec

Appears in:

FieldDescriptionDefaultValidation
kubeconfigRef LocalObjectReferenceKubeconfigRef is a reference to the secret created by the
vcluster helm chart. It contains kubeconfig with information
on how to access created virtual cluster.
Required: {}
credentialsRef SecretKeySelectorCredentialsRef is a reference to the secret pointing to the
key that holds Console API access token. It allows to communicate
with the standard Console API.
Required: {}
cluster ClusterSpecCluster is a simplified representation of the Console API cluster
object. See [ClusterSpec] for more information.
Optional: {}
external booleanExternal marks this virtual cluster as external one, meaning
that the vcluster deployment will not be automatically created.
User has to pre-provision vcluster and provide a valid KubeconfigRef
pointing to an existing vcluster installation.
Optional: {}
helm HelmSpecHelm allows configuring helm chart options of both agent and vcluster.
It is then deployed by the [VirtualCluster] CRD controller.
Optional: {}

WorkbenchMCPCategory

Underlying type: string

WorkbenchMCPCategory is a workbench tool category accepted by the Console MCP endpoint.

Validation:

  • Enum: [metrics logs integration ticketing traces error_tracking infrastructure search scm chat function coding verification observability]

Appears in:

FieldDescription
metrics
logs
integration
ticketing
traces
error_tracking
infrastructure
search
scm
chat
function
coding
verification
observability

WorkbenchMCPConfig

Appears in:

FieldDescriptionDefaultValidation
enabled booleanEnabled controls whether workbench tools are available to coding agents.false
categories WorkbenchMCPCategory arrayCategories limits the exposed workbench tools. When omitted, the default
set is metrics, logs, traces, ticketing, search, scm, and infrastructure.
Enum: [metrics logs integration ticketing traces error_tracking infrastructure search scm chat function coding verification observability]
Optional: {}