ProkrustPolicy
Configures Prokrust admission, authorization, and execution policies.
platform.prokrust.ai/v1beta1 · Namespaced · prokrustpolicies
Controller status
Conditions
Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state.
| Condition | What it tells you |
|---|---|
Accepted | Reports whether the controller accepted the policy configuration for this pass. |
DependenciesReady | Reports whether the referenced accounts, images, programs, and other dependencies resolve. |
Ready | Reports whether the controller resolved the policy for this generation. |
When the controller reports a blocked dependency, it clears status.resolved. A failed Kubernetes read can leave earlier status in place. Compare status.observedGeneration with metadata.generation before using the resolved values.
Training service account missing
The policy refers to a workspace service account that the controller cannot find.
status:
conditions:
- type: Accepted
status: "True"
reason: ValidSpec
message: Current spec is valid.
observedGeneration: 1
- type: DependenciesReady
status: "False"
reason: DependencyNotReady
message: ServiceAccount/tenant/missing-trainer does not exist.
observedGeneration: 1
- type: Ready
status: "False"
reason: Blocked
message: ServiceAccount/tenant/missing-trainer does not exist.
observedGeneration: 1
Check the namespace and name in the message. Create the required service account or correct the policy reference. After successful resolution, inspect status.resolved.serviceAccountUids.
ProkrustPolicy condition results and reasons
Accepted
| Status and reason | What to check |
|---|---|
True / ValidSpec | The policy passed its configuration check. Inspect DependenciesReady for unresolved references. |
DependenciesReady
| Status and reason | What to check |
|---|---|
False / DependencyNotReady | Read the message. Check the namespace and name for a missing service account or the required digest for an image error. |
True / Ready | Inspect status.resolved for the program digests and service account UIDs that the controller validated. |
Ready
| Status and reason | What to check |
|---|---|
False / Blocked | Read the message. Check the namespace and name for a missing service account or the required digest for an image error. |
True / Ready | Inspect status.resolved for the program digests and service account UIDs that the controller validated. |
Condition field meanings
| Field | What to look for |
|---|---|
type | Names the check. Use it to select the condition you want to inspect. |
status | Reports whether the named condition holds. Read the reason to see why. |
reason | A short identifier for this outcome. Use it when comparing observations or filtering results. |
message | When present, gives details about this object, such as the name of a dependency. |
observedGeneration | Compare with metadata.generation to see which version of the spec the controller checked. |
lastTransitionTime | Records the time of the last transition for this condition. |
How to read status fields
| Field | What it tells you |
|---|---|
status.observedGeneration | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. |
status.resolved | Resolved policy configuration. Inspect it to see the settings used by dependent resources. |
status.semanticDigest | Digest of the interpreted definition. Check readiness and generation before using it to pin a dependent resource. |
Kubernetes schema for status
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
status | object | no | — | maxProperties 1024 · nullable true |
status.conditions | array | no | — | Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state. · maxItems 8 |
status.conditions[] | object | — | — | maxProperties 1024 |
status.conditions[].lastTransitionTime | string | yes | — | maxLength 2048 |
status.conditions[].message | string | yes | — | maxLength 1024 |
status.conditions[].observedGeneration | integer | yes | — | format "int64" |
status.conditions[].reason | string | yes | — | maxLength 128 |
status.conditions[].status | string | yes | — | enum ["True","False","Unknown"] · maxLength 2048 |
status.conditions[].type | string | yes | — | maxLength 2048 |
status.observedGeneration | integer | no | — | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. · format "int64" · nullable true |
status.resolved | object | no | — | Resolved policy configuration. Inspect it to see the settings used by dependent resources. · maxProperties 1024 · nullable true |
status.resolved.eventProfiles | object | yes | — | maxProperties 1024 |
status.resolved.eventProfiles[key] | string | — | — | maxLength 2048 |
status.resolved.releaseLock | object | yes | — | maxProperties 1024 |
status.resolved.releaseLock.digest | string | yes | — | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.resolved.releaseLock.uri | string | yes | — | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048 |
status.resolved.releasePromotion | object | no | — | maxProperties 1024 · nullable true |
status.resolved.releasePromotion.digest | string | yes | — | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.resolved.releasePromotion.uri | string | yes | — | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048 |
status.resolved.serviceAccountUids | object | yes | — | maxProperties 1024 |
status.resolved.serviceAccountUids[key] | string | — | — | maxLength 2048 |
status.resolved.servingRuntimeDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.resolved.validatedAt | string | yes | — | maxLength 2048 |
status.resolved.workflowProgramDigests | object | no | — | maxProperties 1024 |
status.resolved.workflowProgramDigests[key] | string | — | — | maxLength 2048 |
status.resolved.workflowTemplateDigests | object | no | — | maxProperties 1024 |
status.resolved.workflowTemplateDigests[key] | string | — | — | maxLength 2048 |
status.semanticDigest | string | no | — | Digest of the interpreted definition. Check readiness and generation before using it to pin a dependent resource. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$" |
Specification
Set the workspace rules for accepting resources, authorizing access, and executing workloads.
This resource requires admission, authorization, execution.
admission
Limit which workloads the workspace accepts. Choose the bounds that its compute, storage, and serving capacity can support.
| Field | When to use it |
|---|---|
spec.admission.graph | Limit graph size and the size of each materialized shard. Choose these limits together when admitting larger graphs. |
spec.admission.graph.edgesMax | Cap the total number of graph edges. Increase the cap for a graph with more relationships between rows. |
spec.admission.graph.nodesMax | Cap the total number of graph nodes. Increase the cap to admit larger node tables after checking storage and compute capacity. |
spec.admission.graph.shards | Set separate size limits for parts of the graph written to storage. Reduce shard limits when a worker cannot process one part in memory. |
spec.admission.graph.shards.arrowBufferBytesMax | Cap the bytes in an Arrow buffer within a shard. Lower the cap to limit large contiguous allocations. |
spec.admission.graph.shards.destinationNodesMax | Cap destination nodes per adjacency shard. Lower it to split a large set of edge destinations across smaller shards. |
spec.admission.graph.shards.edgesMax | Cap edges per adjacency shard. Lower it when a densely connected region produces a large shard. |
spec.admission.graph.shards.nodeRowsMax | Cap node rows per node shard. Lower it to split a large node table into smaller parts. |
spec.admission.graph.shards.objectBytesMax | Cap the bytes in one stored graph object. Select a bound compatible with the worker memory and object storage. |
spec.admission.prediction | Limit the number of output partitions a prediction run may request. Choose the range for the expected output size. |
spec.admission.prediction.outputPartitionsMax | Cap output partitions per prediction run. Lower this cap to limit the number of small output files. |
spec.admission.prediction.outputPartitionsMin | Set the lowest accepted output partition count. Raise this floor when a large result needs to be split. |
spec.admission.serving | Set the request and replica bounds for inference endpoints. Adjust them when the workspace serving capacity changes. |
spec.admission.serving.maxBatchSize | Cap the batch size requested by an endpoint. Lower it to limit the work and memory needed for one batch. |
spec.admission.serving.maxReplicas | Cap replicas per endpoint. Lower the cap to limit the workspace capacity one endpoint can consume. |
spec.admission.serving.maxTimeoutSeconds | Set the longest timeout an endpoint may request. Increase it only for requests expected to take longer. |
spec.admission.serving.minReplicas | Set the minimum replicas an endpoint may request. Raise the floor when an endpoint must keep more copies available. |
spec.admission.training | Set limits on training data quality and requested model settings. Choose limits that fit the workspace and the training task. |
spec.admission.training.maxNullLabelRatio | Cap the fraction of training examples with missing labels. Lower it when training must reject data with incomplete labels. |
spec.admission.training.model | Set the accepted range for each training parameter. These bounds constrain values requested by training runs. |
spec.admission.training.model.batchSizeMax | Set the maximum allowed training batch size. Lower the cap when batch memory is limited. |
spec.admission.training.model.batchSizeMin | Set the minimum allowed training batch size. Lower the floor to allow smaller batches. |
spec.admission.training.model.dropoutMaxExclusive | Set an exclusive upper bound on dropout probability. Lower the ceiling to keep runs from discarding too many activations. |
spec.admission.training.model.dropoutMin | Set the minimum allowed dropout probability. Raise the floor to require some dropout. |
spec.admission.training.model.earlyStoppingPatienceMax | Set the maximum allowed early-stopping patience. Lower the cap to limit how long training waits for improvement. |
spec.admission.training.model.earlyStoppingPatienceMin | Set the minimum allowed early-stopping patience. Raise the floor to allow more evaluations before stopping. |
spec.admission.training.model.fanoutPerLayerMax | Set the maximum allowed neighbor fanout per layer. Lower the cap to limit how many neighbors training samples at each layer. |
spec.admission.training.model.fanoutPerLayerMin | Set the minimum allowed neighbor fanout per layer. Lower the floor to allow smaller neighborhoods. |
spec.admission.training.model.hiddenDimensionMax | Set the maximum allowed hidden dimension. Lower the cap to bound model size and memory. |
spec.admission.training.model.hiddenDimensionMin | Set the minimum allowed hidden dimension. Lower the floor to allow a narrower representation. |
spec.admission.training.model.layersMax | Set the maximum allowed number of model layers. Lower the cap to bound model depth. |
spec.admission.training.model.layersMin | Set the minimum allowed number of model layers. Lower the floor to allow shallower models. |
spec.admission.training.model.learningRateMax | Set the maximum allowed learning rate. Lower the cap to prevent runs from requesting larger optimization steps. |
spec.admission.training.model.learningRateMinExclusive | Set an exclusive lower bound on learning rate. Lower the floor to permit smaller optimization steps. |
spec.admission.training.model.maxEpochsMax | Set the maximum allowed requested epoch limit. Lower the cap to limit the number of training passes. |
spec.admission.training.model.maxEpochsMin | Set the minimum allowed requested epoch limit. Lower the floor to allow short test runs. |
authorization
Define which connections, identities, and storage locations workspace workloads may use. Add a rule when a workload needs a new source or destination.
| Field | When to use it |
|---|---|
spec.authorization.connectionProfile | Select the S3 deployment profile used to check endpoints and TLS. Match the installation’s AWS, SeaweedFS, or GCP S3-compatible storage deployment. |
spec.authorization.connections | List connection permissions by provider and purpose. Add an entry for each connection the workload must use. |
spec.authorization.connections.catalogRules | Authorize REST catalog access. An empty list denies catalog access. Add a rule when tables must be resolved through a catalog. |
spec.authorization.connections.catalogRules[].allowedNamespaces | List the catalog namespaces the connection may access. Restrict the list when a catalog contains several teams’ tables. |
spec.authorization.connections.catalogRules[].allowedTables | Limit access to named tables in the permitted namespaces. An empty list permits all tables in those namespaces. |
spec.authorization.connections.catalogRules[].bearerSecretRefs | List the permitted bearer-token Secret references. Supply a reference for a catalog that needs token authentication. |
spec.authorization.connections.catalogRules[].bearerSecretRefs[].key | Select the key inside that Secret containing the token. Match the key referenced by the connection. |
spec.authorization.connections.catalogRules[].bearerSecretRefs[].name | Name the workspace Secret containing the approved catalog bearer token. Use the Secret for this endpoint. |
spec.authorization.connections.catalogRules[].connectionName | Name the connection permitted to access this catalog. Use the exact name of the workspace resource. |
spec.authorization.connections.catalogRules[].endpoint | Constrain the catalog endpoint before the workload connects. Use values for the approved deployment. |
spec.authorization.connections.catalogRules[].endpoint.allowRedirects | Keep false to restrict calls to the approved origin. Authorize the new origin if the service moves. |
spec.authorization.connections.catalogRules[].endpoint.allowedResolvedCidrs | List the IP network ranges where the approved endpoint can resolve. Adjust them when the service moves to another network. |
spec.authorization.connections.catalogRules[].endpoint.denyCidrs | List IP network ranges that DNS responses must avoid. Use this to exclude a subnet inside a broader allowed range. |
spec.authorization.connections.catalogRules[].endpoint.origin | Use the approved origin of this endpoint. Update it when the operator moves the authorized service. |
spec.authorization.connections.catalogRules[].serviceAccounts | List Kubernetes service accounts allowed to use this catalog rule. Add the account used by the approved workload. |
spec.authorization.connections.gcpRules | Authorize native GCS or BigQuery connections. Use a rule for the provider, identity, and operation the workspace needs. |
spec.authorization.connections.gcpRules[].allowedPrefixes | For GCS, limit permitted object keys to these prefixes. Add an export directory when a destination needs to write there. |
spec.authorization.connections.gcpRules[].bigQueryWriteModes | For a BigQuery destination, list the permitted write operations. Permit Append to add rows or Overwrite only when replacement is intended. |
spec.authorization.connections.gcpRules[].bucket | For GCS, name the approved bucket. Use a separate rule to grant access to another bucket. |
spec.authorization.connections.gcpRules[].connectionKind | Select GCSConnection for object storage or BigQueryConnection for dataset access. The GCP rule rejects S3Connection. |
spec.authorization.connections.gcpRules[].connectionName | Use the Kubernetes name of the GCS or BigQuery connection governed by this rule. |
spec.authorization.connections.gcpRules[].datasets | For BigQuery, list the datasets a workload may access. Add a dataset before admitting a connection that needs it. |
spec.authorization.connections.gcpRules[].federationAudiences | Allow the token audiences used by federated workloads. Match the audience configured for the approved identity provider. |
spec.authorization.connections.gcpRules[].federationConfigMaps | Allow the names of federation configuration ConfigMaps a workload may use. Include the approved ConfigMap for external Kubernetes federation. |
spec.authorization.connections.gcpRules[].jobProjects | For BigQuery, allow the projects where the workload may run jobs. Use a separate job project when billing or job permissions are separate from the data project. |
spec.authorization.connections.gcpRules[].locations | For BigQuery, allow the locations for the configured datasets and jobs. Include another location only when the data there is in scope. |
spec.authorization.connections.gcpRules[].project | For BigQuery, name the approved source or destination data project. Choose the project containing the permitted datasets. |
spec.authorization.connections.gcpRules[].purpose | Select Source for reads, Artifact for working storage, or Destination for result export. Match the connection’s intended operation. |
spec.authorization.connections.gcpRules[].serviceAccounts | List Kubernetes service accounts allowed to use this connection. Include the workload account that performs the approved operation. |
spec.authorization.connections.rules | Authorize S3 connections. Give each admitted connection its own name, purpose, endpoint, storage scope, and authentication settings. |
spec.authorization.connections.rules[].allowedPrefixes | List the object key prefixes admitted inside this bucket. Add a prefix when a workload needs a new source directory or output location. |
spec.authorization.connections.rules[].auth | Authorize the credential or workload identity that may access the bucket. Declare an allowed Secret selector or workload identity binding. |
spec.authorization.connections.rules[].auth.secretRefs | List the Secret names and keys approved for AWS credentials. Supply an entry when a connection uses Secret-based authentication. |
spec.authorization.connections.rules[].auth.secretRefs[].accessKeyIdKey | Name the Secret key that contains the AWS access key ID. Match the key naming convention used by the selected Secret. |
spec.authorization.connections.rules[].auth.secretRefs[].name | Name the workspace Secret containing the approved AWS credentials. Update the rule if the selected Secret name changes. |
spec.authorization.connections.rules[].auth.secretRefs[].secretAccessKeyKey | Name the Secret key that contains the AWS secret access key. Use the same key naming convention as the access key ID. |
spec.authorization.connections.rules[].auth.secretRefs[].sessionTokenKey | Name the session-token key when the credentials are temporary. Omit it for credentials without a session token. |
spec.authorization.connections.rules[].auth.serviceAccounts | List Kubernetes service accounts a Secret-authenticated connection may select. Include the custom account the connection uses to run its workload. |
spec.authorization.connections.rules[].auth.workloadIdentityBindings | Authorize exact Kubernetes-account, AWS-role, and provider combinations. Use a binding when the workload obtains AWS credentials through its pod identity. |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].namespace | Restrict the binding to accounts in this namespace. Set it when the same account name exists in several namespaces. |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].provider | Match the identity mechanism configured on the cluster. Select IRSA for IAM roles for service accounts or EKSPodIdentity for EKS Pod Identity. |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].roleArn | Use the IAM role ARN the pod may assume. Specify another role for a different permission set. |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].serviceAccount | Use the Kubernetes service account name bound to the approved role. Add a separate binding for another workload account. |
spec.authorization.connections.rules[].bucket | Limit the rule to the exact S3 bucket named by the connection. Use a different rule when the workload needs a different bucket. |
spec.authorization.connections.rules[].connectionName | Use the Kubernetes name of the S3 connection this rule authorizes. Add a separate rule for a different connection. |
spec.authorization.connections.rules[].endpoint | Constrain the storage endpoint before the workload connects. Use values for the approved deployment. |
spec.authorization.connections.rules[].endpoint.allowRedirects | Keep false to restrict calls to the approved origin. Authorize the new origin if the service moves. |
spec.authorization.connections.rules[].endpoint.allowedResolvedCidrs | List the IP network ranges where the approved endpoint can resolve. Adjust them when the service moves to another network. |
spec.authorization.connections.rules[].endpoint.denyCidrs | List IP network ranges that DNS responses must avoid. Use this to exclude a subnet inside a broader allowed range. |
spec.authorization.connections.rules[].endpoint.origin | Use the approved origin of this endpoint. Update it when the operator moves the authorized service. |
spec.authorization.connections.rules[].forcePathStyle | Match the connection’s bucket addressing mode. Enable path-style addressing when the approved S3-compatible service requires the bucket in the URL path. |
spec.authorization.connections.rules[].purpose | Identify the permitted use of this S3 connection. Select Source for input data, Artifact for working storage, or Destination for exported results. |
execution
Select the release, programs, and identities that run approved work. Use settings from the release installed in this cluster.
| Field | When to use it |
|---|---|
spec.execution.ballista | Bind workflows to a Ballista cluster and its protocol, dependency versions, and capacity. Match the installed cluster when setting these values. |
spec.execution.ballista.clusterName | Select the BallistaCluster resource used for distributed work. Use the name installed for this workspace. |
spec.execution.ballista.configurationDigest | Pin the cluster configuration digest. Update it with the release when adopting a new cluster configuration. |
spec.execution.ballista.crateVersions | Pin the Rust library versions used by the engine and its clients. Use matching builds to keep plans and data formats compatible. |
spec.execution.ballista.crateVersions.arrow | Record the installed version of Arrow for columnar data exchange. Change it with a compatible engine and client release. |
spec.execution.ballista.crateVersions.ballista | Record the installed version of Ballista for distributed plans. Change it with a compatible engine and client release. |
spec.execution.ballista.crateVersions.datafusion | Record the installed version of DataFusion for query execution. Change it with a compatible engine and client release. |
spec.execution.ballista.crateVersions.objectStore | Record the installed version of object_store for storage access. Change it with a compatible engine and client release. |
spec.execution.ballista.crateVersions.parquet | Record the installed version of Parquet for file encoding and decoding. Change it with a compatible engine and client release. |
spec.execution.ballista.maxConcurrentProducers | Limit concurrent Ballista producers. Set the value to the concurrency supported by the cluster and configured for its producer semaphore. |
spec.execution.ballista.ports | Record the service ports used by workflows and executors. Use the ports configured on the installed cluster. |
spec.execution.ballista.ports.executorFlight | Set the port used for Arrow Flight on the executor. Match the executor’s configured Flight endpoint. |
spec.execution.ballista.ports.executorShuffle | Set the port for exchange of shuffle data. Match the shuffle port configured on the executors. |
spec.execution.ballista.ports.workflowGrpc | Set the gRPC port used by workflow clients. Match the scheduler endpoint for submitting distributed work. |
spec.execution.ballista.ports.workflowRest | Set the REST port used by workflow clients. Match the scheduler endpoint for job status requests. |
spec.execution.ballista.release | Select the Ballista release running in this cluster. Change it with the scheduler, executors, and compatible clients. |
spec.execution.ballista.serviceAccounts | Select separate Kubernetes identities for the scheduler and executors. Match the accounts assigned to their workloads. |
spec.execution.ballista.serviceAccounts.executor | Use the service account assigned to Ballista executor pods. Change it when moving executors to a different approved identity. |
spec.execution.ballista.serviceAccounts.scheduler | Use the service account assigned to the Ballista scheduler. Change it with its RBAC and deployment. |
spec.execution.ballista.upstreamCommit | Pin the upstream Ballista source revision. Copy it from the build used by the selected release. |
spec.execution.contractVersion | Names the policy execution contract. This resource accepts prokrust.policy/v3. Use the value required by the installed CRD. |
spec.execution.controller | Set controller timeouts, retention, and conversion capacity. Tune them for the workload duration and available cluster capacity. |
spec.execution.controller.artifactStoreProbeTtlSeconds | Set how long a successful artifact store probe remains current. Shorten it when changes to storage access must be detected sooner. |
spec.execution.controller.cancellationGraceSeconds | Set the time in seconds allowed for graceful cancellation. Allow more time when the workload needs longer to stop. |
spec.execution.controller.connectionProbeTtlSeconds | Set how long a successful connection probe remains current. Shorten it to recheck source access more often. |
spec.execution.controller.conversionParallelism | Cap concurrent conversion pods across the workspace. Lower the cap to fit workspace quotas. Omit it to preserve the legacy policy payload. |
spec.execution.controller.conversionWorkerDeadlineSeconds | Limit how long one conversion worker can run. Increase the deadline when a large input partition legitimately takes longer. |
spec.execution.controller.workflowActiveDeadlineSeconds | Limit the active duration of a workflow. Choose a deadline that covers the longest workload the workspace should admit. |
spec.execution.controller.workflowRecoveryLimit | Limit how many times the controller may recover a workflow. Lower the limit when an interrupted run needs operator review before recovery. |
spec.execution.controller.workflowTtlAfterTerminalSeconds | Set how long finished workflows remain available before cleanup. Increase the retention period when operators need more time to inspect failures. |
spec.execution.events | Configure event-triggered table snapshot requests. Omit this section when workloads only request snapshots directly. |
spec.execution.events.eventBusName | Select the Argo Events EventBus for this workspace. Use the Kubernetes name of the bus that links the event source and sensor. |
spec.execution.events.profiles | Define which storage notifications may produce which snapshot requests. Add a profile for an approved source and table. |
spec.execution.events.profiles[].name | Give the profile a unique name. Use separate names when different events or target tables need separate rules. |
spec.execution.events.profiles[].request | Define the table and time coverage for snapshot requests generated by this profile. Change these together when the target dataset changes. |
spec.execution.events.profiles[].request.coverage | Declare the period for which this publication supplies complete data. Use the period covered by the source, even if the event arrives later. |
spec.execution.events.profiles[].request.coverage.completeFrom | Set a lower bound when completeness begins at a known timestamp. Omit it if the request has no lower coverage bound. |
spec.execution.events.profiles[].request.coverage.completeThrough | Set the timestamp through which the source is complete. Advance it for a publication covering a later period. |
spec.execution.events.profiles[].request.table | Select and pin the target table. Use a separate profile when an event must create a request for a different table. |
spec.execution.events.profiles[].request.table.expectedDigest | Pin the expected table definition by its semantic digest. Update it after approving a changed table definition. |
spec.execution.events.profiles[].request.table.name | Name the workspace table that the snapshot request targets. Match the table for this source publication. |
spec.execution.events.profiles[].transport | Define how notifications reach the event source. Supply the transport for this event profile. |
spec.execution.events.profiles[].transport.aws | Select the AWS SQS queue that receives the source notifications. Use the queue for this source publication. |
spec.execution.events.profiles[].transport.aws.queueArn | Identify the permitted queue by ARN. Use the ARN from the same queue as the queue URL. |
spec.execution.events.profiles[].transport.aws.queueUrl | Set the SQS URL used to read notifications. Choose the queue receiving the bucket’s events. |
spec.execution.events.profiles[].transport.aws.region | Set the AWS Region for the queue. Match the Region in its ARN and URL. |
spec.execution.events.profiles[].trigger | Filter object notifications to the markers that signal a publication is ready. Match the publisher’s bucket and key convention. |
spec.execution.events.profiles[].trigger.bucket | Select the S3 bucket that contains the ready marker. Match the bucket used by the source publisher. |
spec.execution.events.profiles[].trigger.readyKeyPrefix | Limit matching markers to keys under this prefix. Set it to the publication path for this table. |
spec.execution.events.profiles[].trigger.readyObjectSuffix | Select the suffix used for a ready marker. Use the suffix written after the publisher finishes the data files. |
spec.execution.identities | Bind each workload to a Kubernetes service account. Match the namespace RBAC when installing or changing workload identities. |
spec.execution.identities.argoEventSource | Use the Kubernetes service account assigned to the Argo Events source that consumes storage notifications. Match the account with this workload’s permissions. |
spec.execution.identities.argoSensor | Use the Kubernetes service account assigned to the Argo Events sensor that submits requests from matching events. Match the account with this workload’s permissions. |
spec.execution.identities.artifactStoreProbe | Use the Kubernetes service account assigned to the job that checks artifact storage access. Match the account with this workload’s permissions. |
spec.execution.identities.artifactWriter | Use the Kubernetes service account assigned to the workload that publishes artifacts. Match the account with this workload’s permissions. |
spec.execution.identities.ballistaClusterController | Use the Kubernetes service account assigned to the controller that reconciles Ballista clusters. Match the account with this workload’s permissions. |
spec.execution.identities.ballistaHealthProbe | Use the Kubernetes service account assigned to the job that checks Ballista cluster health. Match the account with this workload’s permissions. |
spec.execution.identities.batchPredictor | Use the Kubernetes service account assigned to the worker that computes batch predictions. Match the account with this workload’s permissions. |
spec.execution.identities.connectionProbe | Use the Kubernetes service account assigned to the job that checks a connection. Match the account with this workload’s permissions. |
spec.execution.identities.controllerManager | Use the Kubernetes service account assigned to the Prokrust operator controller manager. Match the account with this workload’s permissions. |
spec.execution.identities.graphMaterializer | Use the Kubernetes service account assigned to the workload that materializes graph data. Match the account with this workload’s permissions. |
spec.execution.identities.kserveRuntime | Use the Kubernetes service account assigned to the KServe workload that serves the model. Match the account with this workload’s permissions. |
spec.execution.identities.predictionMaterializer | Use the Kubernetes service account assigned to the workload that prepares prediction data. Match the account with this workload’s permissions. |
spec.execution.identities.tableMaterializer | Use the Kubernetes service account assigned to the workload that materializes table data. Match the account with this workload’s permissions. |
spec.execution.identities.tableStaging | Use the Kubernetes service account assigned to the workload that stages table inputs. Match the account with this workload’s permissions. |
spec.execution.identities.trainer | Use the Kubernetes service account assigned to the training worker that produces a model. Match the account with this workload’s permissions. |
spec.execution.identities.trainingMaterializer | Use the Kubernetes service account assigned to the workload that prepares training data. Match the account with this workload’s permissions. |
spec.execution.identities.workflowExecutor | Use the Kubernetes service account assigned to the executor that runs workflow steps. Match the account with this workload’s permissions. |
spec.execution.images | Select the container images for the approved release. Use immutable image digests in Qualified mode. |
spec.execution.images.ballistaExecutor | Select the release image for the Ballista executor pods. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.ballistaScheduler | Select the release image for the Ballista scheduler. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.batchPredictor | Select the release image for the batch prediction worker. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.dataJob | Select the release image for workers that stage and materialize data. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.modelServer | Select the release image for the inference model server. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.operator | Select the release image for the Prokrust operator. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.trainer | Select the release image for the CPU training worker. Update the image reference when adopting a compatible build for that workload. |
spec.execution.images.trainerCuda | Select the release image for the CUDA training worker. Update the image reference when adopting a compatible build for that workload. |
spec.execution.programs | Select the workflow programs supplied by the operator. Use the IDs and versions supported by the installed release. |
spec.execution.programs.graphSnapshot | Use the operator-owned prokrust.graph-snapshot program to build workflows for graph snapshots. Select the program version from the installed operator release. |
spec.execution.programs.graphSnapshot.programId | Use the program identifier supplied for this workflow by the selected operator release. |
spec.execution.programs.graphSnapshot.version | Pin the program version for this workflow. Update it when adopting a release with a different program version. |
spec.execution.programs.predictionRun | Use the operator-owned prokrust.prediction-run program to build workflows for prediction runs. Select the program version from the installed operator release. |
spec.execution.programs.predictionRun.programId | Use the program identifier supplied for this workflow by the selected operator release. |
spec.execution.programs.predictionRun.version | Pin the program version for this workflow. Update it when adopting a release with a different program version. |
spec.execution.programs.tableSnapshot | Use the operator-owned prokrust.table-snapshot program to build workflows for table snapshots. Select the program version from the installed operator release. |
spec.execution.programs.tableSnapshot.programId | Use the program identifier supplied for this workflow by the selected operator release. |
spec.execution.programs.tableSnapshot.version | Pin the program version for this workflow. Update it when adopting a release with a different program version. |
spec.execution.programs.trainingRun | Use the operator-owned prokrust.training-run program to build workflows for training runs. Select the program version from the installed operator release. |
spec.execution.programs.trainingRun.programId | Use the program identifier supplied for this workflow by the selected operator release. |
spec.execution.programs.trainingRun.version | Pin the program version for this workflow. Update it when adopting a release with a different program version. |
spec.execution.release | Identify the release used to run workloads. Update these references together when switching releases. |
spec.execution.release.lock | Select the release lock that records the approved component versions. Use the lock published with the release. |
spec.execution.release.lock.digest | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. |
spec.execution.release.lock.uri | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. |
spec.execution.release.mode | Use Qualification while testing a release. Use Qualified for workloads that require its promoted release and immutable images. |
spec.execution.release.promotion | Reference the evidence for a qualified release. Supply the matching promotion artifact when selecting Qualified mode. |
spec.execution.release.promotion.digest | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. |
spec.execution.release.promotion.uri | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. |
spec.execution.serving | Select the KServe runtime and deployment settings used for inference endpoints. Match the serving installation approved for this workspace. |
spec.execution.serving.autoscalerClass | Select the endpoint autoscaler. This release supports HPA, the Kubernetes Horizontal Pod Autoscaler. |
spec.execution.serving.clusterLocal | Keep true. The supported serving deployment exposes inference endpoints within the cluster. |
spec.execution.serving.deploymentMode | Select how KServe deploys the endpoint. This release supports Standard mode. |
spec.execution.serving.runtime | Select the workspace ServingRuntime that hosts inference. Pin its specification to detect changes to the deployment. |
spec.execution.serving.runtime.name | Use the Kubernetes name of the approved ServingRuntime in this namespace. Choose another name when adopting another approved runtime. |
spec.execution.serving.runtime.specDigest | Pin the canonical identity and spec digest of the selected ServingRuntime. Update the digest after approving a runtime spec change. |
spec.execution.serving.storageHelperDisabled | Keep true. The supported custom predictor loads model artifacts without the KServe storage helper. |
Kubernetes schema for spec
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
spec | object | yes | — | Set the workspace rules for accepting resources, authorizing access, and executing workloads. · maxProperties 1024 |
spec.admission | object | yes | — | Limit which workloads the workspace accepts. Choose the bounds that its compute, storage, and serving capacity can support. · maxProperties 1024 |
spec.admission.graph | object | yes | — | Limit graph size and the size of each materialized shard. Choose these limits together when admitting larger graphs. · maxProperties 1024 |
spec.admission.graph.edgesMax | integer | yes | — | Cap the total number of graph edges. Increase the cap for a graph with more relationships between rows. · format "int64" |
spec.admission.graph.nodesMax | integer | yes | — | Cap the total number of graph nodes. Increase the cap to admit larger node tables after checking storage and compute capacity. · format "int64" |
spec.admission.graph.shards | object | yes | — | Set separate size limits for parts of the graph written to storage. Reduce shard limits when a worker cannot process one part in memory. · maxProperties 1024 |
spec.admission.graph.shards.arrowBufferBytesMax | integer | yes | — | Cap the bytes in an Arrow buffer within a shard. Lower the cap to limit large contiguous allocations. · format "int64" |
spec.admission.graph.shards.destinationNodesMax | integer | yes | — | Cap destination nodes per adjacency shard. Lower it to split a large set of edge destinations across smaller shards. · format "int64" |
spec.admission.graph.shards.edgesMax | integer | yes | — | Cap edges per adjacency shard. Lower it when a densely connected region produces a large shard. · format "int64" |
spec.admission.graph.shards.nodeRowsMax | integer | yes | — | Cap node rows per node shard. Lower it to split a large node table into smaller parts. · format "int64" |
spec.admission.graph.shards.objectBytesMax | integer | yes | — | Cap the bytes in one stored graph object. Select a bound compatible with the worker memory and object storage. · format "int64" |
spec.admission.prediction | object | yes | — | Limit the number of output partitions a prediction run may request. Choose the range for the expected output size. · maxProperties 1024 |
spec.admission.prediction.outputPartitionsMax | integer | yes | — | Cap output partitions per prediction run. Lower this cap to limit the number of small output files. · format "int32" |
spec.admission.prediction.outputPartitionsMin | integer | yes | — | Set the lowest accepted output partition count. Raise this floor when a large result needs to be split. · format "int32" |
spec.admission.serving | object | yes | — | Set the request and replica bounds for inference endpoints. Adjust them when the workspace serving capacity changes. · maxProperties 1024 |
spec.admission.serving.maxBatchSize | integer | yes | — | Cap the batch size requested by an endpoint. Lower it to limit the work and memory needed for one batch. · format "int32" |
spec.admission.serving.maxReplicas | integer | yes | — | Cap replicas per endpoint. Lower the cap to limit the workspace capacity one endpoint can consume. · format "int32" |
spec.admission.serving.maxTimeoutSeconds | integer | yes | — | Set the longest timeout an endpoint may request. Increase it only for requests expected to take longer. · format "int32" |
spec.admission.serving.minReplicas | integer | yes | — | Set the minimum replicas an endpoint may request. Raise the floor when an endpoint must keep more copies available. · format "int32" |
spec.admission.training | object | yes | — | Set limits on training data quality and requested model settings. Choose limits that fit the workspace and the training task. · maxProperties 1024 |
spec.admission.training.maxNullLabelRatio | number | yes | — | Cap the fraction of training examples with missing labels. Lower it when training must reject data with incomplete labels. · format "double" |
spec.admission.training.model | object | yes | — | Set the accepted range for each training parameter. These bounds constrain values requested by training runs. · maxProperties 1024 |
spec.admission.training.model.batchSizeMax | integer | yes | — | Set the maximum allowed training batch size. Lower the cap when batch memory is limited. · format "int32" |
spec.admission.training.model.batchSizeMin | integer | yes | — | Set the minimum allowed training batch size. Lower the floor to allow smaller batches. · format "int32" |
spec.admission.training.model.dropoutMaxExclusive | number | yes | — | Set an exclusive upper bound on dropout probability. Lower the ceiling to keep runs from discarding too many activations. · format "double" |
spec.admission.training.model.dropoutMin | number | yes | — | Set the minimum allowed dropout probability. Raise the floor to require some dropout. · format "double" |
spec.admission.training.model.earlyStoppingPatienceMax | integer | yes | — | Set the maximum allowed early-stopping patience. Lower the cap to limit how long training waits for improvement. · format "int32" |
spec.admission.training.model.earlyStoppingPatienceMin | integer | yes | — | Set the minimum allowed early-stopping patience. Raise the floor to allow more evaluations before stopping. · format "int32" |
spec.admission.training.model.fanoutPerLayerMax | integer | yes | — | Set the maximum allowed neighbor fanout per layer. Lower the cap to limit how many neighbors training samples at each layer. · format "int32" |
spec.admission.training.model.fanoutPerLayerMin | integer | yes | — | Set the minimum allowed neighbor fanout per layer. Lower the floor to allow smaller neighborhoods. · format "int32" |
spec.admission.training.model.hiddenDimensionMax | integer | yes | — | Set the maximum allowed hidden dimension. Lower the cap to bound model size and memory. · format "int32" |
spec.admission.training.model.hiddenDimensionMin | integer | yes | — | Set the minimum allowed hidden dimension. Lower the floor to allow a narrower representation. · format "int32" |
spec.admission.training.model.layersMax | integer | yes | — | Set the maximum allowed number of model layers. Lower the cap to bound model depth. · format "int32" |
spec.admission.training.model.layersMin | integer | yes | — | Set the minimum allowed number of model layers. Lower the floor to allow shallower models. · format "int32" |
spec.admission.training.model.learningRateMax | number | yes | — | Set the maximum allowed learning rate. Lower the cap to prevent runs from requesting larger optimization steps. · format "double" |
spec.admission.training.model.learningRateMinExclusive | number | yes | — | Set an exclusive lower bound on learning rate. Lower the floor to permit smaller optimization steps. · format "double" |
spec.admission.training.model.maxEpochsMax | integer | yes | — | Set the maximum allowed requested epoch limit. Lower the cap to limit the number of training passes. · format "int32" |
spec.admission.training.model.maxEpochsMin | integer | yes | — | Set the minimum allowed requested epoch limit. Lower the floor to allow short test runs. · format "int32" |
spec.authorization | object | yes | — | Define which connections, identities, and storage locations workspace workloads may use. Add a rule when a workload needs a new source or destination. · maxProperties 1024 |
spec.authorization.connectionProfile | string | yes | — | Select the S3 deployment profile used to check endpoints and TLS. Match the installation’s AWS, SeaweedFS, or GCP S3-compatible storage deployment. · enum ["seaweedfs","aws","gcp-s3-compatible"] · maxLength 16384 |
spec.authorization.connections | object | yes | — | List connection permissions by provider and purpose. Add an entry for each connection the workload must use. · maxProperties 1024 |
spec.authorization.connections.catalogRules | array | no | — | Authorize REST catalog access. An empty list denies catalog access. Add a rule when tables must be resolved through a catalog. · maxItems 256 |
spec.authorization.connections.catalogRules[] | object | — | — | Explicit catalog allowlist. Empty rules deny catalog access. · maxProperties 1024 · self.connectionName != '' && self.endpoint.origin.startsWith('https://') && !self.endpoint.allowRedirects && self.allowedNamespaces.size() > 0 |
spec.authorization.connections.catalogRules[].allowedNamespaces | array | yes | — | List the catalog namespaces the connection may access. Restrict the list when a catalog contains several teams’ tables. · maxItems 256 |
spec.authorization.connections.catalogRules[].allowedNamespaces[] | array | — | — | maxItems 256 |
spec.authorization.connections.catalogRules[].allowedNamespaces[][] | string | — | — | maxLength 16384 |
spec.authorization.connections.catalogRules[].allowedTables | array | no | — | Limit access to named tables in the permitted namespaces. An empty list permits all tables in those namespaces. · maxItems 256 |
spec.authorization.connections.catalogRules[].allowedTables[] | string | — | — | maxLength 16384 |
spec.authorization.connections.catalogRules[].bearerSecretRefs | array | no | — | List the permitted bearer-token Secret references. Supply a reference for a catalog that needs token authentication. · maxItems 256 |
spec.authorization.connections.catalogRules[].bearerSecretRefs[] | object | — | — | maxProperties 1024 |
spec.authorization.connections.catalogRules[].bearerSecretRefs[].key | string | yes | — | Select the key inside that Secret containing the token. Match the key referenced by the connection. · maxLength 16384 |
spec.authorization.connections.catalogRules[].bearerSecretRefs[].name | string | yes | — | Name the workspace Secret containing the approved catalog bearer token. Use the Secret for this endpoint. · maxLength 253 |
spec.authorization.connections.catalogRules[].connectionName | string | yes | — | Name the connection permitted to access this catalog. Use the exact name of the workspace resource. · maxLength 253 |
spec.authorization.connections.catalogRules[].endpoint | object | yes | — | Constrain the catalog endpoint before the workload connects. Use values for the approved deployment. · maxProperties 1024 |
spec.authorization.connections.catalogRules[].endpoint.allowRedirects | boolean | yes | — | Keep false to restrict calls to the approved origin. Authorize the new origin if the service moves. |
spec.authorization.connections.catalogRules[].endpoint.allowedResolvedCidrs | array | yes | — | List the IP network ranges where the approved endpoint can resolve. Adjust them when the service moves to another network. · maxItems 256 |
spec.authorization.connections.catalogRules[].endpoint.allowedResolvedCidrs[] | string | — | — | maxLength 16384 |
spec.authorization.connections.catalogRules[].endpoint.denyCidrs | array | yes | — | List IP network ranges that DNS responses must avoid. Use this to exclude a subnet inside a broader allowed range. · maxItems 256 |
spec.authorization.connections.catalogRules[].endpoint.denyCidrs[] | string | — | — | maxLength 16384 |
spec.authorization.connections.catalogRules[].endpoint.origin | string | yes | — | Use the approved origin of this endpoint. Update it when the operator moves the authorized service. · maxLength 16384 |
spec.authorization.connections.catalogRules[].serviceAccounts | array | no | — | List Kubernetes service accounts allowed to use this catalog rule. Add the account used by the approved workload. · maxItems 256 |
spec.authorization.connections.catalogRules[].serviceAccounts[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules | array | no | — | Authorize native GCS or BigQuery connections. Use a rule for the provider, identity, and operation the workspace needs. · maxItems 256 |
spec.authorization.connections.gcpRules[] | object | — | — | maxProperties 1024 · self.serviceAccounts.size() > 0 && self.connectionKind != 'S3Connection' |
spec.authorization.connections.gcpRules[].allowedPrefixes | array | no | — | For GCS, limit permitted object keys to these prefixes. Add an export directory when a destination needs to write there. · maxItems 256 |
spec.authorization.connections.gcpRules[].allowedPrefixes[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].bigQueryWriteModes | array | no | — | For a BigQuery destination, list the permitted write operations. Permit Append to add rows or Overwrite only when replacement is intended. · maxItems 256 |
spec.authorization.connections.gcpRules[].bigQueryWriteModes[] | string | — | — | enum ["WriteIfEmpty","Append","Overwrite"] · maxLength 16384 |
spec.authorization.connections.gcpRules[].bucket | string | no | — | For GCS, name the approved bucket. Use a separate rule to grant access to another bucket. · maxLength 16384 · nullable true |
spec.authorization.connections.gcpRules[].connectionKind | string | yes | — | Select GCSConnection for object storage or BigQueryConnection for dataset access. The GCP rule rejects S3Connection. · enum ["S3Connection","GCSConnection","BigQueryConnection"] · maxLength 16384 |
spec.authorization.connections.gcpRules[].connectionName | string | yes | — | Use the Kubernetes name of the GCS or BigQuery connection governed by this rule. · maxLength 253 |
spec.authorization.connections.gcpRules[].datasets | array | no | — | For BigQuery, list the datasets a workload may access. Add a dataset before admitting a connection that needs it. · maxItems 256 |
spec.authorization.connections.gcpRules[].datasets[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].federationAudiences | array | no | — | Allow the token audiences used by federated workloads. Match the audience configured for the approved identity provider. · maxItems 256 |
spec.authorization.connections.gcpRules[].federationAudiences[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].federationConfigMaps | array | no | — | Allow the names of federation configuration ConfigMaps a workload may use. Include the approved ConfigMap for external Kubernetes federation. · maxItems 256 |
spec.authorization.connections.gcpRules[].federationConfigMaps[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].jobProjects | array | no | — | For BigQuery, allow the projects where the workload may run jobs. Use a separate job project when billing or job permissions are separate from the data project. · maxItems 256 |
spec.authorization.connections.gcpRules[].jobProjects[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].locations | array | no | — | For BigQuery, allow the locations for the configured datasets and jobs. Include another location only when the data there is in scope. · maxItems 256 |
spec.authorization.connections.gcpRules[].locations[] | string | — | — | maxLength 16384 |
spec.authorization.connections.gcpRules[].project | string | no | — | For BigQuery, name the approved source or destination data project. Choose the project containing the permitted datasets. · maxLength 16384 · nullable true |
spec.authorization.connections.gcpRules[].purpose | string | yes | — | Select Source for reads, Artifact for working storage, or Destination for result export. Match the connection’s intended operation. · enum ["Source","Artifact","Destination"] · maxLength 16384 |
spec.authorization.connections.gcpRules[].serviceAccounts | array | yes | — | List Kubernetes service accounts allowed to use this connection. Include the workload account that performs the approved operation. · maxItems 256 |
spec.authorization.connections.gcpRules[].serviceAccounts[] | string | — | — | maxLength 16384 |
spec.authorization.connections.rules | array | yes | — | Authorize S3 connections. Give each admitted connection its own name, purpose, endpoint, storage scope, and authentication settings. · maxItems 256 |
spec.authorization.connections.rules[] | object | — | — | maxProperties 1024 |
spec.authorization.connections.rules[].allowedPrefixes | array | yes | — | List the object key prefixes admitted inside this bucket. Add a prefix when a workload needs a new source directory or output location. · maxItems 256 |
spec.authorization.connections.rules[].allowedPrefixes[] | string | — | — | maxLength 16384 |
spec.authorization.connections.rules[].auth | object | yes | — | Authorize the credential or workload identity that may access the bucket. Declare an allowed Secret selector or workload identity binding. · maxProperties 1024 · self.secretRefs.size() > 0 || (has(self.workloadIdentityBindings) && self.workloadIdentityBindings.size() > 0) |
spec.authorization.connections.rules[].auth.secretRefs | array | yes | — | List the Secret names and keys approved for AWS credentials. Supply an entry when a connection uses Secret-based authentication. · maxItems 256 |
spec.authorization.connections.rules[].auth.secretRefs[] | object | — | — | maxProperties 1024 · (self.accessKeyIdKey == 'AWS_ACCESS_KEY_ID' && self.secretAccessKeyKey == 'AWS_SECRET_ACCESS_KEY' && (!has(self.sessionTokenKey) || self.sessionTokenKey == 'AWS_SESSION_TOKEN')) || (self.accessKeyIdKey == 'accessKeyId' && self.secretAccessKeyKey == 'secretAccessKey' && (!has(self.sessionTokenKey) || self.sessionTokenKey == 'sessionToken')) || (self.accessKeyIdKey == 'access-key-id' && self.secretAccessKeyKey == 'secret-access-key' && (!has(self.sessionTokenKey) || self.sessionTokenKey == 'session-token')) |
spec.authorization.connections.rules[].auth.secretRefs[].accessKeyIdKey | string | yes | — | Name the Secret key that contains the AWS access key ID. Match the key naming convention used by the selected Secret. · maxLength 16384 |
spec.authorization.connections.rules[].auth.secretRefs[].name | string | yes | — | Name the workspace Secret containing the approved AWS credentials. Update the rule if the selected Secret name changes. · maxLength 253 |
spec.authorization.connections.rules[].auth.secretRefs[].secretAccessKeyKey | string | yes | — | Name the Secret key that contains the AWS secret access key. Use the same key naming convention as the access key ID. · maxLength 16384 |
spec.authorization.connections.rules[].auth.secretRefs[].sessionTokenKey | string | no | — | Name the session-token key when the credentials are temporary. Omit it for credentials without a session token. · maxLength 16384 · nullable true |
spec.authorization.connections.rules[].auth.serviceAccounts | array | no | — | List Kubernetes service accounts a Secret-authenticated connection may select. Include the custom account the connection uses to run its workload. · maxItems 256 |
spec.authorization.connections.rules[].auth.serviceAccounts[] | string | — | — | maxLength 16384 |
spec.authorization.connections.rules[].auth.workloadIdentityBindings | array | no | — | Authorize exact Kubernetes-account, AWS-role, and provider combinations. Use a binding when the workload obtains AWS credentials through its pod identity. · maxItems 256 |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[] | object | — | — | maxProperties 1024 |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].namespace | string | no | — | Restrict the binding to accounts in this namespace. Set it when the same account name exists in several namespaces. · maxLength 63 · minLength 1 · nullable true · pattern "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].provider | string | yes | — | Match the identity mechanism configured on the cluster. Select IRSA for IAM roles for service accounts or EKSPodIdentity for EKS Pod Identity. · enum ["IRSA","EKSPodIdentity"] · maxLength 16384 |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].roleArn | string | yes | — | Use the IAM role ARN the pod may assume. Specify another role for a different permission set. · maxLength 2048 · pattern "^arn:(aws|aws-us-gov|aws-cn):iam::[0-9]{12}:role/([A-Za-z0-9+=,.@_-]+/)*[A-Za-z0-9+=,.@_-]{1,64}$" |
spec.authorization.connections.rules[].auth.workloadIdentityBindings[].serviceAccount | string | yes | — | Use the Kubernetes service account name bound to the approved role. Add a separate binding for another workload account. · maxLength 253 · minLength 1 · pattern "^[a-z0-9]([-a-z0-9.]*[a-z0-9])?$" |
spec.authorization.connections.rules[].bucket | string | yes | — | Limit the rule to the exact S3 bucket named by the connection. Use a different rule when the workload needs a different bucket. · maxLength 16384 |
spec.authorization.connections.rules[].connectionName | string | yes | — | Use the Kubernetes name of the S3 connection this rule authorizes. Add a separate rule for a different connection. · maxLength 253 |
spec.authorization.connections.rules[].endpoint | object | yes | — | Constrain the storage endpoint before the workload connects. Use values for the approved deployment. · maxProperties 1024 |
spec.authorization.connections.rules[].endpoint.allowRedirects | boolean | yes | — | Keep false to restrict calls to the approved origin. Authorize the new origin if the service moves. |
spec.authorization.connections.rules[].endpoint.allowedResolvedCidrs | array | yes | — | List the IP network ranges where the approved endpoint can resolve. Adjust them when the service moves to another network. · maxItems 256 |
spec.authorization.connections.rules[].endpoint.allowedResolvedCidrs[] | string | — | — | maxLength 16384 |
spec.authorization.connections.rules[].endpoint.denyCidrs | array | yes | — | List IP network ranges that DNS responses must avoid. Use this to exclude a subnet inside a broader allowed range. · maxItems 256 |
spec.authorization.connections.rules[].endpoint.denyCidrs[] | string | — | — | maxLength 16384 |
spec.authorization.connections.rules[].endpoint.origin | string | yes | — | Use the approved origin of this endpoint. Update it when the operator moves the authorized service. · maxLength 16384 |
spec.authorization.connections.rules[].forcePathStyle | boolean | yes | — | Match the connection’s bucket addressing mode. Enable path-style addressing when the approved S3-compatible service requires the bucket in the URL path. |
spec.authorization.connections.rules[].purpose | string | yes | — | Identify the permitted use of this S3 connection. Select Source for input data, Artifact for working storage, or Destination for exported results. · enum ["Source","Artifact","Destination"] · maxLength 16384 |
spec.execution | object | yes | — | Select the release, programs, and identities that run approved work. Use settings from the release installed in this cluster. · maxProperties 1024 · self.contractVersion == 'prokrust.policy/v3' |
spec.execution.ballista | object | yes | — | Bind workflows to a Ballista cluster and its protocol, dependency versions, and capacity. Match the installed cluster when setting these values. · maxProperties 1024 |
spec.execution.ballista.clusterName | string | yes | — | Select the BallistaCluster resource used for distributed work. Use the name installed for this workspace. · maxLength 253 |
spec.execution.ballista.configurationDigest | string | yes | — | Pin the cluster configuration digest. Update it with the release when adopting a new cluster configuration. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
spec.execution.ballista.crateVersions | object | yes | — | Pin the Rust library versions used by the engine and its clients. Use matching builds to keep plans and data formats compatible. · maxProperties 1024 |
spec.execution.ballista.crateVersions.arrow | string | yes | — | Record the installed version of Arrow for columnar data exchange. Change it with a compatible engine and client release. · maxLength 16384 |
spec.execution.ballista.crateVersions.ballista | string | yes | — | Record the installed version of Ballista for distributed plans. Change it with a compatible engine and client release. · maxLength 16384 |
spec.execution.ballista.crateVersions.datafusion | string | yes | — | Record the installed version of DataFusion for query execution. Change it with a compatible engine and client release. · maxLength 16384 |
spec.execution.ballista.crateVersions.objectStore | string | yes | — | Record the installed version of object_store for storage access. Change it with a compatible engine and client release. · maxLength 16384 |
spec.execution.ballista.crateVersions.parquet | string | yes | — | Record the installed version of Parquet for file encoding and decoding. Change it with a compatible engine and client release. · maxLength 16384 |
spec.execution.ballista.maxConcurrentProducers | integer | yes | — | Limit concurrent Ballista producers. Set the value to the concurrency supported by the cluster and configured for its producer semaphore. · format "int32" · maximum 16 · minimum 1 |
spec.execution.ballista.ports | object | yes | — | Record the service ports used by workflows and executors. Use the ports configured on the installed cluster. · maxProperties 1024 |
spec.execution.ballista.ports.executorFlight | integer | yes | — | Set the port used for Arrow Flight on the executor. Match the executor’s configured Flight endpoint. · format "int32" |
spec.execution.ballista.ports.executorShuffle | integer | yes | — | Set the port for exchange of shuffle data. Match the shuffle port configured on the executors. · format "int32" |
spec.execution.ballista.ports.workflowGrpc | integer | yes | — | Set the gRPC port used by workflow clients. Match the scheduler endpoint for submitting distributed work. · format "int32" |
spec.execution.ballista.ports.workflowRest | integer | yes | — | Set the REST port used by workflow clients. Match the scheduler endpoint for job status requests. · format "int32" |
spec.execution.ballista.release | string | yes | — | Select the Ballista release running in this cluster. Change it with the scheduler, executors, and compatible clients. · maxLength 16384 |
spec.execution.ballista.serviceAccounts | object | yes | — | Select separate Kubernetes identities for the scheduler and executors. Match the accounts assigned to their workloads. · maxProperties 1024 |
spec.execution.ballista.serviceAccounts.executor | string | yes | — | Use the service account assigned to Ballista executor pods. Change it when moving executors to a different approved identity. · maxLength 16384 |
spec.execution.ballista.serviceAccounts.scheduler | string | yes | — | Use the service account assigned to the Ballista scheduler. Change it with its RBAC and deployment. · maxLength 16384 |
spec.execution.ballista.upstreamCommit | string | yes | — | Pin the upstream Ballista source revision. Copy it from the build used by the selected release. · maxLength 16384 |
spec.execution.contractVersion | string | no | "prokrust.policy/v3" | Names the policy execution contract. This resource accepts prokrust.policy/v3. Use the value required by the installed CRD. · maxLength 16384 |
spec.execution.controller | object | yes | — | Set controller timeouts, retention, and conversion capacity. Tune them for the workload duration and available cluster capacity. · maxProperties 1024 |
spec.execution.controller.artifactStoreProbeTtlSeconds | integer | no | 300 | Set how long a successful artifact store probe remains current. Shorten it when changes to storage access must be detected sooner. · format "int32" |
spec.execution.controller.cancellationGraceSeconds | integer | no | 30 | Set the time in seconds allowed for graceful cancellation. Allow more time when the workload needs longer to stop. · format "int32" |
spec.execution.controller.connectionProbeTtlSeconds | integer | no | 300 | Set how long a successful connection probe remains current. Shorten it to recheck source access more often. · format "int32" |
spec.execution.controller.conversionParallelism | integer | no | — | Cap concurrent conversion pods across the workspace. Lower the cap to fit workspace quotas. Omit it to preserve the legacy policy payload. · format "uint32" · maximum 128 · minimum 1 · nullable true |
spec.execution.controller.conversionWorkerDeadlineSeconds | integer | no | — | Limit how long one conversion worker can run. Increase the deadline when a large input partition legitimately takes longer. · format "uint32" · maximum 172800 · minimum 60 · nullable true |
spec.execution.controller.workflowActiveDeadlineSeconds | integer | no | — | Limit the active duration of a workflow. Choose a deadline that covers the longest workload the workspace should admit. · format "uint32" · maximum 604800 · minimum 60 · nullable true |
spec.execution.controller.workflowRecoveryLimit | integer | no | 1 | Limit how many times the controller may recover a workflow. Lower the limit when an interrupted run needs operator review before recovery. · format "int32" |
spec.execution.controller.workflowTtlAfterTerminalSeconds | integer | no | 86400 | Set how long finished workflows remain available before cleanup. Increase the retention period when operators need more time to inspect failures. · format "int32" |
spec.execution.events | object | no | — | Configure event-triggered table snapshot requests. Omit this section when workloads only request snapshots directly. · maxProperties 1024 · nullable true |
spec.execution.events.eventBusName | string | yes | — | Select the Argo Events EventBus for this workspace. Use the Kubernetes name of the bus that links the event source and sensor. · maxLength 253 |
spec.execution.events.profiles | array | yes | — | Define which storage notifications may produce which snapshot requests. Add a profile for an approved source and table. · maxItems 256 |
spec.execution.events.profiles[] | object | — | — | maxProperties 1024 |
spec.execution.events.profiles[].name | string | yes | — | Give the profile a unique name. Use separate names when different events or target tables need separate rules. · maxLength 253 |
spec.execution.events.profiles[].request | object | yes | — | Define the table and time coverage for snapshot requests generated by this profile. Change these together when the target dataset changes. · maxProperties 1024 |
spec.execution.events.profiles[].request.coverage | object | yes | — | Declare the period for which this publication supplies complete data. Use the period covered by the source, even if the event arrives later. · maxProperties 1024 |
spec.execution.events.profiles[].request.coverage.completeFrom | string | no | — | Set a lower bound when completeness begins at a known timestamp. Omit it if the request has no lower coverage bound. · maxLength 16384 · nullable true |
spec.execution.events.profiles[].request.coverage.completeThrough | string | yes | — | Set the timestamp through which the source is complete. Advance it for a publication covering a later period. · maxLength 16384 |
spec.execution.events.profiles[].request.table | object | yes | — | Select and pin the target table. Use a separate profile when an event must create a request for a different table. · maxProperties 1024 |
spec.execution.events.profiles[].request.table.expectedDigest | string | yes | — | Pin the expected table definition by its semantic digest. Update it after approving a changed table definition. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
spec.execution.events.profiles[].request.table.name | string | yes | — | Name the workspace table that the snapshot request targets. Match the table for this source publication. · maxLength 253 |
spec.execution.events.profiles[].transport | object | yes | — | Define how notifications reach the event source. Supply the transport for this event profile. · maxProperties 1024 |
spec.execution.events.profiles[].transport.aws | object | yes | — | Select the AWS SQS queue that receives the source notifications. Use the queue for this source publication. · maxProperties 1024 |
spec.execution.events.profiles[].transport.aws.queueArn | string | yes | — | Identify the permitted queue by ARN. Use the ARN from the same queue as the queue URL. · maxLength 16384 |
spec.execution.events.profiles[].transport.aws.queueUrl | string | yes | — | Set the SQS URL used to read notifications. Choose the queue receiving the bucket’s events. · maxLength 16384 |
spec.execution.events.profiles[].transport.aws.region | string | yes | — | Set the AWS Region for the queue. Match the Region in its ARN and URL. · maxLength 16384 |
spec.execution.events.profiles[].trigger | object | yes | — | Filter object notifications to the markers that signal a publication is ready. Match the publisher’s bucket and key convention. · maxProperties 1024 |
spec.execution.events.profiles[].trigger.bucket | string | yes | — | Select the S3 bucket that contains the ready marker. Match the bucket used by the source publisher. · maxLength 16384 |
spec.execution.events.profiles[].trigger.readyKeyPrefix | string | yes | — | Limit matching markers to keys under this prefix. Set it to the publication path for this table. · maxLength 16384 |
spec.execution.events.profiles[].trigger.readyObjectSuffix | string | yes | — | Select the suffix used for a ready marker. Use the suffix written after the publisher finishes the data files. · maxLength 16384 |
spec.execution.identities | object | yes | — | Bind each workload to a Kubernetes service account. Match the namespace RBAC when installing or changing workload identities. · maxProperties 1024 |
spec.execution.identities.argoEventSource | string | no | — | Use the Kubernetes service account assigned to the Argo Events source that consumes storage notifications. Match the account with this workload’s permissions. · maxLength 16384 · nullable true |
spec.execution.identities.argoSensor | string | no | — | Use the Kubernetes service account assigned to the Argo Events sensor that submits requests from matching events. Match the account with this workload’s permissions. · maxLength 16384 · nullable true |
spec.execution.identities.artifactStoreProbe | string | yes | — | Use the Kubernetes service account assigned to the job that checks artifact storage access. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.artifactWriter | string | yes | — | Use the Kubernetes service account assigned to the workload that publishes artifacts. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.ballistaClusterController | string | yes | — | Use the Kubernetes service account assigned to the controller that reconciles Ballista clusters. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.ballistaHealthProbe | string | yes | — | Use the Kubernetes service account assigned to the job that checks Ballista cluster health. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.batchPredictor | string | yes | — | Use the Kubernetes service account assigned to the worker that computes batch predictions. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.connectionProbe | string | yes | — | Use the Kubernetes service account assigned to the job that checks a connection. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.controllerManager | string | yes | — | Use the Kubernetes service account assigned to the Prokrust operator controller manager. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.graphMaterializer | string | yes | — | Use the Kubernetes service account assigned to the workload that materializes graph data. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.kserveRuntime | string | yes | — | Use the Kubernetes service account assigned to the KServe workload that serves the model. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.predictionMaterializer | string | yes | — | Use the Kubernetes service account assigned to the workload that prepares prediction data. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.tableMaterializer | string | yes | — | Use the Kubernetes service account assigned to the workload that materializes table data. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.tableStaging | string | yes | — | Use the Kubernetes service account assigned to the workload that stages table inputs. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.trainer | string | yes | — | Use the Kubernetes service account assigned to the training worker that produces a model. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.trainingMaterializer | string | yes | — | Use the Kubernetes service account assigned to the workload that prepares training data. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.identities.workflowExecutor | string | yes | — | Use the Kubernetes service account assigned to the executor that runs workflow steps. Match the account with this workload’s permissions. · maxLength 16384 |
spec.execution.images | object | yes | — | Select the container images for the approved release. Use immutable image digests in Qualified mode. · maxProperties 1024 |
spec.execution.images.ballistaExecutor | string | yes | — | Select the release image for the Ballista executor pods. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.ballistaScheduler | string | yes | — | Select the release image for the Ballista scheduler. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.batchPredictor | string | yes | — | Select the release image for the batch prediction worker. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.dataJob | string | yes | — | Select the release image for workers that stage and materialize data. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.modelServer | string | yes | — | Select the release image for the inference model server. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.operator | string | yes | — | Select the release image for the Prokrust operator. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.trainer | string | yes | — | Select the release image for the CPU training worker. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 |
spec.execution.images.trainerCuda | string | no | — | Select the release image for the CUDA training worker. Update the image reference when adopting a compatible build for that workload. · maxLength 16384 · nullable true |
spec.execution.programs | object | yes | — | Select the workflow programs supplied by the operator. Use the IDs and versions supported by the installed release. · maxProperties 1024 |
spec.execution.programs.graphSnapshot | object | yes | — | Use the operator-owned prokrust.graph-snapshot program to build workflows for graph snapshots. Select the program version from the installed operator release. · maxProperties 1024 |
spec.execution.programs.graphSnapshot.programId | string | yes | — | Use the program identifier supplied for this workflow by the selected operator release. · maxLength 16384 |
spec.execution.programs.graphSnapshot.version | string | yes | — | Pin the program version for this workflow. Update it when adopting a release with a different program version. · maxLength 16384 |
spec.execution.programs.predictionRun | object | yes | — | Use the operator-owned prokrust.prediction-run program to build workflows for prediction runs. Select the program version from the installed operator release. · maxProperties 1024 |
spec.execution.programs.predictionRun.programId | string | yes | — | Use the program identifier supplied for this workflow by the selected operator release. · maxLength 16384 |
spec.execution.programs.predictionRun.version | string | yes | — | Pin the program version for this workflow. Update it when adopting a release with a different program version. · maxLength 16384 |
spec.execution.programs.tableSnapshot | object | yes | — | Use the operator-owned prokrust.table-snapshot program to build workflows for table snapshots. Select the program version from the installed operator release. · maxProperties 1024 |
spec.execution.programs.tableSnapshot.programId | string | yes | — | Use the program identifier supplied for this workflow by the selected operator release. · maxLength 16384 |
spec.execution.programs.tableSnapshot.version | string | yes | — | Pin the program version for this workflow. Update it when adopting a release with a different program version. · maxLength 16384 |
spec.execution.programs.trainingRun | object | yes | — | Use the operator-owned prokrust.training-run program to build workflows for training runs. Select the program version from the installed operator release. · maxProperties 1024 |
spec.execution.programs.trainingRun.programId | string | yes | — | Use the program identifier supplied for this workflow by the selected operator release. · maxLength 16384 |
spec.execution.programs.trainingRun.version | string | yes | — | Pin the program version for this workflow. Update it when adopting a release with a different program version. · maxLength 16384 |
spec.execution.release | object | yes | — | Identify the release used to run workloads. Update these references together when switching releases. · maxProperties 1024 |
spec.execution.release.lock | object | yes | — | Select the release lock that records the approved component versions. Use the lock published with the release. · maxProperties 1024 |
spec.execution.release.lock.digest | string | yes | — | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
spec.execution.release.lock.uri | string | yes | — | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048 |
spec.execution.release.mode | string | yes | — | Use Qualification while testing a release. Use Qualified for workloads that require its promoted release and immutable images. · enum ["Qualification","Qualified"] · maxLength 16384 |
spec.execution.release.promotion | object | no | — | Reference the evidence for a qualified release. Supply the matching promotion artifact when selecting Qualified mode. · maxProperties 1024 · nullable true |
spec.execution.release.promotion.digest | string | yes | — | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
spec.execution.release.promotion.uri | string | yes | — | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048 |
spec.execution.serving | object | yes | — | Select the KServe runtime and deployment settings used for inference endpoints. Match the serving installation approved for this workspace. · maxProperties 1024 |
spec.execution.serving.autoscalerClass | string | no | "HPA" | Select the endpoint autoscaler. This release supports HPA, the Kubernetes Horizontal Pod Autoscaler. · enum ["HPA"] · maxLength 16384 |
spec.execution.serving.clusterLocal | boolean | no | true | Keep true. The supported serving deployment exposes inference endpoints within the cluster. |
spec.execution.serving.deploymentMode | string | no | "Standard" | Select how KServe deploys the endpoint. This release supports Standard mode. · enum ["Standard"] · maxLength 16384 |
spec.execution.serving.runtime | object | yes | — | Select the workspace ServingRuntime that hosts inference. Pin its specification to detect changes to the deployment. · maxProperties 1024 |
spec.execution.serving.runtime.name | string | yes | — | Use the Kubernetes name of the approved ServingRuntime in this namespace. Choose another name when adopting another approved runtime. · maxLength 253 |
spec.execution.serving.runtime.specDigest | string | yes | — | Pin the canonical identity and spec digest of the selected ServingRuntime. Update the digest after approving a runtime spec change. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
spec.execution.serving.storageHelperDisabled | boolean | no | true | Keep true. The supported custom predictor loads model artifacts without the KServe storage helper. |
The validation schema matches prokrust-crds 0.23.0-rc.1.