Skip to main content

SnapshotPreparation

Coordinates the table and graph snapshots needed for a graph at the requested coverage.

data.prokrust.ai/v1beta1 · Namespaced · snapshotpreparations

Controller status​

Conditions​

Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state.

ConditionWhat it tells you
DependenciesReadyReports whether the operator resolved its plan dependencies. Cancellation can also set this to true.
InputsBoundReports whether the preparation bound its inputs. Read status.resolvedPlanRef to locate the plan.
ProgressingReports active work on bound inputs. Check status.tables and status.graphSnapshot for the current step.
ReadyReports whether the operator verified the published graph snapshot. On success, read status.outputs.graphSnapshot.

For NeedsReview, inspect pinDiagnostic and lastPinMismatch. Some branches write a phase and diagnostic before they refresh conditions. Compare the condition generation with the preparation generation.

When plan storage is unavailable

A preparation that cannot load its plan reports the storage diagnostic in its dependency condition.

status:
conditions:
- type: DependenciesReady
status: "False"
reason: PlanStorageUnavailable
message: PlanStorageUnavailable
observedGeneration: 2

Inspect artifact storage access for the preparation. On recovery, check the plan reference and the child snapshot statuses.

SnapshotPreparation condition results and reasons

DependenciesReady​

Status and reasonWhat to check
False / DependencyObservationUnavailableCheck the Kubernetes dependency named in the diagnostic and retry the read.
False / ForbiddenCheck the permissions for the resource named in the preparation diagnostic.
False / PlanStorageUnavailableCheck access to the store that holds the preparation plan.
False / PlanValidationFailedRead the plan diagnostic and inspect the inputs it identifies.
False / WaitingForDependenciesCheck the pending connector and the readiness of its runtime.
True / BlockedRead the phase and diagnostic code, then inspect the child or pin identified there.
True / CancelledCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
True / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
True / FailedRead the phase and diagnostic code, then inspect the child or pin identified there.
True / InputsBoundThe operator stored the input plan. Check its reference before following the child snapshots.
True / PreparingFollow the table aliases in status.tables and the graph snapshot step to find the active child.
True / ReadyUse the graph snapshot name, UID, artifact digest, and data identity in the outputs.
False / The plan diagnostic in status.diagnosticCodeInspect the diagnostic and the failed resource or storage operation. A dependency lookup can supply its own reason.

InputsBound​

Status and reasonWhat to check
False / CancelledCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / DependencyObservationUnavailableCheck the Kubernetes dependency named in the diagnostic and retry the read.
False / ForbiddenCheck the permissions for the resource named in the preparation diagnostic.
False / PlanStorageUnavailableCheck access to the store that holds the preparation plan.
False / PlanValidationFailedRead the plan diagnostic and inspect the inputs it identifies.
False / WaitingForDependenciesCheck the pending connector and the readiness of its runtime.
True / BlockedRead the phase and diagnostic code, then inspect the child or pin identified there.
True / CancelledCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
True / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
True / FailedRead the phase and diagnostic code, then inspect the child or pin identified there.
True / InputsBoundThe operator stored the input plan. Check its reference before following the child snapshots.
True / PreparingFollow the table aliases in status.tables and the graph snapshot step to find the active child.
True / ReadyUse the graph snapshot name, UID, artifact digest, and data identity in the outputs.
False / The plan diagnostic in status.diagnosticCodeInspect the diagnostic and the failed resource or storage operation. A dependency lookup can supply its own reason.

Progressing​

Status and reasonWhat to check
False / BlockedRead the phase and diagnostic code, then inspect the child or pin identified there.
False / CancelledCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / DependencyObservationUnavailableCheck the Kubernetes dependency named in the diagnostic and retry the read.
False / FailedRead the phase and diagnostic code, then inspect the child or pin identified there.
False / ForbiddenCheck the permissions for the resource named in the preparation diagnostic.
False / PlanStorageUnavailableCheck access to the store that holds the preparation plan.
False / PlanValidationFailedRead the plan diagnostic and inspect the inputs it identifies.
False / ReadyUse the graph snapshot name, UID, artifact digest, and data identity in the outputs.
False / WaitingForDependenciesCheck the pending connector and the readiness of its runtime.
True / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
True / InputsBoundThe operator stored the input plan. Check its reference before following the child snapshots.
True / PreparingFollow the table aliases in status.tables and the graph snapshot step to find the active child.
False / The plan diagnostic in status.diagnosticCodeInspect the diagnostic and the failed resource or storage operation. A dependency lookup can supply its own reason.

Ready​

Status and reasonWhat to check
False / BlockedRead the phase and diagnostic code, then inspect the child or pin identified there.
False / CancelledCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / CancellingCheck the child steps and the plan reference to see which inputs were already bound when cancellation began.
False / DependencyObservationUnavailableCheck the Kubernetes dependency named in the diagnostic and retry the read.
False / FailedRead the phase and diagnostic code, then inspect the child or pin identified there.
False / ForbiddenCheck the permissions for the resource named in the preparation diagnostic.
False / InputsBoundThe operator stored the input plan. Check its reference before following the child snapshots.
False / PlanStorageUnavailableCheck access to the store that holds the preparation plan.
False / PlanValidationFailedRead the plan diagnostic and inspect the inputs it identifies.
False / PreparingFollow the table aliases in status.tables and the graph snapshot step to find the active child.
False / WaitingForDependenciesCheck the pending connector and the readiness of its runtime.
True / ReadyUse the graph snapshot name, UID, artifact digest, and data identity in the outputs.
False / The plan diagnostic in status.diagnosticCodeInspect the diagnostic and the failed resource or storage operation. A dependency lookup can supply its own reason.
Condition field meanings
FieldWhat to look for
typeNames the check. Use it to select the condition you want to inspect.
statusReports whether the named condition holds. Read the reason to see why.
reasonA short identifier for this outcome. Use it when comparing observations or filtering results.
messageWhen present, gives details about this object, such as the name of a dependency.
observedGenerationCompare with metadata.generation to see which version of the spec the controller checked.
lastTransitionTimeRecords the time of the last transition for this condition.
How to read status fields
FieldWhat it tells you
status.diagnosticCodeIdentifies the preparation problem. Inspect the affected step and any pin diagnostic for its expected and observed inputs.
status.graphSnapshotProgress of the preparation’s graph build step. Inspect the published output for the final graph snapshot.
status.lastPinMismatchRetained after recovery so the last exact mismatch remains explainable.
status.observedCommandIdMost recent retry command acknowledged by the controller. Match it with the submitted retry identifier.
status.observedCommandSequenceSequence of the last retry command acknowledged by the controller. Check it before submitting the next sequence.
status.observedGenerationResource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec.
status.outputsPublished output references. Use these to select a result by identity after the workload succeeds.
status.phaseCurrent stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped.
status.pinDiagnosticCurrent mismatch or missing observation for a pinned resource. Check the field, expected value, and observed value.
status.resolvedPlanRefReference to the preparation plan the controller accepted. Use it when diagnosing a change in pinned inputs.
status.tablesPreparation steps keyed by graph table alias. Inspect the relevant entry when one input is blocked.
Kubernetes schema for status

Required applies when the parent is present. A dash in the default column means the CRD declares no default.

FieldTypeRequiredDefaultSchema constraints and descriptions
statusobjectno—maxProperties 1024 · nullable true
status.conditionsarrayno—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[].lastTransitionTimestringyes—maxLength 2048
status.conditions[].messagestringyes—maxLength 1024
status.conditions[].observedGenerationintegeryes—format "int64"
status.conditions[].reasonstringyes—maxLength 128
status.conditions[].statusstringyes—enum ["True","False","Unknown"] · maxLength 2048
status.conditions[].typestringyes—maxLength 2048
status.diagnosticCodestringno—Identifies the preparation problem. Inspect the affected step and any pin diagnostic for its expected and observed inputs. · maxLength 2048 · nullable true
status.graphSnapshotobjectno—Progress of the preparation’s graph build step. Inspect the published output for the final graph snapshot. · maxProperties 1024 · nullable true
status.graphSnapshot.activeBuildRefobjectno—maxProperties 1024 · nullable true
status.graphSnapshot.activeBuildRef.namestringyes—Name of the SnapshotBuild attempt. Inspect that resource for its execution state. · maxLength 253
status.graphSnapshot.activeBuildRef.ordinalintegeryes—Attempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt. · format "uint32" · minimum 1
status.graphSnapshot.activeBuildRef.uidstringyes—UID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource. · maxLength 128
status.graphSnapshot.attemptintegeryes—format "uint32" · maximum 32 · minimum 0
status.graphSnapshot.diagnosticCodestringno—maxLength 2048 · nullable true
status.graphSnapshot.lastBuildRefobjectno—maxProperties 1024 · nullable true
status.graphSnapshot.lastBuildRef.namestringyes—Name of the SnapshotBuild attempt. Inspect that resource for its execution state. · maxLength 253
status.graphSnapshot.lastBuildRef.ordinalintegeryes—Attempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt. · format "uint32" · minimum 1
status.graphSnapshot.lastBuildRef.uidstringyes—UID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource. · maxLength 128
status.graphSnapshot.manualRetrySequenceintegerno—Manual retry authority is scoped to this exact selected step and command. · format "uint64" · minimum 0 · nullable true
status.graphSnapshot.phasestringyes—enum ["WaitingForDependencies","Resolving","PreparingTables","PreparingGraph","Pending","Running","Ready","Failed","NeedsReview","Cancelling","Cancelled","Blocked"] · maxLength 2048
status.graphSnapshot.reservedBuildNamestringno—maxLength 253 · nullable true
status.graphSnapshot.reservedBuildRequestRefobjectno—Exact launch recipe, retained until the child UID is acknowledged. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.graphSnapshot.reservedBuildRequestRef.digeststringyes—SHA-256 digest of the artifact contents. Compare it with the downloaded bytes to verify the artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$')
status.graphSnapshot.reservedBuildRequestRef.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.graphSnapshot.reservedBuildRequestRef.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.graphSnapshot.reservedBuildRequestRef.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.graphSnapshot.reservedRequestDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.graphSnapshot.retryAfterstringno—maxLength 2048 · nullable true
status.graphSnapshot.reusedbooleannofalse
status.graphSnapshot.snapshotNamestringyes—maxLength 253
status.graphSnapshot.snapshotRefobjectno—maxProperties 1024 · nullable true
status.graphSnapshot.snapshotRef.apiVersionstringyes—maxLength 2048
status.graphSnapshot.snapshotRef.executionDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.graphSnapshot.snapshotRef.kindstringyes—maxLength 2048
status.graphSnapshot.snapshotRef.namestringyes—maxLength 253
status.graphSnapshot.snapshotRef.recoveryOrdinalintegerno—format "int32" · nullable true
status.graphSnapshot.snapshotRef.uidstringyes—maxLength 128
status.lastPinMismatchobjectno—Retained after recovery so the last exact mismatch remains explainable. · maxProperties 1024 · nullable true
status.lastPinMismatch.expectedstringyes—maxLength 2048
status.lastPinMismatch.fieldstringyes—maxLength 2048
status.lastPinMismatch.kindstringyes—maxLength 2048
status.lastPinMismatch.namestringyes—maxLength 253
status.lastPinMismatch.observedstringno—maxLength 2048 · nullable true
status.observedCommandIdstringno—Most recent retry command acknowledged by the controller. Match it with the submitted retry identifier. · maxLength 2048 · nullable true
status.observedCommandSequenceintegerno0Sequence of the last retry command acknowledged by the controller. Check it before submitting the next sequence. · format "uint64" · minimum 0
status.observedGenerationintegerno—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.outputsobjectno{}Published output references. Use these to select a result by identity after the workload succeeds. · maxProperties 1024
status.outputs.graphSnapshotobjectno—Exact captured input; names alone never authorize graph input reuse. · maxProperties 1024 · nullable true
status.outputs.graphSnapshot.artifactDigeststringyes—Use the artifact digest from the snapshot publication. This checks that the build consumes the intended published artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.outputs.graphSnapshot.dataIdentitystringyes—Use the data identity from the same publication. This pins the selected source data. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.outputs.graphSnapshot.namestringyes—Workspace name of the snapshot. Check the UID as well when selecting a specific publication. · maxLength 253
status.outputs.graphSnapshot.uidstringyes—Kubernetes UID of the published snapshot. Use it to detect a replacement with the same name. · maxLength 128
status.phasestringno—Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. · enum ["WaitingForDependencies","Resolving","PreparingTables","PreparingGraph","Pending","Running","Ready","Failed","NeedsReview","Cancelling","Cancelled","Blocked",null] · maxLength 2048 · nullable true
status.pinDiagnosticobjectno—Current mismatch or missing observation for a pinned resource. Check the field, expected value, and observed value. · maxProperties 1024 · nullable true
status.pinDiagnostic.expectedstringyes—maxLength 2048
status.pinDiagnostic.fieldstringyes—maxLength 2048
status.pinDiagnostic.kindstringyes—maxLength 2048
status.pinDiagnostic.namestringyes—maxLength 253
status.pinDiagnostic.observedstringno—maxLength 2048 · nullable true
status.resolvedPlanRefobjectno—Reference to the preparation plan the controller accepted. Use it when diagnosing a change in pinned inputs. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.resolvedPlanRef.digeststringyes—SHA-256 digest of the artifact contents. Compare it with the downloaded bytes to verify the artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$')
status.resolvedPlanRef.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.resolvedPlanRef.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.resolvedPlanRef.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.tablesobjectno{}Preparation steps keyed by graph table alias. Inspect the relevant entry when one input is blocked. · maxProperties 64
status.tables[key]object——Reservation is persisted before creating the child; retry increments only this ordinal. · maxProperties 1024
status.tables[key].activeBuildRefobjectno—maxProperties 1024 · nullable true
status.tables[key].activeBuildRef.namestringyes—Name of the SnapshotBuild attempt. Inspect that resource for its execution state. · maxLength 253
status.tables[key].activeBuildRef.ordinalintegeryes—Attempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt. · format "uint32" · minimum 1
status.tables[key].activeBuildRef.uidstringyes—UID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource. · maxLength 128
status.tables[key].attemptintegeryes—format "uint32" · maximum 32 · minimum 0
status.tables[key].diagnosticCodestringno—maxLength 2048 · nullable true
status.tables[key].lastBuildRefobjectno—maxProperties 1024 · nullable true
status.tables[key].lastBuildRef.namestringyes—Name of the SnapshotBuild attempt. Inspect that resource for its execution state. · maxLength 253
status.tables[key].lastBuildRef.ordinalintegeryes—Attempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt. · format "uint32" · minimum 1
status.tables[key].lastBuildRef.uidstringyes—UID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource. · maxLength 128
status.tables[key].manualRetrySequenceintegerno—Manual retry authority is scoped to this exact selected step and command. · format "uint64" · minimum 0 · nullable true
status.tables[key].phasestringyes—enum ["WaitingForDependencies","Resolving","PreparingTables","PreparingGraph","Pending","Running","Ready","Failed","NeedsReview","Cancelling","Cancelled","Blocked"] · maxLength 2048
status.tables[key].reservedBuildNamestringno—maxLength 253 · nullable true
status.tables[key].reservedBuildRequestRefobjectno—Exact launch recipe, retained until the child UID is acknowledged. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.tables[key].reservedBuildRequestRef.digeststringyes—SHA-256 digest of the artifact contents. Compare it with the downloaded bytes to verify the artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$')
status.tables[key].reservedBuildRequestRef.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.tables[key].reservedBuildRequestRef.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.tables[key].reservedBuildRequestRef.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.tables[key].reservedRequestDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.tables[key].retryAfterstringno—maxLength 2048 · nullable true
status.tables[key].reusedbooleannofalse
status.tables[key].snapshotNamestringyes—maxLength 253
status.tables[key].snapshotRefobjectno—maxProperties 1024 · nullable true
status.tables[key].snapshotRef.apiVersionstringyes—maxLength 2048
status.tables[key].snapshotRef.executionDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.tables[key].snapshotRef.kindstringyes—maxLength 2048
status.tables[key].snapshotRef.namestringyes—maxLength 253
status.tables[key].snapshotRef.recoveryOrdinalintegerno—format "int32" · nullable true
status.tables[key].snapshotRef.uidstringyes—maxLength 128

Specification​

Choose a graph and coverage interval. For each table alias, select a published snapshot or configure a new build.

This resource requires coverage, graphRef, tables.

control​

Groups commands for a running preparation. Use it to cancel work or retry identified failed steps.

FieldWhen to use it
spec.control.cancelRequestedSet to true to request cancellation. Once requested, cancellation cannot be withdrawn.
spec.control.retryRequests a manual retry of selected failed builds. Inspect their names, UIDs, and attempt numbers before submitting.
spec.control.retry.commandIdAssign an identifier to this retry command. Keep it for a replay of the same command.
spec.control.retry.failedBuildRefsLists the exact failed attempts to retry. Include only the failures covered by this command.
spec.control.retry.failedBuildRefs[].nameName of the SnapshotBuild attempt. Inspect that resource for its execution state.
spec.control.retry.failedBuildRefs[].ordinalAttempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt.
spec.control.retry.failedBuildRefs[].uidUID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource.
spec.control.retry.resourceOverridesSet replacement compute resources for specific retries. Use a stable table alias as the key, or $graph for the graph step.
spec.control.retry.resourceOverrides[key].limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.control.retry.resourceOverrides[key].requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.
spec.control.retry.sequenceStart the first manual retry at 1. After the controller observes a command, increment by one for the next command.

coverage​

Sets the completeness interval for the preparation's table inputs. Set it to the interval required by downstream queries.

FieldWhen to use it
spec.coverage.completeFromSupply the UTC start when you know the earliest time with complete source data. Use it to bound historical queries.
spec.coverage.completeThroughSupply the latest UTC time through which the source is complete. Use the upstream completeness guarantee when selecting this bound.

execution​

Sets build concurrency, compute resources, and the retry policy. Adjust these when planning a preparation for a different workload.

FieldWhen to use it
spec.execution.graphResourcesSets the compute resources for the graph build. Increase its memory allocation if constructing the graph requires more memory.
spec.execution.graphResources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.execution.graphResources.requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.
spec.execution.maxConcurrentTableBuildsBounds how many table builds can run at once. Reduce it when capacity or source quotas limit parallel work.
spec.execution.retryPolicyControls automatic build attempts for a preparation. Configure it when a failed step can recover on retry.
spec.execution.retryPolicy.maxAttemptsCaps attempts per step, including the first. Set it to 1 when an automatic retry is unsuitable.
spec.execution.tableResourcesSets the compute resources for table builds. Use these shared settings when several inputs have similar requirements.
spec.execution.tableResources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.execution.tableResources.requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.

graphRef​

Selects the graph whose table aliases and relations determine the inputs for preparation.

FieldWhen to use it
spec.graphRef.expectedOptionally pins the graph identity that you reviewed. Supply these checks when the name could resolve to a different graph or definition.
spec.graphRef.expected.semanticDigestUse the Graph's published semantic digest when preparation must use a particular definition.
spec.graphRef.expected.uidUse the Graph's Kubernetes UID when preparation must use a particular resource instance.
spec.graphRef.nameUse the workspace name of the Graph to prepare.

tables​

Choose how to obtain a snapshot for each graph table alias. Use an existing publication or request a new build for each alias.

FieldWhen to use it
spec.tables[key].snapshotRefSelects an existing TableSnapshot to reuse for this alias. Use it when the required snapshot has already been published.
spec.tables[key].snapshotRef.expectedPins the identity of the snapshot selected for reuse. Supply the expected values from the published snapshot.
spec.tables[key].snapshotRef.expected.artifactDigestUse the published artifact digest to require the same artifact bytes.
spec.tables[key].snapshotRef.expected.dataIdentityCopy the data identity from the expected snapshot publication when the workload must use that exact dataset.
spec.tables[key].snapshotRef.expected.uidCopy the snapshot’s Kubernetes UID to require the exact resource instance.
spec.tables[key].snapshotRef.nameUse the name of the published TableSnapshot in the workspace.
spec.tables[key].snapshotTemplateRequests a new snapshot for this alias. An empty template uses the preparation's table-build settings.
spec.tables[key].snapshotTemplate.resourcesOverrides the shared compute resources for this alias. Use a larger allocation for an unusually large table.
spec.tables[key].snapshotTemplate.resources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.tables[key].snapshotTemplate.resources.requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.
Kubernetes schema for spec

Required applies when the parent is present. A dash in the default column means the CRD declares no default.

FieldTypeRequiredDefaultSchema constraints and descriptions
specobjectyes—Choose a graph and coverage interval. For each table alias, select a published snapshot or configure a new build. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.controlobjectno{"cancelRequested":false}Groups commands for a running preparation. Use it to cancel work or retry identified failed steps. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.control.cancelRequestedbooleannofalseSet to true to request cancellation. Once requested, cancellation cannot be withdrawn.
spec.control.retryobjectno—Requests a manual retry of selected failed builds. Inspect their names, UIDs, and attempt numbers before submitting. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.control.retry.commandIdstringyes—Assign an identifier to this retry command. Keep it for a replay of the same command. · maxLength 64 · minLength 8
spec.control.retry.failedBuildRefsarrayyes—Lists the exact failed attempts to retry. Include only the failures covered by this command. · maxItems 65 · minItems 1
spec.control.retry.failedBuildRefs[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.control.retry.failedBuildRefs[].namestringyes—Name of the SnapshotBuild attempt. Inspect that resource for its execution state. · maxLength 253
spec.control.retry.failedBuildRefs[].ordinalintegeryes—Attempt number for this snapshot. Compare it with the selected build when inspecting or retrying an attempt. · format "uint32" · minimum 1
spec.control.retry.failedBuildRefs[].uidstringyes—UID of the SnapshotBuild. Match this value to distinguish a specific attempt from a replacement resource. · maxLength 128
spec.control.retry.resourceOverridesobjectno—Set replacement compute resources for specific retries. Use a stable table alias as the key, or $graph for the graph step. · maxProperties 65 · x-kubernetes-preserve-unknown-fields true
spec.control.retry.resourceOverrides[key]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.control.retry.resourceOverrides[key].limitsobjectno—Set the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.control.retry.resourceOverrides[key].limits[key]string——maxLength 16384
spec.control.retry.resourceOverrides[key].requestsobjectyes—Set the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.control.retry.resourceOverrides[key].requests[key]string——maxLength 16384
spec.control.retry.sequenceintegeryes—Start the first manual retry at 1. After the controller observes a command, increment by one for the next command. · format "uint64" · maximum 9007199254740991 · minimum 1
spec.coverageobjectyes—Sets the completeness interval for the preparation's table inputs. Set it to the interval required by downstream queries. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.completeThrough.endsWith('Z') && timestamp(self.completeThrough) == timestamp(self.completeThrough) · !has(self.completeFrom) || (self.completeFrom.endsWith('Z') && timestamp(self.completeFrom) < timestamp(self.completeThrough))
spec.coverage.completeFromstringno—Supply the UTC start when you know the earliest time with complete source data. Use it to bound historical queries. · maxLength 16384 · nullable true
spec.coverage.completeThroughstringyes—Supply the latest UTC time through which the source is complete. Use the upstream completeness guarantee when selecting this bound. · maxLength 16384
spec.executionobjectno{"maxConcurrentTableBuilds":4,"retryPolicy":{"maxAttempts":3}}Sets build concurrency, compute resources, and the retry policy. Adjust these when planning a preparation for a different workload. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.execution.graphResourcesobjectno—Sets the compute resources for the graph build. Increase its memory allocation if constructing the graph requires more memory. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.execution.graphResources.limitsobjectno—Set the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.execution.graphResources.limits[key]string——maxLength 16384
spec.execution.graphResources.requestsobjectyes—Set the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.execution.graphResources.requests[key]string——maxLength 16384
spec.execution.maxConcurrentTableBuildsintegerno4Bounds how many table builds can run at once. Reduce it when capacity or source quotas limit parallel work. · format "uint32" · maximum 64 · minimum 1
spec.execution.retryPolicyobjectno{"maxAttempts":3}Controls automatic build attempts for a preparation. Configure it when a failed step can recover on retry. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.execution.retryPolicy.maxAttemptsintegerno3Caps attempts per step, including the first. Set it to 1 when an automatic retry is unsuitable. · format "uint32" · maximum 32 · minimum 1
spec.execution.tableResourcesobjectno—Sets the compute resources for table builds. Use these shared settings when several inputs have similar requirements. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.execution.tableResources.limitsobjectno—Set the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.execution.tableResources.limits[key]string——maxLength 16384
spec.execution.tableResources.requestsobjectyes—Set the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.execution.tableResources.requests[key]string——maxLength 16384
spec.graphRefobjectyes—Selects the graph whose table aliases and relations determine the inputs for preparation. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.graphRef.expectedobjectno—Optionally pins the graph identity that you reviewed. Supply these checks when the name could resolve to a different graph or definition. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.graphRef.expected.semanticDigeststringno—Use the Graph's published semantic digest when preparation must use a particular definition. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
spec.graphRef.expected.uidstringno—Use the Graph's Kubernetes UID when preparation must use a particular resource instance. · maxLength 128 · minLength 1 · nullable true
spec.graphRef.namestringyes—Use the workspace name of the Graph to prepare. · maxLength 253 · minLength 1
spec.tablesobjectyes—Choose how to obtain a snapshot for each graph table alias. Use an existing publication or request a new build for each alias. · maxProperties 64 · minProperties 1 · x-kubernetes-map-type "granular" · x-kubernetes-preserve-unknown-fields true
spec.tables[key]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · has(self.snapshotRef) != has(self.snapshotTemplate) · !has(self.snapshotRef) || self.snapshotRef != null · !has(self.snapshotTemplate) || self.snapshotTemplate != null
spec.tables[key].snapshotRefobjectno—Selects an existing TableSnapshot to reuse for this alias. Use it when the required snapshot has already been published. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.tables[key].snapshotRef.expectedobjectno—Pins the identity of the snapshot selected for reuse. Supply the expected values from the published snapshot. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true · has(self.artifactDigest) == has(self.dataIdentity)
spec.tables[key].snapshotRef.expected.artifactDigeststringno—Use the published artifact digest to require the same artifact bytes. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
spec.tables[key].snapshotRef.expected.dataIdentitystringno—Copy the data identity from the expected snapshot publication when the workload must use that exact dataset. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
spec.tables[key].snapshotRef.expected.uidstringno—Copy the snapshot’s Kubernetes UID to require the exact resource instance. · maxLength 128 · minLength 1 · nullable true
spec.tables[key].snapshotRef.namestringyes—Use the name of the published TableSnapshot in the workspace. · maxLength 253 · minLength 1
spec.tables[key].snapshotTemplateobjectno—Requests a new snapshot for this alias. An empty template uses the preparation's table-build settings. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.tables[key].snapshotTemplate.resourcesobjectno—Overrides the shared compute resources for this alias. Use a larger allocation for an unusually large table. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.tables[key].snapshotTemplate.resources.limitsobjectno—Set the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.tables[key].snapshotTemplate.resources.limits[key]string——maxLength 16384
spec.tables[key].snapshotTemplate.resources.requestsobjectyes—Set the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.tables[key].snapshotTemplate.resources.requests[key]string——maxLength 16384

The validation schema matches prokrust-crds 0.23.0-rc.1.