#Configuration
This page explains how to think about Sandbox0Infra configuration and includes a generated field reference sourced from the operator CRD.
The goal is to keep the page readable for operators while still exposing the full supported config surface.
How to Read Sandbox0Infra#
A Sandbox0Infra spec is easier to reason about when you split it into six layers:
| Layer | Main fields | What it controls |
|---|---|---|
| Platform release | infra-operator chart / image version | Which sandbox0 component version to deploy |
| Core dependencies | spec.database, spec.metadataDatabase, spec.storage, spec.redis, spec.registry | PostgreSQL, s0fs metadata, object storage, gateway rate-limit Redis, registry integration |
| Topology | spec.services.*, spec.controlPlane, spec.cluster, spec.region | Single-cluster vs multi-cluster shape and service placement |
| Data-plane runtimes | spec.storage.runtime, spec.network, spec.sandboxNodePlacement | Manager storage behavior and node-local ctld networking and placement |
| Public routing | spec.publicExposure, spec.internalAuth | Public sandbox URLs and inter-service trust |
| Runtime bootstrap | spec.builtinTemplates, spec.initUser | Default templates, warm pools, initial admin bootstrap |
Recommended Reading Order#
- Pick your topology with
spec.services.*. - Decide whether database/storage/Redis/registry stay
builtinor move external. - Configure public exposure and cluster identity.
- Seed templates and initial admin user.
- Only then tune service and data-plane runtime configuration.
spec.initUser is consumed by the gateway runtime, not created by the operator itself.
In local-password mode it bootstraps the first admin credentials; in OIDC-only mode it pre-creates the admin user and initial team so the first OIDC login with the same email lands on the intended admin account.
When spec.builtinTemplates is omitted, infra-operator seeds public builtin templates for default, openclaw, hermes, browser, and coding-agent. Set spec.builtinTemplates explicitly when you want to pin images, adjust pools, disable one of the builtins, or provide a full template spec for a runtime-specific setup. Set it to [] to remove all operator-managed builtin templates.
Pin Builtin Images for Predictable Startup#
The self-hosted openclaw, hermes, and browser presets use upstream mutable latest tags by default. Sandbox0 sets the effective main-container pull policy to IfNotPresent unless a system template overrides it. A claim on a node that already has the image does not download it again, but a new or cache-miss node resolves the tag and pulls the current image. That pull can add substantial cold-start latency for large images, and different nodes can keep different digests for the same mutable tag.
For production self-hosted deployments, replace the complete builtin template list and pin each mutable image to a reviewed digest:
yamlspec: builtinTemplates: - templateId: default - templateId: openclaw image: ghcr.io/openclaw/openclaw@sha256:<openclaw-digest> - templateId: hermes image: nousresearch/hermes-agent@sha256:<hermes-digest> - templateId: browser image: ghcr.io/steel-dev/steel-browser@sha256:<browser-digest>
spec.builtinTemplates has replacement semantics, so omitting an entry removes that operator-managed builtin. A version tag is easier to read than a digest but remains mutable if its publisher retags it. A digest is the immutable choice.
Pinning makes the runtime version deterministic; it does not eliminate the first pull on an empty node. If image-pull latency is part of your cold-start budget, preload the pinned digests into node images or use a node-level pre-puller before admitting sandbox workloads.
Sandbox0 Cloud handles the mutable-tag policy at the platform layer: managed-region configuration pins these images by digest and rolls upstream digest changes through deployment automation. Cloud users therefore do not maintain these pins themselves. A genuinely cold node can still need a missing pinned image, but cache and prewarming operations remain the managed platform's responsibility rather than part of the customer template configuration.
Supported Topologies#
| Topology | Typical fields | Use when |
|---|---|---|
| Single-cluster fullmode | storage, network, registry, services.clusterGateway, services.manager | You deploy one complete data-plane cluster |
| Multi-cluster control plane | services.regionalGateway, services.scheduler | You coordinate multiple data-plane clusters in one region |
| Multi-cluster data plane | controlPlane, cluster, storage, network, services.clusterGateway, services.manager | You attach a complete data-plane cluster to an external control plane |
The single-cluster sample is always fullmode. manager hosts lifecycle control and the storage API runtime. Each sandbox node runs the ctld-a and ctld-b DaemonSets; the elected primary owns rootfs persistence, volume portals, and the network runtime, and the synchronized standby takes over after promotion. Configure storage behavior under spec.storage.runtime, network behavior under spec.network, and shared sandbox-node placement under spec.sandboxNodePlacement.
Sandbox Claim Admission#
Team Quota is the claim admission boundary. The sandbox_claims rate policy controls sustained claim rate and immediate burst at the external regional or full-mode gateway, while active_sandboxes limits the number of running sandboxes for a team. Manager does not maintain a separate cluster-wide claim-start budget.
After quota admission, manager claims a ready idle pod or creates a cold pod directly. Warm-pool ReplicaSets also scale directly to each template's configured minIdle. In multi-cluster mode, scheduler routing prefers ready idle capacity, then estimated cluster headroom, configured weight, and deterministic fallback order.
Metering Boundary#
Sandbox0 records usage truth in the region usage ledger and exports it from the region-scoped metering endpoints. Metering is disabled by default. When spec.metering.enabled is true, metering requires spec.clickHouse.type to be builtin or external. ClickHouse is the long-term usage ledger and the only metering query/export backend. PostgreSQL holds only a compact transactional delivery outbox and producer projection state; it is not a second queryable usage ledger. Producers capture stable, idempotent ClickHouse operations in that outbox, storage mutations use the same PostgreSQL business transaction, and manager retries the oldest transaction batch until ClickHouse accepts it.
Metering export is therefore eventually consistent. Manager lifecycle events and storage mutations are normally visible after the projector poll (about two seconds). Network byte windows from ctld add meteringReportInterval (10 seconds by default), while periodic storage byte-hour windows add up to one minute. A ClickHouse outage increases this delay without discarding committed outbox operations; after the one-time projection-state bootstrap has completed, producers can also restart while ClickHouse is unavailable. The outbox is globally ordered, so the exported complete_before value is the greatest producer watermark that has reached ClickHouse; projecting it proves that every older committed batch has also been delivered, and historical producer instances do not pin the frontier. Monitor manager_metering_outbox_pending_operations and manager_metering_outbox_oldest_pending_age_seconds for delivery backlog. Billing systems should consume the exported watermark and rate usage windows outside the open-source data plane.
New event and window rows expose their PostgreSQL outbox operation sequence. Rows projected before the sequence column was introduced retain sequence: 0; cursor-based pagination is the canonical export contract across upgrades. Metering timestamps are written to ClickHouse as signed Unix nanoseconds so DateTime64(9) window boundaries and cursors preserve their full precision.
Sandbox compute uses a serverless-style contract:
| Window type | Unit | Meaning |
|---|---|---|
sandbox.runtime_mib_milliseconds | mib_milliseconds | Active sandbox runtime and team-owned warm pool runtime multiplied by allocated memory |
sandbox.egress_bytes | bytes | Egress traffic observed by the ctld network runtime |
sandbox.ingress_bytes | bytes | Ingress traffic observed by the ctld network runtime |
sandbox.volume_byte_hours | byte_hours | Persisted volume and volume snapshot storage over time. Snapshot rows keep subject_type=snapshot |
sandbox.rootfs_byte_hours | byte_hours | Persisted sandbox rootfs COW object storage over time |
sandbox.object_store_get_requests | count | Successful GetRequest-class OSS HTTP attempts for platform-owned volume and rootfs storage |
sandbox.object_store_put_requests | count | Successful PutRequest-class OSS HTTP attempts for platform-owned volume and rootfs storage, including ListObjectsV2 |
Public template idle pools are platform cost. Team-owned template warm pools are attributed to the owning team with subject_type=template.
OSS request windows are usage facts only; Sandbox0 does not attach prices. The
manager and ctld aggregate provider HTTP attempts for one minute before writing
them to the PostgreSQL metering outbox. Successful volume requests are
attributed from sandboxvolumes/<team_id>/<volume_id>, and rootfs requests from
sandbox-rootfs/<team_id>/<sandbox_id>. Window data records provider,
bucket, billing_item, operation, cost_scope, and prefix_class.
Requests to customer-configured external S3 volumes are excluded because the
customer owns that object-store account. Reconcile these windows with provider
access and metering logs before using them for cost reporting.
Platform Observability#
Sandbox0 platform services emit logs to container stdout and expose Prometheus-compatible metrics on their metrics ports. Configure spec.observability when you want the operator to export sandbox0-owned platform telemetry to your observability stack.
Platform telemetry export is disabled by default. The operator owns collection and export integration only: it can point platform services at an external collector, or install OpenTelemetry Collectors that export to your OTLP endpoint. The per-sandbox historical observability APIs are separate from this platform telemetry layer; they require a configured query backend and return 503 unavailable when that backend is disabled or unavailable. The historical observability tables are separate from the metering usage ledger even when both use the same region ClickHouse component.
For cold-start diagnosis, manager exposes manager_pod_lifecycle_stage_duration_seconds. Its stage label separates scheduling, the PodReadyToStartContainers sandbox/network boundary, procd container start, first PodIP observation, and Sandbox0 startup/readiness probe completion. The sandbox boundary is a Kubernetes lifecycle timestamp, not the duration of an individual CRI call. Collect kubelet kubelet_runtime_operations_duration_seconds{operation_type=~"run_podsandbox|create_container|start_container"} when exact node-level CRI operation latency is required.
ClickHouse is configured once on the Sandbox0Infra CR under spec.clickHouse. The infra-operator owns builtin provisioning or external DSN resolution, the same way it owns built-in or external PostgreSQL and Redis wiring. Feature configs such as spec.sandboxObservability and spec.metering consume this region component. Do not configure separate ClickHouse backends on cluster-gateway, manager, or ctld when deploying through Sandbox0Infra.
Historical logs and runtime metrics are available whenever sandbox observability is enabled. Centralized sandbox audit is an enterprise feature: set spec.sandboxObservability.audit.enabled to true and provide a signed enterprise license containing the sandbox_audit feature. The license is mounted only into cluster-gateway, which authorizes audit ingestion and the public observability-event query and watch API.
ClickHouse is the canonical audit store. Audit facts are written to sandbox_audit_events with stable event IDs, trusted actor and producer identity, a canonical payload digest, and an Ed25519 gateway signature. PostgreSQL is not a second audit store. The infra-operator creates separate network-producer and audit-signing key pairs: the active ctld process receives only the producer private key, while cluster-gateway receives its public key and the independent signing key. Fsync-backed buffers are delivery state, not competing audit ledgers or query sources; the public observability-event list and watch responses read only canonical ClickHouse rows and include signature_status, with event-ID payload conflicts reported separately as event_id_conflict. A buffered event is therefore not visible to audit readers until ClickHouse acknowledges it. Cluster-gateway uses a persistent volume claim for pending audit events, while each node-local ctld network runtime keeps its flow buffer on that node. Delivery records are deleted only after ClickHouse acknowledges the exact event.
The v2 audit schema deliberately uses a new sandbox_audit_events table. Older sandbox_events rows do not have trustworthy actor or signature data and are retained as legacy observability history rather than being retroactively signed. Existing CRs whose persisted table value is the old default are routed to the new canonical table. At startup, audit-enabled cluster-gateway validates the actual ClickHouse engine, partition key, sorting key, and required columns, and refuses to serve audit operations against an old or incompatible custom table.
Use builtin ClickHouse when you want the infra-operator to install ClickHouse for the region:
yamlspec: enterpriseLicense: secretRef: name: sandbox0-enterprise-license key: license.lic clickHouse: type: builtin builtin: image: clickhouse/clickhouse-server:24.8 persistence: size: 50Gi databases: observability: sandbox0_observability metering: sandbox0_metering schemaMigration: enabled: true sandboxObservability: enabled: true backend: clickhouse audit: enabled: true deliveryMode: durable_async deliveryPersistence: size: 1Gi retention: auditDays: 90 logDays: 7 runtimeSampleDays: 30 ingest: queueSize: 1024 batchSize: 100 flushInterval: duration: 1s requestTimeout: duration: 2s maxRetries: 3 retryBackoff: duration: 100ms metering: enabled: true clickHouse: eventsTable: usage_events windowsTable: usage_windows watermarksTable: producer_watermarks sandboxStateTable: sandbox_projection_state storageStateTable: storage_projection_state
Audit retention is measured from the cluster-gateway-owned ingested_at timestamp, not the producer's potentially delayed occurred_at. This timestamp marks when cluster-gateway creates or normalizes the canonical event; it is not a ClickHouse acknowledgement timestamp. An event delayed in a delivery buffer may therefore have less than the configured retention period remaining when it becomes query-visible.
spec.sandboxObservability.audit.deliveryMode selects the admission boundary for non-mutating Sandbox API requests, public-exposure requests, and new network flows handled by ctld:
durable_asyncis the default. The operation may proceed after its attempt or event is fsynced to the local delivery buffer; ClickHouse ingestion and audit-query visibility follow asynchronously. On a healthy deployment, visibility is driven by immediate delivery wakeups plus the default one-second flush/replay cycles, so it is not a read-after-write guarantee.canonical_syncwaits for ClickHouse to acknowledge the admission event before the operation or flow proceeds. This puts a ClickHouse round trip on the critical path and fails closed when canonical acknowledgement is unavailable.
State-changing Sandbox API requests are always strict regardless of this setting. Cluster-gateway requires canonical acknowledgement for the attempt before execution, buffers the downstream response, and requires canonical acknowledgement for the signed result before returning that response. The delivery buffer is still used to preserve a pending fact for replay, but it never turns a mutation into a successful response before ClickHouse acknowledges the fact. If canonical admission fails after the attempt is durably buffered, cluster-gateway does not execute the downstream handler and attempts to append a correlated signed failed result with HTTP 503, execution_started=false, operation_executed=false, failure_stage=canonical_audit_admission, and failure_code=canonical_ack_unavailable. When result custody succeeds, both facts become query-visible after replay. If the result buffer and canonical fallback both fail, the operation remains unexecuted, the response reports audit_result=unrecorded, and the surviving orphan attempt is an audit-completeness incident that requires investigation.
During a ClickHouse outage, durable_async traffic can continue only while the local delivery buffer remains writable and durable; audit readers will lag until replay succeeds, with no fixed visibility bound during the outage. If the buffer cannot accept an event, Sandbox0 tries a synchronous canonical fallback and fails closed when neither path can take custody. canonical_sync traffic and all mutations fail closed on canonical timeout or outage. Choose canonical_sync when immediate canonical admission is worth the added latency and availability coupling; choose durable_async when durable capture with eventual canonical visibility is the preferred default.
Use the external backend when you already operate ClickHouse:
yamlspec: enterpriseLicense: secretRef: name: sandbox0-enterprise-license key: license.lic clickHouse: type: external external: dsnSecret: name: sandbox0-clickhouse key: dsn connectTimeout: duration: 10s databases: observability: sandbox0_observability metering: sandbox0_metering sandboxObservability: enabled: true backend: clickhouse audit: enabled: true deliveryMode: durable_async deliveryPersistence: size: 1Gi retention: auditDays: 90 logDays: 7 runtimeSampleDays: 30 metering: enabled: true
Set spec.sandboxObservability.enabled to false or omit the field to keep all historical APIs disabled. Leave spec.sandboxObservability.audit.enabled unset or false to keep canonical audit ingestion and event queries disabled while retaining historical logs and runtime metrics. Set spec.metering.enabled to false or omit spec.metering to keep metering producers, quota usage reads, and metering export readers disabled. Legacy spec.sandboxObservability.type fields are still accepted for compatibility, but new installs should use spec.clickHouse for ClickHouse provisioning. Disabling audit stops new facts but does not delete existing rows. retention.auditDays is the retention policy for the canonical ClickHouse audit table; set it to the period required by your organization before enabling audit in production. Metering remains a separate ledger.
When the backend is enabled, infra-operator injects bounded internal ingest endpoints into ctld for sandbox-wide CRI runtime samples and manager for historical logs. When licensed audit is also enabled, it injects the selected delivery mode and durable event-buffer configuration into cluster-gateway and the ctld network runtime. In durable_async, ctld opens an allowed upstream connection after its producer attempt is fsynced locally; cluster-gateway later normalizes and signs that event during canonical ingestion. In canonical_sync, ctld waits for cluster-gateway and ClickHouse to acknowledge the attempt. Gateway mutation responses are always held until their signed result is acknowledged; pending results return 503 and replay from disk.
Audit currently requires spec.services.clusterGateway.replicas: 1. Infra-operator mounts a ReadWriteOnce audit-event delivery PVC and uses the Recreate deployment strategy so the same buffer is detached and reattached before a replacement gateway starts. In production, set audit.deliveryPersistence.storageClass to durable, encrypted storage that supports cross-node volume reattachment; the cluster default is used when it is omitted. Ctld network flow buffers remain node-local and survive same-node Pod restarts, but not permanent node loss. All delivery records are removed only after ClickHouse acknowledgement. Preserve the generated audit-signing Secret for the full retention period. Inline verification currently uses only the active public key, so events signed by a retained historical key report signature_status=unavailable; destructive key replacement therefore requires retaining previous public keys outside the cluster for historical offline verification.
The ctld network runtime exports sandbox0_netd_audit_ingest_events_total and sandbox0_netd_audit_ingest_batches_total; alert on persist_failed, corrupt, retrying, replay_failed, and ack_failed results. Only canonical_sync admission adds a ClickHouse round trip to each new audited flow; the default durable_async path pays for local fsync and gains ClickHouse visibility asynchronously. HTTP requests multiplexed over one existing connection remain protocol operations beneath that flow rather than independent network connections.
The built-in controls provide durable delivery, authenticated producer identity, tenant scoping, append-only application behavior, and tamper-evident row signatures. Regulatory certification still depends on deployment controls outside the process: highly available ClickHouse storage, restricted ClickHouse mutation credentials, encrypted backups, tested restore procedures, retention and legal-hold policy, clock synchronization, and independent preservation of signing public keys or exported checkpoints. A database administrator who can rewrite the complete table and its backups is outside the protection of a per-row signature alone.
In managedCollector mode sandbox0 installs collectors for logs, metrics, and traces, then exports to your OTLP endpoint:
yamlspec: observability: backend: type: external external: mode: managedCollector otlp: endpoint: otel-gateway.example.com:4317 insecure: false resourceAttributes: deployment.environment: production collection: logs: enabled: true metrics: enabled: true traces: enabled: true
If your platform already runs collectors, use existingCollector. In this mode sandbox0 does not install collectors; it only injects standard OTEL trace environment variables into platform services:
yamlspec: observability: backend: type: external external: mode: existingCollector otlp: endpoint: http://otel-collector.observability.svc.cluster.local:4317 headersSecret: name: otel-export-headers key: headers insecure: true
The legacy direct trace exporter config remains supported and overrides export-derived trace endpoint defaults:
yamlspec: observability: traces: enabled: true exporter: otlp endpoint: http://otel-collector.observability.svc.cluster.local:4317 insecure: true timeout: 10s sampleRate: "0.25"
The operator adds built-in resource attributes such as service.name, sandbox0.region.id, sandbox0.cluster.id, k8s.namespace.name, k8s.pod.name, and k8s.node.name. Built-in attributes win over user-provided keys so dashboards and trace queries can rely on stable names.
When traces are not enabled through collection.traces or the legacy traces block, services keep the default noop trace exporter. Existing direct environment overrides still work; standard OpenTelemetry variables such as OTEL_TRACES_EXPORTER, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_HEADERS, and OTEL_RESOURCE_ATTRIBUTES take precedence over operator-injected defaults.
Official sample manifests:
- single-cluster/fullmode.yaml
- single-cluster/fullmode-gke-gvisor.yaml
- multi-cluster/control-plane.yaml
- multi-cluster/data-plane.yaml
What Usually Changes First#
External PostgreSQL#
Move spec.database.type from builtin to external when you want managed PostgreSQL durability, backup policy, and operational separation.
yamlspec: database: type: external external: host: your-db.rds.amazonaws.com port: 5432 database: sandbox0 username: sandbox0 passwordSecret: name: db-credentials key: password
S3 or OSS Backing Storage#
Configure the object-storage backend and manager storage runtime together under spec.storage.
yamlspec: storage: type: s3 s3: bucket: sandbox0-prod region: us-east-1 endpoint: https://s3.amazonaws.com credentialsSecret: name: aws-credentials accessKeyKey: accessKeyId secretKeyKey: secretAccessKey runtime: objectEncryptionEnabled: true
Sandbox RuntimeClass#
Use services.manager.config.sandboxRuntimeClassName when sandbox Pods should run with a non-default runtime such as runc, gvisor, or a custom gvisor-rootfs handler.
yamlspec: services: manager: config: sandboxRuntimeClassName: gvisor-rootfs
This field only controls the runtimeClassName written onto sandbox Pods. The named Kubernetes RuntimeClass must already exist, and its handler must already be configured in the node CRI runtime on every eligible sandbox node.
infra-operator does not install node runtime handlers. It does not install runsc, write /etc/containerd/config.toml, restart containerd, or create a gvisor-rootfs handler. Do that through your node image, node bootstrap automation, or a dedicated privileged node setup process before scheduling sandbox workloads there.
Procd Binary Image Volume#
Sandbox Pods mount Sandbox0 procd binaries from a small OCI artifact image at /procd-image by default. This avoids a per-Pod init container on the sandbox startup path.
When procdBinImageRef is omitted, infra-operator derives it from the deployed infra image tag by appending -procd-bin. For example, sandbox0ai/infra:v0.8.0 uses sandbox0ai/infra:v0.8.0-procd-bin.
Set procdBinImageRef only when you publish the procd binary artifact image separately:
yamlspec: services: manager: config: procdBinImageRef: registry.example.com/sandbox0/procd-bin:v0.8.0
Kubernetes image volume support is part of the Sandbox0 cluster baseline. Unsupported runtimes fail sandbox Pod startup instead of falling back inside the Pod. Sandbox0 mounts the whole image volume and starts /procd-image/usr/local/bin/procd, so clusters do not need container-runtime support for image volume subPath.
Sandbox Memory Limits#
Sandbox claims and runtime updates can set config.resources.memory. The minimum accepted value is 128Mi. The platform maximum defaults to 32Gi. Manager derives CPU from the configured memory-per-CPU ratio and enforces a minimum CPU limit of 150m for claimed sandboxes.
The minimum applies when a sandbox is claimed, resumed, or resized. Upgrading manager does not resize sandbox pods that were already running before the upgrade.
Use services.manager.config.sandboxMaxMemory to lower or raise the platform maximum:
yamlspec: services: manager: config: sandboxMaxMemory: 16Gi
Sandbox0 derives CPU from memory using services.manager.config.teamTemplateMemoryPerCpu, so callers do not set CPU directly on a sandbox claim or update.
For gVisor rootfs checkpoint and restore support on self-managed clusters, use a dedicated containerd handler that points to runsc with shared file access and overlay disabled, then create a matching RuntimeClass:
toml# /etc/containerd/config.toml version = 2 [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.gvisor-rootfs] runtime_type = "io.containerd.runsc.v1" [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.gvisor-rootfs.options] TypeUrl = "io.containerd.runsc.v1.options" ConfigPath = "/etc/containerd/runsc-rootfs.toml"
toml# /etc/containerd/runsc-rootfs.toml [runsc_config] overlay2 = "none" file-access = "shared"
yamlapiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: gvisor-rootfs handler: gvisor-rootfs
sandboxRuntimeClassName applies only to sandbox Pods. Ctld is a node-local host component and must use a runtime that supports its required hostNetwork, hostPath, FUSE, and network-programming access; do not run ctld under gvisor, gvisor-rootfs, or kata.
ctld assumes the node's containerd data root is /var/lib/containerd by default. If your nodes move containerd data to another host path, configure the same path so rootfs pause/resume can use the overlayfs fast path:
yamlspec: services: ctld: containerdHostDataRoot: /var/lib/containerd/sandbox0
ctld also keeps a disposable node-local rootfs object cache under its host data directory. This cache accelerates pause/resume when the restoring ctld already has the needed rootfs layer objects. The default cap is 20Gi per ctld node. Set rootfsObjectCacheMaxBytes: "0" to disable it, or tune the GC fields to fit your node disk:
yamlspec: services: ctld: rootfsObjectCacheMaxBytes: 20Gi rootfsObjectCacheMinFreeBytes: 5Gi rootfsObjectCacheMaxAge: 24h rootfsObjectCacheSweepInterval: 1m
Cache contents are safe to delete. If a cached object is missing, corrupt, too old, or evicted to preserve free space, ctld downloads the rootfs object from configured object storage.
Shared Redis Rate Limiting#
Gateway request rate limiting defaults to process-local memory. Configure spec.redis so api_requests and network bandwidth Team Quotas share admission state across gateway replicas, ctld nodes, and data-plane clusters in the region.
yamlspec: redis: type: builtin builtin: enabled: true
For an external Redis instance, store the URL in a Secret and reference it from spec.redis.
yamlapiVersion: v1 kind: Secret metadata: name: redis-url namespace: sandbox0-system stringData: url: rediss://:[email protected]:6379/0 --- apiVersion: infra.sandbox0.ai/v1alpha1 kind: Sandbox0Infra metadata: name: fullmode namespace: sandbox0-system spec: redis: type: external external: urlSecret: name: redis-url key: url keyPrefix: sandbox0:ratelimit:prod operationTimeout: 100ms failOpen: true
Credential Source Storage#
Credential sources are stored in encrypted PostgreSQL by default. infra-operator creates and mounts a stable per-installation encryption key for manager. During upgrade, legacy plaintext rows remain readable and are not rewritten automatically.
Configure spec.credentialVault when new credential source material should live in a Vault-compatible backend. Builtin mode installs OpenBao:
yamlspec: credentialVault: type: builtin builtin: enabled: true mount: secret
External mode connects manager to an existing HashiCorp Vault-compatible endpoint:
yamlapiVersion: v1 kind: Secret metadata: name: sandbox0-vault-token namespace: sandbox0-system stringData: token: <vault-token> --- apiVersion: infra.sandbox0.ai/v1alpha1 kind: Sandbox0Infra metadata: name: fullmode namespace: sandbox0-system spec: credentialVault: type: external external: address: https://vault.example.com tokenSecret: name: sandbox0-vault-token key: token mount: secret allowedPathPrefixes: - sandbox0/credential-sources/{{teamID}}/
When spec.credentialVault is enabled, manager stores newly written credential sources in the configured Vault backend. Existing rows keep their recorded storage backend.
Egress Auth Resolve TTL#
The ctld network runtime caches resolved egress auth material until the expiresAt timestamp returned by manager. Manager does not keep an additional resolved-material cache. Credential source rotation actively invalidates affected ctld cache entries, so already-claimed sandboxes normally use the rotated source on their next matching egress resolve. The default lifetime is 5 minutes, and the TTL remains the fallback consistency bound if realtime invalidation delivery is interrupted.
Set spec.services.manager.config.egressAuthDefaultResolveTtl when you want a different platform default. Individual bindings can override it with network.credentialBindings[*].cachePolicy.ttl.
yamlspec: services: manager: config: egressAuthDefaultResolveTtl: 1m
Public Routing and Region Identity#
spec.publicExposure decides the public host pattern used for sandbox URLs. Keep it consistent with your region and DNS plan.
yamlspec: publicExposure: enabled: true rootDomain: sandbox0.example.com regionId: aws-us-east-1
SSH Gateway#
Enable spec.services.sshGateway when you want a region-scoped SSH entrypoint that bridges standard ssh and scp clients into sandbox procd sessions.
The routing model is intentionally simple:
- One
ssh-gatewayper region - One fixed DNS-only host or TCP proxy address per region, for example
aws-us-east-1.ssh.sandbox0.app - SSH username is the target sandbox ID
- User authentication uses SSH public keys uploaded to the gateway API
In Kubernetes terms, spec.services.sshGateway.service.port is the Kubernetes Service port and spec.services.sshGateway.config.sshPort is the container listen port. You usually keep the internal port at 2222 and expose 22 or a NodePort externally.
When an external load balancer listens on a different public port than the Kubernetes Service or NodePort, set spec.services.sshGateway.endpointPort to the public port that clients should use.
The operator also manages a persistent Ed25519 host key Secret for the service. As long as that Secret is retained, clients continue to see the same SSH host identity across pod restarts.
yamlspec: services: sshGateway: enabled: true replicas: 1 service: type: LoadBalancer port: 22 config: sshPort: 2222
For local labs or kind-style environments, a NodePort is often simpler:
yamlspec: services: sshGateway: enabled: true replicas: 1 service: type: NodePort port: 30222 endpointPort: 22
After exposing the service through DNS or a load balancer, users can upload SSH public keys with POST /users/me/ssh-keys and connect with standard clients. See SSH for the user-facing flow.
AWS LoadBalancer TLS#
When you expose regionalGateway or globalGateway through a cloud load balancer instead of Kubernetes Ingress, declare provider-specific Service annotations under spec.services.<service>.service.annotations. On AWS, this is the supported place to attach ACM certificates and choose the load balancer mode.
Also set spec.services.<service>.config.baseUrl to the final browser-facing URL. That keeps auth callbacks, generated links, and projected status endpoints aligned with the hostname you put behind Cloudflare.
yamlspec: services: regionalGateway: enabled: true service: type: LoadBalancer port: 443 annotations: service.beta.kubernetes.io/aws-load-balancer-type: nlb service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <acm-certificate-arn> service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443" config: baseUrl: https://your-gateway.example.com
Multi-Cluster Data Plane Registration#
Data-plane clusters need control-plane connection details and a stable cluster identity.
yamlspec: controlPlane: url: https://api.sandbox0.example.com internalAuthPublicKeySecret: name: control-plane-public-key key: public.key cluster: id: cluster-001 name: production-use1-a services: clusterGateway: enabled: true config: authMode: internal manager: enabled: true
Service and Runtime Config#
Use spec.services.<service>.config for deployable services, spec.storage.runtime for manager storage behavior, and spec.network.config for the network runtime in ctld.
Examples:
services.clusterGateway.config.authModeswitches betweenpublic,internal, andbothservices.manager.config.autoscaler.*controls warm-pool scaling behaviorservices.manager.config.k8sClientQpsandk8sClientBursttune the manager Kubernetes client token bucket rate limit; defaults are50and100services.manager.config.sandboxMaxMemorycaps per-sandbox memory overrides; the default is32Giservices.manager.config.procdBinImageRefoverrides the derived procd artifact image used by sandbox Podsservices.manager.config.allowColdStartWithoutReadyDataPlanelets cold claims create Pending pods for external node autoscaler scale-from-zero deployments; keep it disabled unless the cluster autoscaler can provision matching sandbox nodesstorage.runtime.filesystem*tunes the manager storage runtime;services.manager.config.procdConfig.volume*tunes mounted volume cache sizingstorage.runtime.s0fsSegmentTargetSizesets the target S0FS segment size for materialized volume data; the default is4Mistorage.runtime.s0fsCompaction*tunes background S0FS compaction for RWO volume owners;s0fsCompactionIntervalaccepts0,off, ordisabledto turn it offstorage.runtime.cacheSizeLimitandlogSizeLimitcap storage cache and logs in the manager Pod;volumePortalCacheSizeLimitandvolumePortalRootMinFreetune the volume portals used by ctldstorage.runtime.objectEncryptionEnabledcontrols application-layer encryption for persisted rootfs checkpoint objects, S0FS Volume objects, and node-local S0FS volume cache files; it is enabled by defaultnetwork.config.egressBandwidthBytesPerSecond,ingressBandwidthBytesPerSecond, andbandwidthBurstBytesapply per-sandbox bandwidth throttling when set above zeroservices.manager.config.defaultTeamQuotasconfigures region-wide capacity, API request, and network bandwidth defaults; see Team Quotasnetwork.config.*also controls proxy ports, policy enforcement, and node-level networking behavior
yamlspec: redis: type: builtin builtin: enabled: true storage: runtime: cacheSizeLimit: 20Gi logSizeLimit: 1Gi s0fsSegmentTargetSize: 4Mi s0fsCompactionInterval: 1m s0fsCompactionMinDeadRatio: "0.5" s0fsCompactionMinReclaimSize: 1Mi volumePortalCacheSizeLimit: 20Gi volumePortalRootMinFree: 5Gi network: config: egressBandwidthBytesPerSecond: 10485760 ingressBandwidthBytesPerSecond: 10485760 bandwidthBurstBytes: 10485760 services: manager: config: defaultTeamQuotas: - dimension: network_egress_bytes limitValue: 104857600 intervalMs: 1000 burstValue: 104857600 - dimension: network_ingress_bytes limitValue: 104857600 intervalMs: 1000 burstValue: 104857600
Use spec.sandboxNodePlacement for the shared node placement consumed by sandbox template Pods and the ctld HA pair. infra-operator owns sandbox0.ai/data-plane-ready and adds it to sandbox Pod placement after the required node-local components are Ready.
Use the generated reference below for exact field names, defaults, enums, and required flags. Use the sample manifests for operator-friendly starting points.
Not every operational rule is expressible in CRD schema. Some defaults are applied inside manager and ctld, and some validations are conditional. Examples include network runtime defaults and storage encryption requiring a key path.
Full Reference#
The reference below is generated from the Sandbox0Infra CRD schema produced by controller-gen, not manually maintained MDX.
This reference is generated from the `Sandbox0Infra` CRD schema. It stays aligned with defaults, enums, and required fields exposed by the operator, while deployment guidance on this page remains curated.
Databasespec.database21 fieldsDatabase configures the main database for sandbox0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.database | object | No | - | Database configures the main database for sandbox0 |
spec.database.builtin | object | No | - | Builtin configures the built-in single-node PostgreSQL |
spec.database.builtin.database | string | No | sandbox0 | Database specifies the database name |
spec.database.builtin.enabled | boolean | No | true | Enabled enables the built-in database |
spec.database.builtin.image | string | No | postgres:16-alpine | Image specifies the postgres image for the builtin database |
spec.database.builtin.persistence | object | No | - | Persistence configures database storage |
spec.database.builtin.persistence.size | integer|string | No | 20Gi | Size specifies the storage size |
spec.database.builtin.persistence.storageClass | string | No | - | StorageClass specifies the storage class (empty for default) |
spec.database.builtin.port | integer | No | 5432 | Port specifies the database port |
spec.database.builtin.sslMode | string | No | disable | SSLMode specifies the SSL mode for builtin DSN |
spec.database.builtin.statefulResourcePolicy | string | No | Retain | StatefulResourcePolicy controls what happens to the builtin PVC and generated credentials secret when the builtin database is disabled or replaced by an external database. Allowed values: Retain, Delete. |
spec.database.builtin.username | string | No | sandbox0 | Username specifies the database username |
spec.database.external | object | No | - | External configures connection to external database |
spec.database.external.database | string | Yes | - | Database specifies the database name |
spec.database.external.host | string | Yes | - | Host specifies the database host |
spec.database.external.passwordSecret | object | Yes | - | PasswordSecret references the secret containing the password |
spec.database.external.passwordSecret.key | string | No | password | Key is the key in the secret |
spec.database.external.passwordSecret.name | string | No | - | Name is the name of the secret |
spec.database.external.port | integer | No | 5432 | Port specifies the database port |
spec.database.external.sslMode | string | No | require | SSLMode specifies the SSL mode for connection |
spec.database.external.username | string | Yes | - | Username specifies the database username |
spec.database.type | string | No | builtin | Type specifies the postgres database type: builtin, or external Allowed values: builtin, external. |
Storagespec.storage84 fieldsStorage configures the storage backend (S0FS S3 backend)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.storage | object | No | - | Storage configures the storage backend (S0FS S3 backend) |
spec.storage.builtin | object | No | - | Builtin configures the built-in RustFS storage |
spec.storage.builtin.bucket | string | No | sandbox0 | Bucket specifies the default bucket name for builtin storage |
spec.storage.builtin.consoleEnabled | boolean | No | true | ConsoleEnabled enables the RustFS console |
spec.storage.builtin.consolePort | integer | No | 9001 | ConsolePort specifies the RustFS console port |
spec.storage.builtin.credentials | object | No | - | Credentials configures access credentials (auto-generated if not specified) |
spec.storage.builtin.credentials.accessKey | string | No | - | AccessKey is the access key |
spec.storage.builtin.credentials.secretKey | string | No | - | SecretKey is the secret key |
spec.storage.builtin.enabled | boolean | No | true | Enabled enables the built-in storage |
spec.storage.builtin.image | string | No | rustfs/rustfs:1.0.0-alpha.79 | Image specifies the RustFS image for builtin storage |
spec.storage.builtin.obsEnvironment | string | No | develop | ObsEnvironment specifies the RustFS environment label |
spec.storage.builtin.obsLogDirectory | string | No | /data/logs | ObsLogDirectory specifies the RustFS log directory |
spec.storage.builtin.obsLoggerLevel | string | No | debug | ObsLoggerLevel specifies the RustFS log level |
spec.storage.builtin.persistence | object | No | - | Persistence configures storage persistence |
spec.storage.builtin.persistence.size | integer|string | No | 20Gi | Size specifies the storage size |
spec.storage.builtin.persistence.storageClass | string | No | - | StorageClass specifies the storage class (empty for default) |
spec.storage.builtin.port | integer | No | 9000 | Port specifies the RustFS API port |
spec.storage.builtin.region | string | No | us-east-1 | Region specifies the default region for builtin storage |
spec.storage.builtin.statefulResourcePolicy | string | No | Retain | StatefulResourcePolicy controls what happens to the builtin PVC and generated credentials secret when the builtin storage is disabled or replaced by an external storage backend. Allowed values: Retain, Delete. |
spec.storage.builtin.volumes | string | No | /data | Volumes specifies the RustFS data path |
spec.storage.gcs | object | No | - | GCS configures Google Cloud Storage using native GCS credentials. |
spec.storage.gcs.bucket | string | Yes | - | Bucket specifies the GCS bucket name. |
spec.storage.gcs.workloadIdentityServiceAccountEmail | string | No | - | WorkloadIdentityServiceAccountEmail is the Google service account email used by storage clients through GKE Workload Identity. |
spec.storage.oss | object | No | - | OSS configures Aliyun OSS storage |
spec.storage.oss.bucket | string | Yes | - | Bucket specifies the OSS bucket name |
spec.storage.oss.credentialsSecret | object | Yes | - | CredentialsSecret references the secret containing Aliyun credentials |
spec.storage.oss.credentialsSecret.accessKeyKey | string | No | accessKeyId | AccessKeyKey is the key for access key ID |
spec.storage.oss.credentialsSecret.name | string | Yes | - | Name is the name of the secret |
spec.storage.oss.credentialsSecret.secretKeyKey | string | No | accessKeySecret | SecretKeyKey is the key for access key secret |
spec.storage.oss.endpoint | string | Yes | - | Endpoint specifies the OSS endpoint |
spec.storage.oss.region | string | Yes | - | Region specifies the Aliyun region |
spec.storage.runtime | object | No | - | Runtime configures the sandbox volume runtime hosted by manager and ctld. |
spec.storage.runtime.auditFile | string | No | /var/log/storage-proxy/audit.log | - |
spec.storage.runtime.auditLog | boolean | No | true | - |
spec.storage.runtime.cacheDir | string | No | /var/lib/storage-proxy/cache | - |
spec.storage.runtime.cacheSizeLimit | string | No | 20Gi | - |
spec.storage.runtime.cleanupInterval | string | No | 60s | - |
spec.storage.runtime.databaseMaxConns | integer | No | 30 | - |
spec.storage.runtime.databaseMinConns | integer | No | 5 | - |
spec.storage.runtime.databaseSchema | string | No | storage_proxy | - |
spec.storage.runtime.directVolumeFileIdleTTL | string | No | 30s | - |
spec.storage.runtime.filesystemAttrTimeout | string | No | 1s | - |
spec.storage.runtime.filesystemBlockSize | integer | No | 4096 | - |
spec.storage.runtime.filesystemCompression | string | No | lz4 | - |
spec.storage.runtime.filesystemDirEntryTimeout | string | No | 1s | - |
spec.storage.runtime.filesystemEntryTimeout | string | No | 1s | - |
spec.storage.runtime.filesystemMaxUpload | integer | No | 20 | - |
spec.storage.runtime.filesystemMetaRetries | integer | No | 10 | - |
spec.storage.runtime.filesystemName | string | No | sandbox0 | - |
spec.storage.runtime.filesystemTrashDays | integer | No | 1 | - |
spec.storage.runtime.flushTimeout | string | No | 30s | - |
spec.storage.runtime.heartbeatInterval | string | No | 5s | - |
spec.storage.runtime.heartbeatTimeout | integer | No | 15 | - |
spec.storage.runtime.httpAddr | string | No | 0.0.0.0 | - |
spec.storage.runtime.httpIdleTimeout | string | No | 60s | - |
spec.storage.runtime.httpPort | integer | No | 8081 | - |
spec.storage.runtime.httpReadTimeout | string | No | 15s | - |
spec.storage.runtime.httpWriteTimeout | string | No | 15s | - |
spec.storage.runtime.kubeconfigPath | string | No | - | - |
spec.storage.runtime.logLevel | string | No | info | - |
spec.storage.runtime.logSizeLimit | string | No | 1Gi | - |
spec.storage.runtime.metricsEnabled | boolean | No | true | - |
spec.storage.runtime.metricsPort | integer | No | 9090 | - |
spec.storage.runtime.objectEncryptionAlgo | string | No | aes256gcm-rsa | - |
spec.storage.runtime.objectEncryptionEnabled | boolean | No | true | - |
spec.storage.runtime.objectEncryptionPassphrase | string | No | - | - |
spec.storage.runtime.restoreRemountTimeout | string | No | 30s | - |
spec.storage.runtime.s0fsCompactionInterval | string | No | 1m | - |
spec.storage.runtime.s0fsCompactionMinDeadRatio | string | No | 0.5 | - |
spec.storage.runtime.s0fsCompactionMinReclaimSize | string | No | 1Mi | - |
spec.storage.runtime.s0fsSegmentTargetSize | string | No | 4Mi | - |
spec.storage.runtime.volumePortalCacheSizeLimit | string | No | 20Gi | - |
spec.storage.runtime.volumePortalRootMinFree | string | No | 5Gi | - |
spec.storage.runtime.watchEventQueueSize | integer | No | 256 | - |
spec.storage.runtime.watchEventsEnabled | boolean | No | true | - |
spec.storage.s3 | object | No | - | S3 configures S3 or S3-compatible storage |
spec.storage.s3.bucket | string | Yes | - | Bucket specifies the S3 bucket name |
spec.storage.s3.credentialsSecret | object | Yes | - | CredentialsSecret references the secret containing AWS credentials |
spec.storage.s3.credentialsSecret.accessKeyKey | string | No | accessKeyId | AccessKeyKey is the key for access key ID |
spec.storage.s3.credentialsSecret.name | string | Yes | - | Name is the name of the secret |
spec.storage.s3.credentialsSecret.secretKeyKey | string | No | secretAccessKey | SecretKeyKey is the key for secret access key |
spec.storage.s3.endpoint | string | No | - | Endpoint specifies the S3 endpoint (optional for AWS) |
spec.storage.s3.region | string | Yes | - | Region specifies the AWS region |
spec.storage.s3.sessionTokenKey | string | No | - | SessionTokenKey is the key for session token in the secret (optional) |
spec.storage.type | string | No | builtin | Type specifies the storage type: builtin, s3, oss, or gcs. Allowed values: builtin, s3, oss, gcs. |
Registryspec.registry84 fieldsRegistry configures the container registry
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.registry | object | No | - | Registry configures the container registry |
spec.registry.aliyun | object | No | - | Aliyun configures Aliyun registry integration. |
spec.registry.aliyun.credentialsSecret | object | Yes | - | CredentialsSecret references Aliyun credentials for short-lived tokens. |
spec.registry.aliyun.credentialsSecret.accessKeyKey | string | No | accessKeyId | AccessKeyKey is the key for access key ID. |
spec.registry.aliyun.credentialsSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.aliyun.credentialsSecret.secretKeyKey | string | No | accessKeySecret | SecretKeyKey is the key for secret access key. |
spec.registry.aliyun.instanceId | string | Yes | - | InstanceID specifies the ACR instance ID. |
spec.registry.aliyun.pullSecret | object | Yes | - | PullSecret references the dockerconfigjson secret to use for image pulls. |
spec.registry.aliyun.pullSecret.key | string | No | .dockerconfigjson | Key is the key in the secret. |
spec.registry.aliyun.pullSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.aliyun.region | string | Yes | - | Region specifies the Aliyun region. |
spec.registry.aliyun.registry | string | Yes | - | Registry specifies the registry hostname. |
spec.registry.aws | object | No | - | AWS configures AWS registry integration. |
spec.registry.aws.assumeRoleArn | string | No | - | AssumeRoleARN optionally scopes registry pushes through an assumed IAM role. |
spec.registry.aws.credentialsSecret | object | Yes | - | CredentialsSecret references AWS credentials for short-lived tokens. |
spec.registry.aws.credentialsSecret.accessKeyKey | string | No | accessKeyId | AccessKeyKey is the key for access key ID. |
spec.registry.aws.credentialsSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.aws.credentialsSecret.secretKeyKey | string | No | secretAccessKey | SecretKeyKey is the key for secret access key. |
spec.registry.aws.credentialsSecret.sessionTokenKey | string | No | - | SessionTokenKey is the key for session token (optional). |
spec.registry.aws.externalId | string | No | - | ExternalID is passed to STS AssumeRole when assumeRoleArn is configured. |
spec.registry.aws.pullSecret | object | Yes | - | PullSecret references the dockerconfigjson secret to use for image pulls. |
spec.registry.aws.pullSecret.key | string | No | .dockerconfigjson | Key is the key in the secret. |
spec.registry.aws.pullSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.aws.region | string | Yes | - | Region specifies the AWS region. |
spec.registry.aws.registry | string | No | - | Registry specifies the registry hostname. |
spec.registry.aws.registryId | string | No | - | RegistryID specifies the AWS account ID (optional). |
spec.registry.azure | object | No | - | Azure configures Azure registry integration. |
spec.registry.azure.credentialsSecret | object | Yes | - | CredentialsSecret references the client credentials for ACR. |
spec.registry.azure.credentialsSecret.clientIdKey | string | No | clientId | ClientIDKey is the key for client ID. |
spec.registry.azure.credentialsSecret.clientSecretKey | string | No | clientSecret | ClientSecretKey is the key for client secret. |
spec.registry.azure.credentialsSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.azure.credentialsSecret.tenantIdKey | string | No | tenantId | TenantIDKey is the key for tenant ID. |
spec.registry.azure.pullSecret | object | Yes | - | PullSecret references the dockerconfigjson secret to use for image pulls. |
spec.registry.azure.pullSecret.key | string | No | .dockerconfigjson | Key is the key in the secret. |
spec.registry.azure.pullSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.azure.registry | string | Yes | - | Registry specifies the registry hostname. |
spec.registry.builtin | object | No | - | Builtin configures the built-in registry. |
spec.registry.builtin.credentialsSecret | object | No | - | CredentialsSecret references the secret containing registry credentials. If omitted, the operator will generate a secret named "<infra-name>-registry-credentials". |
spec.registry.builtin.credentialsSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.builtin.credentialsSecret.passwordKey | string | No | password | PasswordKey is the key for password. |
spec.registry.builtin.credentialsSecret.usernameKey | string | No | username | UsernameKey is the key for username. |
spec.registry.builtin.enabled | boolean | No | true | Enabled enables the built-in registry. |
spec.registry.builtin.image | string | No | registry:2.8.3 | Image specifies the registry image. |
spec.registry.builtin.ingress | object | No | - | Ingress configures ingress settings for external registry access. |
spec.registry.builtin.ingress.annotations | object | No | - | Annotations specifies provider-specific ingress annotations. |
spec.registry.builtin.ingress.className | string | No | - | ClassName specifies the ingress class name |
spec.registry.builtin.ingress.enabled | boolean | No | false | Enabled enables ingress |
spec.registry.builtin.ingress.extraHosts | array<string> | No | - | ExtraHosts specifies additional ingress hosts routed to the same backend. |
spec.registry.builtin.ingress.extraHosts[] | string | No | - | - |
spec.registry.builtin.ingress.host | string | No | - | Host specifies the ingress host |
spec.registry.builtin.ingress.tls | array<object> | No | - | TLS specifies host groups and their backing TLS secrets. When set, TLS takes precedence over TLSSecret. |
spec.registry.builtin.ingress.tls[] | object | No | - | IngressTLSConfig defines one TLS certificate binding for ingress hosts. |
spec.registry.builtin.ingress.tls[].hosts | array<string> | No | - | Hosts specifies the hosts covered by this TLS secret. |
spec.registry.builtin.ingress.tls[].hosts[] | string | No | - | - |
spec.registry.builtin.ingress.tls[].secretName | string | No | - | SecretName specifies the Kubernetes TLS secret name. |
spec.registry.builtin.ingress.tlsSecret | string | No | - | TLSSecret specifies the TLS secret name |
spec.registry.builtin.persistence | object | No | - | Persistence configures registry persistence. |
spec.registry.builtin.persistence.size | integer|string | No | 20Gi | Size specifies the storage size |
spec.registry.builtin.persistence.storageClass | string | No | - | StorageClass specifies the storage class (empty for default) |
spec.registry.builtin.port | integer | No | 5000 | Port specifies the registry port. |
spec.registry.builtin.pushEndpoint | string | No | - | PushEndpoint overrides the externally advertised registry endpoint used for image pushes and sandbox node image pulls. Every sandbox node must be able to reach this endpoint. Use host[:port] format, without scheme. |
spec.registry.builtin.service | object | No | - | Service configures the registry service exposure. |
spec.registry.builtin.service.annotations | object | No | - | Annotations declares Service metadata annotations. Use this for cloud-provider specific load balancer configuration such as ACM certificate attachment on AWS. |
spec.registry.builtin.service.port | integer | No | 80 | Port specifies the service port |
spec.registry.builtin.service.type | string | No | ClusterIP | Type specifies the service type |
spec.registry.builtin.statefulResourcePolicy | string | No | Retain | StatefulResourcePolicy controls what happens to the builtin registry PVC when the builtin registry is disabled or replaced by an external registry provider. Allowed values: Retain, Delete. |
spec.registry.gcp | object | No | - | GCP configures GCP registry integration. |
spec.registry.gcp.pullSecret | object | No | - | PullSecret references the dockerconfigjson secret to use for image pulls. Omit this on GKE when nodes or workload identity can already pull from Artifact Registry without a namespace-local imagePullSecret. |
spec.registry.gcp.pullSecret.key | string | No | .dockerconfigjson | Key is the key in the secret. |
spec.registry.gcp.pullSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.gcp.registry | string | Yes | - | Registry specifies the registry hostname. |
spec.registry.gcp.serviceAccountSecret | object | No | - | ServiceAccountSecret references the service account JSON key. Omit this to use application default credentials inside manager. |
spec.registry.gcp.serviceAccountSecret.key | string | No | serviceAccount.json | Key is the key in the secret. |
spec.registry.gcp.serviceAccountSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.harbor | object | No | - | Harbor configures Harbor registry integration. |
spec.registry.harbor.credentialsSecret | object | Yes | - | CredentialsSecret references Harbor credentials for push authentication. |
spec.registry.harbor.credentialsSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.harbor.credentialsSecret.passwordKey | string | No | password | PasswordKey is the key for password. |
spec.registry.harbor.credentialsSecret.usernameKey | string | No | username | UsernameKey is the key for username. |
spec.registry.harbor.pullSecret | object | Yes | - | PullSecret references the dockerconfigjson secret to use for image pulls. |
spec.registry.harbor.pullSecret.key | string | No | .dockerconfigjson | Key is the key in the secret. |
spec.registry.harbor.pullSecret.name | string | Yes | - | Name is the name of the secret. |
spec.registry.harbor.registry | string | Yes | - | Registry specifies the registry hostname. |
spec.registry.imagePullSecretName | string | No | sandbox0-registry-pull | ImagePullSecretName is the secret name to create in template namespaces. |
spec.registry.provider | string | No | builtin | Provider specifies the registry provider: builtin, aws, gcp, azure, aliyun, or harbor. |
Control Planespec.controlPlane4 fieldsControlPlane configures external control plane connection.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.controlPlane | object | No | - | ControlPlane configures external control plane connection. |
spec.controlPlane.internalAuthPublicKeySecret | object | Yes | - | InternalAuthPublicKeySecret references the secret containing control plane's public key |
spec.controlPlane.internalAuthPublicKeySecret.key | string | No | password | Key is the key in the secret |
spec.controlPlane.internalAuthPublicKeySecret.name | string | No | - | Name is the name of the secret |
spec.controlPlane.url | string | Yes | - | URL is the control plane regional-gateway URL |
Internal Authspec.internalAuth12 fieldsInternalAuth configures internal authentication keys
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.internalAuth | object | No | - | InternalAuth configures internal authentication keys |
spec.internalAuth.controlPlane | object | No | - | ControlPlane configures control plane key pair |
spec.internalAuth.controlPlane.generate | boolean | No | true | Generate enables automatic key generation |
spec.internalAuth.controlPlane.secretRef | object | No | - | SecretRef references an existing secret containing the key pair |
spec.internalAuth.controlPlane.secretRef.name | string | Yes | - | Name is the name of the secret |
spec.internalAuth.controlPlane.secretRef.privateKeyKey | string | No | private.key | PrivateKeyKey is the key for private key |
spec.internalAuth.controlPlane.secretRef.publicKeyKey | string | No | public.key | PublicKeyKey is the key for public key |
spec.internalAuth.dataPlane | object | No | - | DataPlane configures data plane key pair |
spec.internalAuth.dataPlane.generate | boolean | No | true | Generate enables automatic key generation |
spec.internalAuth.dataPlane.secretRef | object | No | - | SecretRef references an existing secret containing the key pair |
spec.internalAuth.dataPlane.secretRef.name | string | Yes | - | Name is the name of the secret |
spec.internalAuth.dataPlane.secretRef.privateKeyKey | string | No | private.key | PrivateKeyKey is the key for private key |
spec.internalAuth.dataPlane.secretRef.publicKeyKey | string | No | public.key | PublicKeyKey is the key for public key |
Public Exposurespec.publicExposure3 fieldsPublicExposure configures public URL exposure for sandboxes
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.publicExposure | object | No | - | PublicExposure configures public URL exposure for sandboxes |
spec.publicExposure.enabled | boolean | No | true | Enabled enables public exposure routing |
spec.publicExposure.regionId | string | No | aws-us-east-1 | RegionID is the DNS-safe region label used in public URLs. It is not the canonical multi-region tenancy identifier. |
spec.publicExposure.rootDomain | string | No | sandbox0.app | RootDomain is the root domain for public exposure URLs |
Clusterspec.cluster10 fieldsCluster configures cluster identification and capacity
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.cluster | object | No | - | Cluster configures cluster identification and capacity |
spec.cluster.capacity | object | No | - | Capacity specifies cluster resource capacity |
spec.cluster.capacity.cpu | object | No | - | CPU specifies CPU capacity |
spec.cluster.capacity.cpu.available | string | No | - | Available is the available capacity |
spec.cluster.capacity.cpu.total | string | No | - | Total is the total capacity |
spec.cluster.capacity.maxSandboxes | integer | No | - | MaxSandboxes is the maximum number of sandboxes |
spec.cluster.capacity.memory | object | No | - | Memory specifies memory capacity |
spec.cluster.capacity.memory.available | string | No | - | Available is the available capacity |
spec.cluster.capacity.memory.total | string | No | - | Total is the total capacity |
spec.cluster.id | string | Yes | - | ID is the unique Sandbox0 data-plane cluster identifier used in routing and sandbox names. It is separate from the provider cluster name and must stay short enough for sandbox name encoding. |
spec.cluster.name | string | No | - | Name is the human-readable cluster name |
Initial Admin Userspec.initUser6 fieldsInitUser configures the initial admin user
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.initUser | object | No | - | InitUser configures the initial admin user |
spec.initUser.email | string | No | - | Email is the admin user's email |
spec.initUser.homeRegionId | string | No | - | HomeRegionID is required for global-gateway init users so the bootstrap team is routable. |
spec.initUser.name | string | No | - | Name is the admin user's display name |
spec.initUser.passwordSecret | object | No | - | PasswordSecret references the secret containing the password |
spec.initUser.passwordSecret.key | string | No | password | Key is the key in the secret |
spec.initUser.passwordSecret.name | string | No | - | Name is the name of the secret |
Builtin Templatesspec.builtinTemplates281 fieldsBuiltinTemplates defines system builtin templates to seed the template store
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.builtinTemplates | array<object> | No | - | BuiltinTemplates defines system builtin templates to seed the template store |
spec.builtinTemplates[] | object | No | - | BuiltinTemplateConfig defines a system builtin template. |
spec.builtinTemplates[].description | string | No | - | - |
spec.builtinTemplates[].displayName | string | No | - | - |
spec.builtinTemplates[].image | string | No | - | - |
spec.builtinTemplates[].pool | object | No | - | BuiltinTemplatePoolConfig holds pool defaults for builtin templates. |
spec.builtinTemplates[].pool.maxIdle | integer | No | 5 | - |
spec.builtinTemplates[].pool.minIdle | integer | No | 1 | - |
spec.builtinTemplates[].spec | object | No | - | Spec optionally overrides the full template spec seeded by infra-operator. When omitted, infra-operator builds the spec from the legacy fields above and the built-in preset for the template ID. |
spec.builtinTemplates[].spec.clusterId | string | No | - | Environment configuration |
spec.builtinTemplates[].spec.description | string | No | - | Description of the template |
spec.builtinTemplates[].spec.displayName | string | No | - | - |
spec.builtinTemplates[].spec.envVars | object | No | - | Environment variables injected into the procd-managed sandbox environment. |
spec.builtinTemplates[].spec.mainContainer | object | Yes | - | MainContainer configuration (required) |
spec.builtinTemplates[].spec.mainContainer.env | array<object> | No | - | - |
spec.builtinTemplates[].spec.mainContainer.env[] | object | No | - | EnvVar represents an environment variable |
spec.builtinTemplates[].spec.mainContainer.env[].name | string | Yes | - | - |
spec.builtinTemplates[].spec.mainContainer.env[].value | string | Yes | - | - |
spec.builtinTemplates[].spec.mainContainer.image | string | Yes | - | - |
spec.builtinTemplates[].spec.mainContainer.imagePullPolicy | string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.resources | object | Yes | - | ResourceQuota defines resource quota (per template) |
spec.builtinTemplates[].spec.mainContainer.resources.cpu | integer|string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.resources.ephemeralStorage | integer|string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.resources.memory | integer|string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext | object | No | - | SecurityContext defines security context for containers |
spec.builtinTemplates[].spec.mainContainer.securityContext.allowPrivilegeEscalation | boolean | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.appArmorProfile | object | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.appArmorProfile.localhostProfile | string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.appArmorProfile.type | string | Yes | - | Allowed values: Unconfined, RuntimeDefault, Localhost. |
spec.builtinTemplates[].spec.mainContainer.securityContext.capabilities | object | No | - | Capabilities defines Linux capabilities |
spec.builtinTemplates[].spec.mainContainer.securityContext.capabilities.add | array<string> | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.capabilities.add[] | string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.capabilities.drop | array<string> | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.capabilities.drop[] | string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.privileged | boolean | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.readOnlyRootFilesystem | boolean | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.runAsGroup | integer | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.runAsNonRoot | boolean | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.runAsUser | integer | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.seccompProfile | object | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.seccompProfile.localhostProfile | string | No | - | - |
spec.builtinTemplates[].spec.mainContainer.securityContext.seccompProfile.type | string | Yes | - | Allowed values: Unconfined, RuntimeDefault, Localhost. |
spec.builtinTemplates[].spec.network | object | No | - | Template sandbox network policy and optional credential bindings. |
spec.builtinTemplates[].spec.network.credentialBindings | array<object> | No | - | CredentialBindings defines sandbox-scoped credential bindings that EgressCredentialRule entries can resolve by CredentialRef. |
spec.builtinTemplates[].spec.network.credentialBindings[] | object | No | - | CredentialBinding defines one named credential projection that outbound auth rules can reference. The binding itself does not match traffic. |
spec.builtinTemplates[].spec.network.credentialBindings[].cachePolicy | object | No | - | CachePolicy controls broker-side caching for resolved auth material. |
spec.builtinTemplates[].spec.network.credentialBindings[].cachePolicy.ttl | string | No | - | TTL overrides the default broker cache TTL for resolved auth material. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection | object | Yes | - | Projection defines how resolved source material is projected into runtime auth directives. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.httpHeaders | object | No | - | HTTPHeaders projects resolved source data into outbound HTTP headers. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.httpHeaders.headers | array<object> | No | - | Headers lists the outbound headers to synthesize. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.httpHeaders.headers[] | object | No | - | ProjectedHeader defines one projected header template. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.httpHeaders.headers[].name | string | Yes | - | Name is the outbound header name. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.httpHeaders.headers[].valueTemplate | string | Yes | - | ValueTemplate is rendered against the resolved source payload. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution | object | No | - | PlaceholderSubstitution replaces sandbox-visible placeholders at the egress boundary. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements | array<object> | No | - | Replacements lists placeholder replacement templates. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements[] | object | No | - | PlaceholderReplacement defines one placeholder replacement template. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements[].locations | array<string> | No | - | Locations limits replacement to selected HTTP request locations. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements[].locations[] | string | No | - | PlaceholderSubstitutionLocation identifies an HTTP request location. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements[].placeholder | string | Yes | - | Placeholder is the opaque sandbox-visible value to replace. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.placeholderSubstitution.replacements[].valueTemplate | string | Yes | - | ValueTemplate is rendered against the resolved source payload. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy | object | No | - | SSHProxy projects sandbox-side fake keys and upstream identity for transparent SSH proxying. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy.knownHosts | array<string> | No | - | KnownHosts contains OpenSSH known_hosts entries used to verify upstream host keys. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy.knownHosts[] | string | No | - | - |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy.sandboxPublicKeys | array<string> | No | - | SandboxPublicKeys are fake public keys accepted from sandbox-side SSH clients. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy.sandboxPublicKeys[] | string | No | - | - |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.sshProxy.upstreamUsername | string | No | - | UpstreamUsername is the username the ctld network runtime uses when authenticating to the upstream SSH server. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.tlsClientCertificate | object | No | - | TLSClientCertificate projects one client certificate for TLS re-origination. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.type | string | Yes | - | Type selects the runtime projection shape. |
spec.builtinTemplates[].spec.network.credentialBindings[].projection.usernamePassword | object | No | - | UsernamePassword projects one username/password pair into an early auth exchange. |
spec.builtinTemplates[].spec.network.credentialBindings[].ref | string | Yes | - | Ref is the stable identifier matched by EgressCredentialRule.CredentialRef. |
spec.builtinTemplates[].spec.network.credentialBindings[].sourceRef | string | Yes | - | SourceRef identifies the region-scoped credential source resolved by manager. |
spec.builtinTemplates[].spec.network.egress | object | No | - | NetworkEgressPolicy defines egress policy. In allow-all mode, denied* fields are enforced and allowed* fields are ignored. In block-all mode, allowed* fields are enforced and denied* fields are ignored. |
spec.builtinTemplates[].spec.network.egress.allowedCidrs | array<string> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.allowedCidrs[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.allowedDomains | array<string> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.allowedDomains[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.allowedPorts | array<object> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.allowedPorts[] | object | No | - | PortSpec defines a port specification |
spec.builtinTemplates[].spec.network.egress.allowedPorts[].endPort | integer | No | - | EndPort for port ranges (optional) |
spec.builtinTemplates[].spec.network.egress.allowedPorts[].port | integer | Yes | - | Port number |
spec.builtinTemplates[].spec.network.egress.allowedPorts[].protocol | string | No | - | Protocol (tcp or udp) |
spec.builtinTemplates[].spec.network.egress.credentialRules | array<object> | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[] | object | No | - | EgressCredentialRule defines a credential injection rule matched against outbound traffic. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].credentialRef | string | Yes | - | CredentialRef identifies the binding ref resolved by the runtime egress auth resolver when this traffic rule matches. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].domains | array<string> | No | - | Domains matches outbound destinations by DNS name or wildcard suffix. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].domains[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].failurePolicy | string | No | - | FailurePolicy controls whether the ctld network runtime should fail-open or fail-closed when auth material cannot be enforced. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch | object | No | - | HTTPMatch constrains HTTP-family credential injection to request attributes. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers | array<object> | No | - | Headers matches HTTP request headers. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers[] | object | No | - | HTTPValueMatch defines one header or query parameter matcher. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers[].name | string | Yes | - | Name is the header or query parameter name. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers[].present | boolean | No | - | Present controls presence-only matching when Values is empty. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers[].values | array<string> | No | - | Values matches any one value. Empty with Present=true only requires presence. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.headers[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.methods | array<string> | No | - | Methods matches HTTP methods. Values are normalized to uppercase. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.methods[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.pathPrefixes | array<string> | No | - | PathPrefixes matches URL path prefixes. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.pathPrefixes[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.paths | array<string> | No | - | Paths matches exact URL paths. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.paths[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query | array<object> | No | - | Query matches decoded query parameters. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query[] | object | No | - | HTTPValueMatch defines one header or query parameter matcher. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query[].name | string | Yes | - | Name is the header or query parameter name. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query[].present | boolean | No | - | Present controls presence-only matching when Values is empty. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query[].values | array<string> | No | - | Values matches any one value. Empty with Present=true only requires presence. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].httpMatch.query[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.credentialRules[].name | string | No | - | Name is an optional stable identifier used for merge and replacement. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].ports | array<object> | No | - | Ports constrains the rule to specific ports/protocols. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].ports[] | object | No | - | PortSpec defines a port specification |
spec.builtinTemplates[].spec.network.egress.credentialRules[].ports[].endPort | integer | No | - | EndPort for port ranges (optional) |
spec.builtinTemplates[].spec.network.egress.credentialRules[].ports[].port | integer | Yes | - | Port number |
spec.builtinTemplates[].spec.network.egress.credentialRules[].ports[].protocol | string | No | - | Protocol (tcp or udp) |
spec.builtinTemplates[].spec.network.egress.credentialRules[].protocol | string | No | - | Protocol is the intended application protocol for the rule. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].rollout | string | No | - | Rollout controls whether this rule is active. Empty defaults to enabled. |
spec.builtinTemplates[].spec.network.egress.credentialRules[].tlsMode | string | No | - | TLSMode indicates whether the ctld network runtime should intercept TLS for matching flows. |
spec.builtinTemplates[].spec.network.egress.deniedCidrs | array<string> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.deniedCidrs[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.deniedDomains | array<string> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.deniedDomains[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.deniedPorts | array<object> | No | - | Deprecated: use TrafficRules instead. |
spec.builtinTemplates[].spec.network.egress.deniedPorts[] | object | No | - | PortSpec defines a port specification |
spec.builtinTemplates[].spec.network.egress.deniedPorts[].endPort | integer | No | - | EndPort for port ranges (optional) |
spec.builtinTemplates[].spec.network.egress.deniedPorts[].port | integer | Yes | - | Port number |
spec.builtinTemplates[].spec.network.egress.deniedPorts[].protocol | string | No | - | Protocol (tcp or udp) |
spec.builtinTemplates[].spec.network.egress.protocolRules | array<object> | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[] | object | No | - | ProtocolRule defines protocol-aware controls applied after traffic is allowed. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].domains | array<string> | No | - | Domains matches outbound destinations by DNS name or wildcard suffix. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].domains[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http | object | No | - | HTTP configures HTTP request policy. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.methods | object | No | - | Methods controls HTTP methods. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.methods.allowed | array<string> | No | - | Allowed permits only listed methods when non-empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.methods.allowed[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.methods.denied | array<string> | No | - | Denied blocks listed methods before evaluating Allowed. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.methods.denied[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths | object | No | - | Paths controls URL paths. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.allowed | array<string> | No | - | Allowed permits only listed exact paths when any allowed path list is non-empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.allowed[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.allowedPrefixes | array<string> | No | - | AllowedPrefixes permits only paths with listed prefixes when any allowed path list is non-empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.allowedPrefixes[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.denied | array<string> | No | - | Denied blocks listed exact paths before evaluating Allowed. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.denied[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.deniedPrefixes | array<string> | No | - | DeniedPrefixes blocks paths with listed prefixes before evaluating Allowed. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].http.paths.deniedPrefixes[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch | object | No | - | HTTPMatch constrains HTTP-carried protocol rules to request attributes. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers | array<object> | No | - | Headers matches HTTP request headers. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers[] | object | No | - | HTTPValueMatch defines one header or query parameter matcher. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers[].name | string | Yes | - | Name is the header or query parameter name. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers[].present | boolean | No | - | Present controls presence-only matching when Values is empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers[].values | array<string> | No | - | Values matches any one value. Empty with Present=true only requires presence. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.headers[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.methods | array<string> | No | - | Methods matches HTTP methods. Values are normalized to uppercase. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.methods[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.pathPrefixes | array<string> | No | - | PathPrefixes matches URL path prefixes. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.pathPrefixes[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.paths | array<string> | No | - | Paths matches exact URL paths. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.paths[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query | array<object> | No | - | Query matches decoded query parameters. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query[] | object | No | - | HTTPValueMatch defines one header or query parameter matcher. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query[].name | string | Yes | - | Name is the header or query parameter name. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query[].present | boolean | No | - | Present controls presence-only matching when Values is empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query[].values | array<string> | No | - | Values matches any one value. Empty with Present=true only requires presence. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].httpMatch.query[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp | object | No | - | MCP configures Model Context Protocol operation policy. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp.tools | object | No | - | Tools controls MCP tools/call requests. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp.tools.allowed | array<string> | No | - | Allowed permits only listed tools when non-empty. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp.tools.allowed[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp.tools.denied | array<string> | No | - | Denied blocks listed tools before evaluating Allowed. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].mcp.tools.denied[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.protocolRules[].name | string | No | - | Name is an optional stable identifier used for merge and replacement. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].ports | array<object> | No | - | Ports constrains the rule to specific ports/protocols. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].ports[] | object | No | - | PortSpec defines a port specification |
spec.builtinTemplates[].spec.network.egress.protocolRules[].ports[].endPort | integer | No | - | EndPort for port ranges (optional) |
spec.builtinTemplates[].spec.network.egress.protocolRules[].ports[].port | integer | Yes | - | Port number |
spec.builtinTemplates[].spec.network.egress.protocolRules[].ports[].protocol | string | No | - | Protocol (tcp or udp) |
spec.builtinTemplates[].spec.network.egress.protocolRules[].protocol | string | Yes | - | Protocol selects the protocol adapter for this rule. |
spec.builtinTemplates[].spec.network.egress.protocolRules[].tlsMode | string | No | - | TLSMode controls whether the ctld network runtime must terminate TLS to inspect this protocol. |
spec.builtinTemplates[].spec.network.egress.proxy | object | No | - | EgressProxyPolicy configures a transparent egress proxy for allowed TCP traffic. |
spec.builtinTemplates[].spec.network.egress.proxy.address | string | Yes | - | Address is the proxy endpoint in host:port form. |
spec.builtinTemplates[].spec.network.egress.proxy.credentialRef | string | No | - | CredentialRef optionally references a username_password credential binding. |
spec.builtinTemplates[].spec.network.egress.proxy.type | string | Yes | - | Type selects the proxy protocol. The first version supports SOCKS5 only. |
spec.builtinTemplates[].spec.network.egress.trafficRules | array<object> | No | - | - |
spec.builtinTemplates[].spec.network.egress.trafficRules[] | object | No | - | TrafficRule defines one ordered egress allow/deny matcher. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].action | string | Yes | - | Action defines whether matching traffic is allowed or denied. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].appProtocols | array<string> | No | - | AppProtocols constrains the rule to classified application protocols. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].appProtocols[] | string | No | - | TrafficRuleAppProtocol defines the classified application protocol matched by one traffic rule. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].cidrs | array<string> | No | - | CIDRs matches outbound destinations by IP range. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].cidrs[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.trafficRules[].domains | array<string> | No | - | Domains matches outbound destinations by DNS name or wildcard suffix. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].domains[] | string | No | - | - |
spec.builtinTemplates[].spec.network.egress.trafficRules[].name | string | No | - | Name is an optional stable identifier used for merge and replacement. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].ports | array<object> | No | - | Ports constrains the rule to specific ports/protocols. |
spec.builtinTemplates[].spec.network.egress.trafficRules[].ports[] | object | No | - | PortSpec defines a port specification |
spec.builtinTemplates[].spec.network.egress.trafficRules[].ports[].endPort | integer | No | - | EndPort for port ranges (optional) |
spec.builtinTemplates[].spec.network.egress.trafficRules[].ports[].port | integer | Yes | - | Port number |
spec.builtinTemplates[].spec.network.egress.trafficRules[].ports[].protocol | string | No | - | Protocol (tcp or udp) |
spec.builtinTemplates[].spec.network.mode | string | Yes | - | NetworkPolicyMode defines network policy mode |
spec.builtinTemplates[].spec.pod | object | No | - | Pod-level configuration |
spec.builtinTemplates[].spec.pod.affinity | object | No | - | Affinity defines pod affinity rules |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity | object | No | - | NodeAffinity defines node affinity rules |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[] | object | No | - | PreferredSchedulingTerm defines preferred scheduling term |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference | object | Yes | - | NodeSelectorTerm defines node selector term |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[] | object | No | - | NodeSelectorRequirement defines node selector requirement |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[] | object | No | - | NodeSelectorRequirement defines node selector requirement |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].weight | integer | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution | object | No | - | NodeSelector defines node selector |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms | array<object> | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[] | object | No | - | NodeSelectorTerm defines node selector term |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[] | object | No | - | NodeSelectorRequirement defines node selector requirement |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[] | object | No | - | NodeSelectorRequirement defines node selector requirement |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity | object | No | - | PodAffinity defines pod affinity rules |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[] | object | No | - | WeightedPodAffinityTerm defines weighted pod affinity term |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm | object | Yes | - | PodAffinityTerm defines pod affinity term |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector | object | No | - | LabelSelector defines label selector |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[] | object | No | - | LabelSelectorRequirement defines label selector requirement |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchLabels | object | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.topologyKey | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].weight | integer | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[] | object | No | - | PodAffinityTerm defines pod affinity term |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector | object | No | - | LabelSelector defines label selector |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[] | object | No | - | LabelSelectorRequirement defines label selector requirement |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].key | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].operator | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchLabels | object | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces | array<string> | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces[] | string | No | - | - |
spec.builtinTemplates[].spec.pod.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].topologyKey | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.emptyDirMounts | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.emptyDirMounts[] | object | No | - | EmptyDirMountSpec declares an ephemeral Kubernetes emptyDir mount for the main sandbox container. |
spec.builtinTemplates[].spec.pod.emptyDirMounts[].mountPath | string | Yes | - | - |
spec.builtinTemplates[].spec.pod.emptyDirMounts[].sizeLimit | integer|string | No | - | - |
spec.builtinTemplates[].spec.pod.nodeSelector | object | No | - | - |
spec.builtinTemplates[].spec.pod.serviceAccountName | string | No | - | - |
spec.builtinTemplates[].spec.pod.tolerations | array<object> | No | - | - |
spec.builtinTemplates[].spec.pod.tolerations[] | object | No | - | Toleration defines pod toleration |
spec.builtinTemplates[].spec.pod.tolerations[].effect | string | No | - | - |
spec.builtinTemplates[].spec.pod.tolerations[].key | string | No | - | - |
spec.builtinTemplates[].spec.pod.tolerations[].operator | string | No | - | - |
spec.builtinTemplates[].spec.pod.tolerations[].value | string | No | - | - |
spec.builtinTemplates[].spec.pool | object | Yes | - | Pool strategy |
spec.builtinTemplates[].spec.pool.maxIdle | integer | Yes | - | - |
spec.builtinTemplates[].spec.pool.minIdle | integer | Yes | - | - |
spec.builtinTemplates[].spec.tags | array<string> | No | - | - |
spec.builtinTemplates[].spec.tags[] | string | No | - | - |
spec.builtinTemplates[].spec.volumeMounts | array<object> | No | - | VolumeMounts declares the fixed sandbox volume portal mount points that can be bound to concrete SandboxVolumes when a sandbox is claimed. |
spec.builtinTemplates[].spec.volumeMounts[] | object | No | - | - |
spec.builtinTemplates[].spec.volumeMounts[].mountPath | string | Yes | - | - |
spec.builtinTemplates[].spec.volumeMounts[].name | string | Yes | - | - |
spec.builtinTemplates[].spec.volumeMounts[].readOnly | boolean | No | - | - |
spec.builtinTemplates[].templateId | string | Yes | - | - |
Sandbox Node Placementspec.sandboxNodePlacement8 fieldsSandboxNodePlacement configures the shared node placement used by
sandbox workloads and node-local sandbox services.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.sandboxNodePlacement | object | No | - | SandboxNodePlacement configures the shared node placement used by sandbox workloads and node-local sandbox services. |
spec.sandboxNodePlacement.nodeSelector | object | No | - | NodeSelector constrains sandbox workloads and node-local sandbox services onto a specific node set. |
spec.sandboxNodePlacement.tolerations | array<object> | No | - | Tolerations allow sandbox workloads and node-local sandbox services to run on tainted sandbox nodes. |
spec.sandboxNodePlacement.tolerations[] | object | No | - | The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>. |
spec.sandboxNodePlacement.tolerations[].effect | string | No | - | Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. |
spec.sandboxNodePlacement.tolerations[].key | string | No | - | Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. |
spec.sandboxNodePlacement.tolerations[].operator | string | No | - | Operator represents a key's relationship to the value. Valid operators are Exists, Equal, Lt, and Gt. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. Lt and Gt perform numeric comparisons (requires feature gate TaintTolerationComparisonOperators). |
spec.sandboxNodePlacement.tolerations[].tolerationSeconds | integer | No | - | TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. |
spec.sandboxNodePlacement.tolerations[].value | string | No | - | Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. |
Service: regionalGatewayspec.services.regionalGateway79 fieldsRegionalGateway configures the regional-gateway service (control plane)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.services.regionalGateway | object | No | - | RegionalGateway configures the regional-gateway service (control plane) |
spec.services.regionalGateway.config | object | No | - | Config contains regional-gateway specific configuration |
spec.services.regionalGateway.config.authMode | string | No | self_hosted | Allowed values: self_hosted, federated_global. |
spec.services.regionalGateway.config.baseUrl | string | No | http://localhost:8080 | BaseURL sets the external base URL used by browser-facing auth flows. |
spec.services.regionalGateway.config.builtInAuth | object | No | - | BuiltInAuth configures local email/password authentication. |
spec.services.regionalGateway.config.builtInAuth.adminOnly | boolean | No | - | AdminOnly restricts built-in auth to admin accounts only. |
spec.services.regionalGateway.config.builtInAuth.allowRegistration | boolean | No | - | AllowRegistration allows new users to register. |
spec.services.regionalGateway.config.builtInAuth.emailVerificationRequired | boolean | No | - | EmailVerificationRequired requires email verification. |
spec.services.regionalGateway.config.builtInAuth.enabled | boolean | No | true | Enabled enables built-in email/password authentication. |
spec.services.regionalGateway.config.clusterCacheTtl | string | No | 30s | - |
spec.services.regionalGateway.config.databaseMaxConns | integer | No | 30 | - |
spec.services.regionalGateway.config.databaseMinConns | integer | No | 8 | - |
spec.services.regionalGateway.config.defaultTeamName | string | No | Personal Team | Identity and Teams |
spec.services.regionalGateway.config.edition | string | No | self-hosted | - |
spec.services.regionalGateway.config.httpPort | integer | No | 8080 | - |
spec.services.regionalGateway.config.internalAuthCaller | string | No | regional-gateway | - |
spec.services.regionalGateway.config.internalAuthTtl | string | No | 30s | - |
spec.services.regionalGateway.config.jwtAccessTokenTTL | string | No | 15m | - |
spec.services.regionalGateway.config.jwtIssuer | string | No | - | JWTIssuer sets the JWT issuer for gateway-issued tokens. |
spec.services.regionalGateway.config.jwtPrivateKeyFile | string | No | - | JWTPrivateKeyFile points at a PEM-encoded Ed25519 private key file used to sign user-facing JWTs. |
spec.services.regionalGateway.config.jwtPrivateKeyPEM | string | No | - | JWTPrivateKeyPEM sets the PEM-encoded Ed25519 private key used to sign user-facing JWTs. |
spec.services.regionalGateway.config.jwtPublicKeyFile | string | No | - | JWTPublicKeyFile points at a PEM-encoded Ed25519 public key file used to verify user-facing JWTs. |
spec.services.regionalGateway.config.jwtPublicKeyPEM | string | No | - | JWTPublicKeyPEM sets the PEM-encoded Ed25519 public key used to verify user-facing JWTs. |
spec.services.regionalGateway.config.jwtRefreshTokenTTL | string | No | 168h | - |
spec.services.regionalGateway.config.logLevel | string | No | info | - |
spec.services.regionalGateway.config.oidcProviders | array<object> | No | - | OIDCProviders configures external identity providers. |
spec.services.regionalGateway.config.oidcProviders[] | object | No | - | OIDCProviderConfig configures an OIDC identity provider. |
spec.services.regionalGateway.config.oidcProviders[].autoProvision | boolean | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].clientId | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].clientSecret | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].discoveryUrl | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].enabled | boolean | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].externalAuthPortalUrl | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].id | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].name | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].scopes | array<string> | No | [openid, email, profile] | - |
spec.services.regionalGateway.config.oidcProviders[].scopes[] | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].teamMapping | object | No | - | TeamMappingConfig configures automatic team mapping for OIDC users. |
spec.services.regionalGateway.config.oidcProviders[].teamMapping.defaultRole | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].teamMapping.defaultTeamId | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].teamMapping.domain | string | No | - | - |
spec.services.regionalGateway.config.oidcProviders[].tokenEndpointAuthMethod | string | No | - | - |
spec.services.regionalGateway.config.oidcStateCleanupInterval | string | No | 5m | - |
spec.services.regionalGateway.config.oidcStateTtl | string | No | 10m | - |
spec.services.regionalGateway.config.proxyTimeout | string | No | 10s | - |
spec.services.regionalGateway.config.rateLimitBurst | integer | No | 200 | - |
spec.services.regionalGateway.config.rateLimitCleanupInterval | string | No | 10m | - |
spec.services.regionalGateway.config.rateLimitRps | integer | No | 100 | Rate limiting |
spec.services.regionalGateway.config.schedulerEnabled | boolean | No | - | - |
spec.services.regionalGateway.config.schedulerUrl | string | No | - | - |
spec.services.regionalGateway.config.serverIdleTimeout | string | No | 120s | - |
spec.services.regionalGateway.config.serverReadTimeout | string | No | 30s | - |
spec.services.regionalGateway.config.serverWriteTimeout | string | No | 60s | - |
spec.services.regionalGateway.config.shutdownTimeout | string | No | 30s | - |
spec.services.regionalGateway.enabled | boolean | No | false | Enabled enables or disables the service |
spec.services.regionalGateway.ingress | object | No | - | Ingress configures ingress settings |
spec.services.regionalGateway.ingress.annotations | object | No | - | Annotations specifies provider-specific ingress annotations. |
spec.services.regionalGateway.ingress.className | string | No | - | ClassName specifies the ingress class name |
spec.services.regionalGateway.ingress.enabled | boolean | No | false | Enabled enables ingress |
spec.services.regionalGateway.ingress.extraHosts | array<string> | No | - | ExtraHosts specifies additional ingress hosts routed to the same backend. |
spec.services.regionalGateway.ingress.extraHosts[] | string | No | - | - |
spec.services.regionalGateway.ingress.host | string | No | - | Host specifies the ingress host |
spec.services.regionalGateway.ingress.tls | array<object> | No | - | TLS specifies host groups and their backing TLS secrets. When set, TLS takes precedence over TLSSecret. |
spec.services.regionalGateway.ingress.tls[] | object | No | - | IngressTLSConfig defines one TLS certificate binding for ingress hosts. |
spec.services.regionalGateway.ingress.tls[].hosts | array<string> | No | - | Hosts specifies the hosts covered by this TLS secret. |
spec.services.regionalGateway.ingress.tls[].hosts[] | string | No | - | - |
spec.services.regionalGateway.ingress.tls[].secretName | string | No | - | SecretName specifies the Kubernetes TLS secret name. |
spec.services.regionalGateway.ingress.tlsSecret | string | No | - | TLSSecret specifies the TLS secret name |
spec.services.regionalGateway.replicas | integer | No | 1 | Replicas specifies the number of replicas |
spec.services.regionalGateway.resources | object | No | - | Resources specifies resource requirements |
spec.services.regionalGateway.resources.claims | array<object> | No | - | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
spec.services.regionalGateway.resources.claims[] | object | No | - | ResourceClaim references one entry in PodSpec.ResourceClaims. |
spec.services.regionalGateway.resources.claims[].name | string | Yes | - | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
spec.services.regionalGateway.resources.claims[].request | string | No | - | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
spec.services.regionalGateway.resources.limits | object | No | - | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.regionalGateway.resources.requests | object | No | - | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.regionalGateway.service | object | No | - | Service configures the Kubernetes service |
spec.services.regionalGateway.service.annotations | object | No | - | Annotations declares Service metadata annotations. Use this for cloud-provider specific load balancer configuration such as ACM certificate attachment on AWS. |
spec.services.regionalGateway.service.port | integer | No | 80 | Port specifies the service port |
spec.services.regionalGateway.service.type | string | No | ClusterIP | Type specifies the service type |
Service: schedulerspec.services.scheduler28 fieldsScheduler configures the scheduler service (control plane)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.services.scheduler | object | No | - | Scheduler configures the scheduler service (control plane) |
spec.services.scheduler.config | object | No | - | Config contains scheduler specific configuration |
spec.services.scheduler.config.databasePool | object | No | - | DatabasePoolConfig defines scheduler database pool settings. |
spec.services.scheduler.config.databasePool.maxConnIdleTime | string | No | 5m | - |
spec.services.scheduler.config.databasePool.maxConnLifetime | string | No | 30m | - |
spec.services.scheduler.config.databasePool.maxConns | integer | No | 10 | - |
spec.services.scheduler.config.databasePool.minConns | integer | No | 2 | - |
spec.services.scheduler.config.httpPort | integer | No | 8080 | - |
spec.services.scheduler.config.idleTimeout | string | No | 120s | - |
spec.services.scheduler.config.logLevel | string | No | info | - |
spec.services.scheduler.config.podsPerNode | integer | No | 50 | - |
spec.services.scheduler.config.proxyTimeout | string | No | 10s | - |
spec.services.scheduler.config.readTimeout | string | No | 30s | - |
spec.services.scheduler.config.reconcileInterval | string | No | 30s | - |
spec.services.scheduler.config.shutdownTimeout | string | No | 30s | - |
spec.services.scheduler.config.writeTimeout | string | No | 60s | - |
spec.services.scheduler.enabled | boolean | No | false | Enabled enables or disables the service |
spec.services.scheduler.replicas | integer | No | 1 | Replicas specifies the number of replicas |
spec.services.scheduler.resources | object | No | - | Resources specifies resource requirements |
spec.services.scheduler.resources.claims | array<object> | No | - | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
spec.services.scheduler.resources.claims[] | object | No | - | ResourceClaim references one entry in PodSpec.ResourceClaims. |
spec.services.scheduler.resources.claims[].name | string | Yes | - | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
spec.services.scheduler.resources.claims[].request | string | No | - | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
spec.services.scheduler.resources.limits | object | No | - | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.scheduler.resources.requests | object | No | - | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.scheduler.service | object | No | - | Service configures the Kubernetes service |
spec.services.scheduler.service.annotations | object | No | - | Annotations declares Service metadata annotations. Use this for cloud-provider specific load balancer configuration such as ACM certificate attachment on AWS. |
spec.services.scheduler.service.port | integer | No | 80 | Port specifies the service port |
spec.services.scheduler.service.type | string | No | ClusterIP | Type specifies the service type |
Service: clusterGatewayspec.services.clusterGateway62 fieldsClusterGateway configures the cluster-gateway service (data plane)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.services.clusterGateway | object | No | - | ClusterGateway configures the cluster-gateway service (data plane) |
spec.services.clusterGateway.config | object | No | - | Config contains cluster-gateway specific configuration |
spec.services.clusterGateway.config.allowedCallers | array<string> | No | [regional-gateway, scheduler, cluster-gateway] | - |
spec.services.clusterGateway.config.allowedCallers[] | string | No | - | - |
spec.services.clusterGateway.config.authMode | string | No | internal | Allowed values: internal, public, both. |
spec.services.clusterGateway.config.baseUrl | string | No | http://localhost:8080 | BaseURL sets the external base URL used by browser-facing auth flows. |
spec.services.clusterGateway.config.builtInAuth | object | No | - | BuiltInAuth configures local email/password authentication. |
spec.services.clusterGateway.config.builtInAuth.adminOnly | boolean | No | - | AdminOnly restricts built-in auth to admin accounts only. |
spec.services.clusterGateway.config.builtInAuth.allowRegistration | boolean | No | - | AllowRegistration allows new users to register. |
spec.services.clusterGateway.config.builtInAuth.emailVerificationRequired | boolean | No | - | EmailVerificationRequired requires email verification. |
spec.services.clusterGateway.config.builtInAuth.enabled | boolean | No | true | Enabled enables built-in email/password authentication. |
spec.services.clusterGateway.config.databaseMaxConns | integer | No | 30 | - |
spec.services.clusterGateway.config.databaseMinConns | integer | No | 8 | - |
spec.services.clusterGateway.config.defaultTeamName | string | No | Personal Team | Identity and Teams |
spec.services.clusterGateway.config.healthCheckPeriod | string | No | 10s | - |
spec.services.clusterGateway.config.httpPort | integer | No | 8443 | - |
spec.services.clusterGateway.config.jwtAccessTokenTTL | string | No | 15m | - |
spec.services.clusterGateway.config.jwtIssuer | string | No | - | JWTIssuer sets the JWT issuer for gateway-issued tokens. |
spec.services.clusterGateway.config.jwtPrivateKeyFile | string | No | - | JWTPrivateKeyFile points at a PEM-encoded Ed25519 private key file used to sign user-facing JWTs. |
spec.services.clusterGateway.config.jwtPrivateKeyPEM | string | No | - | JWTPrivateKeyPEM sets the PEM-encoded Ed25519 private key used to sign user-facing JWTs. |
spec.services.clusterGateway.config.jwtPublicKeyFile | string | No | - | JWTPublicKeyFile points at a PEM-encoded Ed25519 public key file used to verify user-facing JWTs. |
spec.services.clusterGateway.config.jwtPublicKeyPEM | string | No | - | JWTPublicKeyPEM sets the PEM-encoded Ed25519 public key used to verify user-facing JWTs. |
spec.services.clusterGateway.config.jwtRefreshTokenTTL | string | No | 168h | - |
spec.services.clusterGateway.config.logLevel | string | No | info | - |
spec.services.clusterGateway.config.oidcProviders | array<object> | No | - | OIDCProviders configures external identity providers. |
spec.services.clusterGateway.config.oidcProviders[] | object | No | - | OIDCProviderConfig configures an OIDC identity provider. |
spec.services.clusterGateway.config.oidcProviders[].autoProvision | boolean | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].clientId | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].clientSecret | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].discoveryUrl | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].enabled | boolean | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].externalAuthPortalUrl | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].id | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].name | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].scopes | array<string> | No | [openid, email, profile] | - |
spec.services.clusterGateway.config.oidcProviders[].scopes[] | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].teamMapping | object | No | - | TeamMappingConfig configures automatic team mapping for OIDC users. |
spec.services.clusterGateway.config.oidcProviders[].teamMapping.defaultRole | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].teamMapping.defaultTeamId | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].teamMapping.domain | string | No | - | - |
spec.services.clusterGateway.config.oidcProviders[].tokenEndpointAuthMethod | string | No | - | - |
spec.services.clusterGateway.config.oidcStateCleanupInterval | string | No | 5m | - |
spec.services.clusterGateway.config.oidcStateTtl | string | No | 10m | - |
spec.services.clusterGateway.config.proxyTimeout | string | No | 10s | - |
spec.services.clusterGateway.config.rateLimitBurst | integer | No | 200 | - |
spec.services.clusterGateway.config.rateLimitCleanupInterval | string | No | 10m | - |
spec.services.clusterGateway.config.rateLimitRps | integer | No | 100 | Rate limiting |
spec.services.clusterGateway.config.schedulerPermissions | array<string> | No | [*:*] | - |
spec.services.clusterGateway.config.schedulerPermissions[] | string | No | - | - |
spec.services.clusterGateway.config.shutdownTimeout | string | No | 30s | - |
spec.services.clusterGateway.enabled | boolean | No | false | Enabled enables or disables the service |
spec.services.clusterGateway.replicas | integer | No | 1 | Replicas specifies the number of replicas |
spec.services.clusterGateway.resources | object | No | - | Resources specifies resource requirements |
spec.services.clusterGateway.resources.claims | array<object> | No | - | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
spec.services.clusterGateway.resources.claims[] | object | No | - | ResourceClaim references one entry in PodSpec.ResourceClaims. |
spec.services.clusterGateway.resources.claims[].name | string | Yes | - | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
spec.services.clusterGateway.resources.claims[].request | string | No | - | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
spec.services.clusterGateway.resources.limits | object | No | - | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.clusterGateway.resources.requests | object | No | - | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.clusterGateway.service | object | No | - | Service configures the Kubernetes service |
spec.services.clusterGateway.service.annotations | object | No | - | Annotations declares Service metadata annotations. Use this for cloud-provider specific load balancer configuration such as ACM certificate attachment on AWS. |
spec.services.clusterGateway.service.port | integer | No | 80 | Port specifies the service port |
spec.services.clusterGateway.service.type | string | No | ClusterIP | Type specifies the service type |
Service: managerspec.services.manager71 fieldsManager configures the manager service (data plane)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
spec.services.manager | object | No | - | Manager configures the manager service (data plane) |
spec.services.manager.config | object | No | - | Config contains manager specific configuration |
spec.services.manager.config.allowColdStartWithoutReadyDataPlane | boolean | No | - | AllowColdStartWithoutReadyDataPlane lets cold claims create Pending pods when no sandbox data-plane-ready nodes exist yet. This is required for node autoscaler scale-from-zero deployments. |
spec.services.manager.config.autoscaler | object | No | - | AutoscalerConfig defines manager autoscaler settings. |
spec.services.manager.config.autoscaler.maxScaleStep | integer | No | 10 | - |
spec.services.manager.config.autoscaler.minIdleBuffer | integer | No | 2 | - |
spec.services.manager.config.autoscaler.minScaleInterval | string | No | 100ms | - |
spec.services.manager.config.autoscaler.noTrafficScaleDownAfter | string | No | 10m | - |
spec.services.manager.config.autoscaler.scaleDownPercent | string | No | 0.1 | - |
spec.services.manager.config.autoscaler.scaleUpFactor | string | No | 1.5 | - |
spec.services.manager.config.autoscaler.targetIdleRatio | string | No | 0.2 | - |
spec.services.manager.config.cleanupInterval | string | No | 60s | - |
spec.services.manager.config.databaseMaxConns | integer | No | 10 | - |
spec.services.manager.config.databaseMinConns | integer | No | 2 | - |
spec.services.manager.config.defaultSandboxTtl | string | No | 0s | - |
spec.services.manager.config.defaultTeamQuotas | array<object> | No | - | DefaultTeamQuotas declaratively reconciles region-wide quota defaults. Team-specific database policies override these defaults. |
spec.services.manager.config.defaultTeamQuotas[] | object | No | - | TeamQuotaLimitConfig configures a region default for teams without an override for the same dimension. |
spec.services.manager.config.defaultTeamQuotas[].burstValue | integer | No | - | BurstValue is the maximum immediately available tokens for a rate quota. |
spec.services.manager.config.defaultTeamQuotas[].dimension | string | Yes | - | Allowed values: active_sandboxes, sandbox_claims, volume_storage_gb, snapshot_storage_gb, api_requests, network_egress_bytes, network_ingress_bytes. |
spec.services.manager.config.defaultTeamQuotas[].intervalMs | integer | No | - | IntervalMS is the token refill interval for rate quotas and is omitted for capacity quotas. |
spec.services.manager.config.defaultTeamQuotas[].limitValue | integer | Yes | - | - |
spec.services.manager.config.egressAuthDefaultResolveTtl | string | No | 5m | EgressAuthDefaultResolveTTL controls the default lifetime of resolved egress auth material cached by the ctld network runtime when a binding does not set cachePolicy.ttl. |
spec.services.manager.config.httpPort | integer | No | 8080 | - |
spec.services.manager.config.k8sClientBurst | integer | No | 100 | - |
spec.services.manager.config.k8sClientQps | integer | No | 50 | - |
spec.services.manager.config.kubeConfig | string | No | - | - |
spec.services.manager.config.leaderElection | boolean | No | true | - |
spec.services.manager.config.logLevel | string | No | info | - |
spec.services.manager.config.metricsPort | integer | No | 9090 | - |
spec.services.manager.config.netdPolicyApplyPollInterval | string | No | 500ms | - |
spec.services.manager.config.netdPolicyApplyTimeout | string | No | 30s | - |
spec.services.manager.config.pauseMemoryBufferRatio | string | No | 1.1 | - |
spec.services.manager.config.pauseMinCpu | string | No | 10m | - |
spec.services.manager.config.pauseMinMemoryLimit | string | No | 32Mi | - |
spec.services.manager.config.pauseMinMemoryRequest | string | No | 10Mi | - |
spec.services.manager.config.procdBinImageRef | string | No | - | ProcdBinImageRef overrides the OCI image used for the procd binary image volume. |
spec.services.manager.config.procdClientTimeout | string | No | 30s | - |
spec.services.manager.config.procdConfig | object | No | - | ProcdConfig defines user-facing procd settings managed by manager. |
spec.services.manager.config.procdConfig.contextCleanupInterval | string | No | 30s | - |
spec.services.manager.config.procdConfig.contextFinishedTtl | string | No | 0s | - |
spec.services.manager.config.procdConfig.contextIdleTimeout | string | No | 0s | - |
spec.services.manager.config.procdConfig.contextMaxLifetime | string | No | 0s | - |
spec.services.manager.config.procdConfig.httpPort | integer | No | 49983 | - |
spec.services.manager.config.procdConfig.logLevel | string | No | info | - |
spec.services.manager.config.procdConfig.rootPath | string | No | /workspace | - |
spec.services.manager.config.procdConfig.webhookBaseBackoff | string | No | 500ms | - |
spec.services.manager.config.procdConfig.webhookMaxRetries | integer | No | 3 | - |
spec.services.manager.config.procdConfig.webhookOutboxDir | string | No | - | - |
spec.services.manager.config.procdConfig.webhookQueueSize | integer | No | 256 | - |
spec.services.manager.config.procdConfig.webhookRequestTimeout | string | No | 5s | - |
spec.services.manager.config.procdInitTimeout | string | No | 6s | - |
spec.services.manager.config.resyncPeriod | string | No | 30s | - |
spec.services.manager.config.sandboxMaxMemory | string | No | 32Gi | SandboxMaxMemory is the maximum memory limit accepted for a single sandbox. |
spec.services.manager.config.sandboxRuntimeClassName | string | No | - | - |
spec.services.manager.config.shutdownTimeout | string | No | 30s | - |
spec.services.manager.config.teamTemplateMemoryPerCpu | string | No | 4Gi | - |
spec.services.manager.config.webhookCertPath | string | No | /tmp/k8s-webhook-server/serving-certs/tls.crt | - |
spec.services.manager.config.webhookKeyPath | string | No | /tmp/k8s-webhook-server/serving-certs/tls.key | - |
spec.services.manager.config.webhookPort | integer | No | 9443 | - |
spec.services.manager.enabled | boolean | No | false | Enabled enables or disables the service |
spec.services.manager.replicas | integer | No | 1 | Replicas specifies the number of replicas |
spec.services.manager.resources | object | No | - | Resources specifies resource requirements |
spec.services.manager.resources.claims | array<object> | No | - | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers. |
spec.services.manager.resources.claims[] | object | No | - | ResourceClaim references one entry in PodSpec.ResourceClaims. |
spec.services.manager.resources.claims[].name | string | Yes | - | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
spec.services.manager.resources.claims[].request | string | No | - | Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. |
spec.services.manager.resources.limits | object | No | - | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.manager.resources.requests | object | No | - | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
spec.services.manager.service | object | No | - | Service configures the Kubernetes service |
spec.services.manager.service.annotations | object | No | - | Annotations declares Service metadata annotations. Use this for cloud-provider specific load balancer configuration such as ACM certificate attachment on AWS. |
spec.services.manager.service.port | integer | No | 80 | Port specifies the service port |
spec.services.manager.service.type | string | No | ClusterIP | Type specifies the service type |
Practical Rules#
- Pin the
infra-operatorchart version in production instead of relying on floating tags. - Prefer external PostgreSQL and external object storage for serious deployments.
- Configure
spec.storageandspec.storage.runtimefor volume and snapshot features. - Configure
spec.networkfor sandbox network policy; enforcement runs in the active ctld process on Linux nodes. - Use
sandboxNodePlacementto keep sandbox workloads and the node-local ctld pair on the same node set. - Treat
sandbox0.ai/data-plane-readyas operator-owned; use your own labels undersandboxNodePlacementand letinfra-operatormanage readiness. - If sandbox workloads use
gvisororkata, keep ctld on a host-compatible runtime such as the cluster default runtime. services.manager.config.sandboxRuntimeClassNamereferences an existing KubernetesRuntimeClass; it does not install the node-level containerd handler.- Keep control-plane and data-plane components in the same storage and latency domain for a given region.
Next Steps#
Overview
Start with the product shape, core services, and where each API surface fits.