Skip to main content

PredictionRun

Runs a prediction query for a population using a model and graph snapshot, and records the output.

ml.prokrust.ai/v1beta1 · Namespaced · predictionruns

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
AcceptedReports whether the controller accepted the execution specification.
DependenciesReadyReports whether the model, graph snapshot, query, and output dependencies allow this run to proceed.
InputsBoundReports whether the controller recorded the exact source identities in status.sourceBindings.
LicenseReadyAppears when license admission delays execution. The reason identifies activation or capacity.
ReadyReports whether this run succeeded and published a verified prediction output.

Follow status.workflowRef to the execution attempt. During Committing, the controller verifies the result before publication. For a failed run, read status.failure and its suggested action when present. Use status.failureHistory to inspect earlier failures.

Execution succeeded

These conditions are written when the run reaches the Succeeded phase.

status:
conditions:
- type: Accepted
status: "True"
reason: ValidSpec
message: PredictionRun spec is valid.
observedGeneration: 1
- type: DependenciesReady
status: "True"
reason: Ready
message: PredictionRun dependencies are ready.
observedGeneration: 1
- type: Ready
status: "True"
reason: Ready
message: PredictionRun succeeded and output is verified.
observedGeneration: 1

Read status.result for the verified prediction output.

PredictionRun condition results and reasons

Accepted​

Status and reasonWhat to check
True / ValidSpecThe run specification passed its check. Read the current dependency and progress conditions.

DependenciesReady​

Status and reasonWhat to check
False / AuthorizationResponseMalformedInspect the Kubernetes access review response and the authorization configuration.
False / AuthorizationUnavailableThe access check could not complete. Check connectivity and permissions for SubjectAccessReview.
False / BlockedCheck the model, graph snapshot, query, or output connection named in the message.
False / BoundOutputMissingThe output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings.
False / BoundProducerMissingThe bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings.
False / DependencyNotFoundCreate the named source in the workspace or correct the source reference.
False / ExpectedOutputMismatchCompare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity.
False / ExpectedProducerUidMismatchThe producer UID differs from the expected UID. Confirm which object the request should use.
False / ForbiddenGrant the submitting identity access to the resource named in the message.
False / InputChangedThe producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings.
False / LoadedModelIdentityMismatchThe loaded model artifact digest differs from the published digest. Inspect the Model publication and loaded identity.
False / ModelProvenanceChangedThe Model identifies a different producing TrainingRun. Compare its spec.trainingRunRef with the bound producer identity.
False / ModelProvenanceMissingThe source lacks the producing TrainingRun identity. Inspect the model or study winner reference.
False / OutputIdentityChangedThe output no longer matches its bound identity. Compare its UID and artifact digest with the binding. For a graph snapshot, also compare the data identity.
False / OutputMalformedThe published output reference or digest is incomplete. Inspect the producer and its published output.
False / OutputMissingThe producer has no reference to the requested output. Inspect its status.outputs.
False / OutputNotReadyThe bound output is unavailable at the current generation. Inspect its conditions and phase.
False / ProducerNotReadyThe source has not reached its successful phase at the current generation. Inspect its conditions.
False / PublicationMissingThe GraphSnapshot has no publication record. Inspect its build and publication status.
False / SourceBindingMismatchCompare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings.
False / StudyWinnerNotFinalThe TrainingStudy has not finalized its winning Model. Inspect status.winner and status.pendingTrial.
False / UpstreamFailedThe source reached an unsuccessful phase. Read its status and failure details.
True / InputsBoundThe controller recorded the source identities. Inspect status.sourceBindings before following execution.
True / ReadyThe run dependencies resolved. Use status.workflowRef to locate the current execution attempt.

InputsBound​

Status and reasonWhat to check
False / AuthorizationResponseMalformedInspect the Kubernetes access review response and the authorization configuration.
False / AuthorizationUnavailableThe access check could not complete. Check connectivity and permissions for SubjectAccessReview.
False / BoundOutputMissingThe output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings.
False / BoundProducerMissingThe bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings.
False / DependencyNotFoundCreate the named source in the workspace or correct the source reference.
False / ExpectedOutputMismatchCompare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity.
False / ExpectedProducerUidMismatchThe producer UID differs from the expected UID. Confirm which object the request should use.
False / ForbiddenGrant the submitting identity access to the resource named in the message.
False / InputChangedThe producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings.
False / LoadedModelIdentityMismatchThe loaded model artifact digest differs from the published digest. Inspect the Model publication and loaded identity.
False / ModelProvenanceChangedThe Model identifies a different producing TrainingRun. Compare its spec.trainingRunRef with the bound producer identity.
False / ModelProvenanceMissingThe source lacks the producing TrainingRun identity. Inspect the model or study winner reference.
False / OutputIdentityChangedThe output no longer matches its bound identity. Compare its UID and artifact digest with the binding. For a graph snapshot, also compare the data identity.
False / OutputMalformedThe published output reference or digest is incomplete. Inspect the producer and its published output.
False / OutputMissingThe producer has no reference to the requested output. Inspect its status.outputs.
False / OutputNotReadyThe bound output is unavailable at the current generation. Inspect its conditions and phase.
False / ProducerNotReadyThe source has not reached its successful phase at the current generation. Inspect its conditions.
False / PublicationMissingThe GraphSnapshot has no publication record. Inspect its build and publication status.
False / SourceBindingMismatchCompare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings.
False / StudyWinnerNotFinalThe TrainingStudy has not finalized its winning Model. Inspect status.winner and status.pendingTrial.
False / UpstreamFailedThe source reached an unsuccessful phase. Read its status and failure details.
True / InputsBoundThe controller recorded the source identities. Inspect status.sourceBindings before following execution.

LicenseReady​

Status and reasonWhat to check
False / LicenseCapacityUnavailableCheck the installation capacity and any prior attempts still holding slots.
False / LicensePendingAsk the installation administrator to inspect activation and admission readiness.

Ready​

Status and reasonWhat to check
False / AuthorizationResponseMalformedInspect the Kubernetes access review response and the authorization configuration.
False / AuthorizationUnavailableThe access check could not complete. Check connectivity and permissions for SubjectAccessReview.
False / BoundOutputMissingThe output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings.
False / BoundProducerMissingThe bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings.
False / DependencyNotFoundCreate the named source in the workspace or correct the source reference.
False / ExpectedOutputMismatchCompare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity.
False / ExpectedProducerUidMismatchThe producer UID differs from the expected UID. Confirm which object the request should use.
False / ForbiddenGrant the submitting identity access to the resource named in the message.
False / InputChangedThe producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings.
False / InputsBoundThe controller recorded the source identities. Inspect status.sourceBindings before following execution.
False / LoadedModelIdentityMismatchThe loaded model artifact digest differs from the published digest. Inspect the Model publication and loaded identity.
False / ModelProvenanceChangedThe Model identifies a different producing TrainingRun. Compare its spec.trainingRunRef with the bound producer identity.
False / ModelProvenanceMissingThe source lacks the producing TrainingRun identity. Inspect the model or study winner reference.
False / NotReadyInspect status.phase to distinguish execution in progress, failure, and cancellation. For a failed run, read status.failure.
False / OutputIdentityChangedThe output no longer matches its bound identity. Compare its UID and artifact digest with the binding. For a graph snapshot, also compare the data identity.
False / OutputMalformedThe published output reference or digest is incomplete. Inspect the producer and its published output.
False / OutputMissingThe producer has no reference to the requested output. Inspect its status.outputs.
False / OutputNotReadyThe bound output is unavailable at the current generation. Inspect its conditions and phase.
False / ProducerNotReadyThe source has not reached its successful phase at the current generation. Inspect its conditions.
False / PublicationMissingThe GraphSnapshot has no publication record. Inspect its build and publication status.
False / SourceBindingMismatchCompare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings.
False / StudyWinnerNotFinalThe TrainingStudy has not finalized its winning Model. Inspect status.winner and status.pendingTrial.
False / UpstreamFailedThe source reached an unsuccessful phase. Read its status and failure details.
True / ReadyUse status.result to identify the verified prediction output.
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.ballistaObservations about distributed query attempts and their cleanup. Inspect them before retrying work with uncertain termination.
status.diagnosticsController findings about this resource. Use the message and field, when available, to locate a validation or execution problem.
status.executionDigestIdentifies the resolved inputs for this execution. Compare it when matching an attempt with its recorded inputs.
status.failureRecorded failure details. Inspect the reason and message to locate the failed operation.
status.failureHistorySuperseded failures retained for bounded retry history, not active errors.
status.finishedAtTime the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time.
status.inputReference to the recorded execution input. Use it to trace the input actually passed to a workflow.
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.policyRefPolicy revision used for this execution. Inspect it to trace the rules applied to the workload.
status.progressExecution progress reported by the workflow. Inspect it to locate work that is waiting or still running.
status.publicationCurrent publication state. Inspect the committed artifact when selecting the completed output of this workflow.
status.recoveryCountNumber of recorded recoveries. Inspect it when a workflow repeatedly resumes after a failure.
status.resultReference to the published result when available. Inspect the artifact to retrieve the completed output.
status.sourceBindingsResource identities and publications selected from the configured sources. Inspect them to trace the exact inputs.
status.sourceResolutionRecorded source resolution. Inspect it to identify the data selected for this operation.
status.startedAtTime the controller recorded the start of execution. Use it when investigating an active or delayed operation.
status.trainingDiagnosticsDiagnostics recorded for training. Inspect them to investigate the training inputs, evaluation, or model result.
status.workflowRefReference to the workload workflow. Inspect that workflow when a run waits, fails, or needs cleanup.
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.ballistaobjectno—Observations about distributed query attempts and their cleanup. Inspect them before retrying work with uncertain termination. · maxProperties 1024 · nullable true
status.ballista.dispositionstringyes—enum ["Unknown","Clean","Ambiguous"] · maxLength 2048
status.ballista.queryAttemptIdsarrayyes—maxItems 64
status.ballista.queryAttemptIds[]string——maxLength 2048
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.diagnosticsarrayno—Controller findings about this resource. Use the message and field, when available, to locate a validation or execution problem. · maxItems 12
status.diagnostics[]object——maxProperties 1024
status.diagnostics[].codestringyes—maxLength 128
status.diagnostics[].fieldstringno—maxLength 2048 · nullable true
status.diagnostics[].messagestringyes—maxLength 1024
status.diagnostics[].relatedResourceobjectno—maxProperties 1024 · nullable true
status.diagnostics[].relatedResource.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
status.diagnostics[].severitystringyes—enum ["Error","Warning","Info"] · maxLength 2048
status.diagnostics[].sourceSpanobjectno—maxProperties 1024 · nullable true
status.diagnostics[].sourceSpan.endByteintegeryes—format "int64"
status.diagnostics[].sourceSpan.endColumnintegeryes—format "int64"
status.diagnostics[].sourceSpan.endLineintegeryes—format "int64"
status.diagnostics[].sourceSpan.startByteintegeryes—format "int64"
status.diagnostics[].sourceSpan.startColumnintegeryes—format "int64"
status.diagnostics[].sourceSpan.startLineintegeryes—format "int64"
status.executionDigeststringno—Identifies the resolved inputs for this execution. Compare it when matching an attempt with its recorded inputs. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.failureobjectno—Recorded failure details. Inspect the reason and message to locate the failed operation. · maxProperties 1024 · nullable true
status.failure.atstringyes—maxLength 2048
status.failure.codestringyes—maxLength 128
status.failure.detailsobjectno—maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.failure.details.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.failure.details.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.failure.details.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.failure.details.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.failure.messagestringyes—maxLength 1024
status.failure.relatedResourceobjectno—Exact related resource identity in the same namespace as the status owner. · maxProperties 1024 · nullable true
status.failure.relatedResource.apiVersionstringyes—maxLength 2048
status.failure.relatedResource.executionDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.failure.relatedResource.kindstringyes—maxLength 2048
status.failure.relatedResource.namestringyes—maxLength 253
status.failure.relatedResource.recoveryOrdinalintegerno—format "int32" · nullable true
status.failure.relatedResource.uidstringyes—maxLength 128
status.failure.retryablebooleanyes—
status.failure.stagestringno—Safe execution stage identifier, when the failing stage is known. · maxLength 2048 · nullable true
status.failure.suggestedActionstringno—Actionable guidance without credentials or raw provider response bodies. · maxLength 2048 · nullable true
status.failureHistoryarrayno—Superseded failures retained for bounded retry history, not active errors. · maxItems 32
status.failureHistory[]object——maxProperties 1024
status.failureHistory[].atstringyes—maxLength 2048
status.failureHistory[].codestringyes—maxLength 128
status.failureHistory[].detailsobjectno—maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.failureHistory[].details.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.failureHistory[].details.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.failureHistory[].details.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.failureHistory[].details.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.failureHistory[].messagestringyes—maxLength 1024
status.failureHistory[].relatedResourceobjectno—Exact related resource identity in the same namespace as the status owner. · maxProperties 1024 · nullable true
status.failureHistory[].relatedResource.apiVersionstringyes—maxLength 2048
status.failureHistory[].relatedResource.executionDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.failureHistory[].relatedResource.kindstringyes—maxLength 2048
status.failureHistory[].relatedResource.namestringyes—maxLength 253
status.failureHistory[].relatedResource.recoveryOrdinalintegerno—format "int32" · nullable true
status.failureHistory[].relatedResource.uidstringyes—maxLength 128
status.failureHistory[].retryablebooleanyes—
status.failureHistory[].stagestringno—Safe execution stage identifier, when the failing stage is known. · maxLength 2048 · nullable true
status.failureHistory[].suggestedActionstringno—Actionable guidance without credentials or raw provider response bodies. · maxLength 2048 · nullable true
status.finishedAtstringno—Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. · maxLength 2048 · nullable true
status.inputobjectno—Reference to the recorded execution input. Use it to trace the input actually passed to a workflow. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.input.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.input.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.input.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.input.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
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.modelobjectno—maxProperties 1024 · nullable true
status.outputs.model.artifactDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.outputs.model.namestringyes—maxLength 253
status.outputs.model.uidstringyes—maxLength 128
status.phasestringno—Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. · enum ["Pending","Validating","Freezing","WaitingForProducerCapacity","Queued","Running","Verifying","Committing","Succeeded","Cancelling","Cancelled","Failed","Deleting",null] · maxLength 2048 · nullable true
status.policyRefobjectno—Policy revision used for this execution. Inspect it to trace the rules applied to the workload. · maxProperties 1024 · nullable true
status.policyRef.generationintegeryes—format "int64"
status.policyRef.namestringyes—maxLength 253
status.policyRef.releaseLockobjectyes—maxProperties 1024
status.policyRef.releaseLock.digeststringyes—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.policyRef.releaseLock.uristringyes—Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048
status.policyRef.semanticDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$')
status.policyRef.uidstringyes—maxLength 128
status.progressobjectno—Execution progress reported by the workflow. Inspect it to locate work that is waiting or still running. · maxProperties 1024 · nullable true
status.progress.activeUnitsintegerno—format "uint32" · maximum 4096 · minimum 0 · nullable true
status.progress.completedUnitsintegerno—format "uint32" · maximum 4096 · minimum 0 · nullable true
status.progress.pendingUnitsintegerno—format "uint32" · maximum 4096 · minimum 0 · nullable true
status.progress.plannedUnitsintegerno—format "uint32" · maximum 4096 · minimum 0 · nullable true
status.progress.waitingForCapacityPodsintegerno—format "uint32" · maximum 4096 · minimum 0 · nullable true
status.publicationobjectno—Current publication state. Inspect the committed artifact when selecting the completed output of this workflow. · maxProperties 1024 · nullable true
status.publication.candidateobjectno—maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.publication.candidate.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.publication.candidate.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.publication.candidate.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.publication.candidate.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.publication.committedobjectno—maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.publication.committed.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.publication.committed.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.publication.committed.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.publication.committed.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.publication.phasestringyes—enum ["None","Candidate","Committed","Rejected"] · maxLength 2048
status.recoveryCountintegerno—Number of recorded recoveries. Inspect it when a workflow repeatedly resumes after a failure. · format "int32" · nullable true
status.resultobjectno—Reference to the published result when available. Inspect the artifact to retrieve the completed output. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.result.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.result.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.result.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.result.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.sourceBindingsobjectno{}Resource identities and publications selected from the configured sources. Inspect them to trace the exact inputs. · maxProperties 1024
status.sourceBindings.graphSnapshotobjectno—maxProperties 1024 · nullable true
status.sourceBindings.graphSnapshot.outputobjectno—Exact captured input; names alone never authorize graph input reuse. · maxProperties 1024 · nullable true
status.sourceBindings.graphSnapshot.output.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.sourceBindings.graphSnapshot.output.dataIdentitystringyes—Use the data identity from the same publication. This pins the selected source data. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.sourceBindings.graphSnapshot.output.namestringyes—Workspace name of the snapshot. Check the UID as well when selecting a specific publication. · maxLength 253
status.sourceBindings.graphSnapshot.output.uidstringyes—Kubernetes UID of the published snapshot. Use it to detect a replacement with the same name. · maxLength 128
status.sourceBindings.graphSnapshot.producerobjectyes—Persist before waiting on output. Never adopt another UID after this point. · maxProperties 1024
status.sourceBindings.graphSnapshot.producer.intentDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.sourceBindings.graphSnapshot.producer.kindstringyes—maxLength 32 · minLength 1 · pattern "^(SnapshotPreparation|GraphSnapshot|TrainingStudy|TrainingRun|Model)$"
status.sourceBindings.graphSnapshot.producer.namestringyes—maxLength 253 · minLength 1
status.sourceBindings.graphSnapshot.producer.uidstringyes—maxLength 128 · minLength 1
status.sourceBindings.modelobjectno—maxProperties 1024 · nullable true
status.sourceBindings.model.outputobjectno—maxProperties 1024 · nullable true
status.sourceBindings.model.output.artifactDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.sourceBindings.model.output.namestringyes—maxLength 253
status.sourceBindings.model.output.uidstringyes—maxLength 128
status.sourceBindings.model.producerobjectyes—Persist before waiting on output. Never adopt another UID after this point. · maxProperties 1024
status.sourceBindings.model.producer.intentDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.sourceBindings.model.producer.kindstringyes—maxLength 32 · minLength 1 · pattern "^(SnapshotPreparation|GraphSnapshot|TrainingStudy|TrainingRun|Model)$"
status.sourceBindings.model.producer.namestringyes—maxLength 253 · minLength 1
status.sourceBindings.model.producer.uidstringyes—maxLength 128 · minLength 1
status.sourceBindings.model.trainingRunobjectno—maxProperties 1024 · nullable true
status.sourceBindings.model.trainingRun.namestringyes—Workspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer. · maxLength 253
status.sourceBindings.model.trainingRun.uidstringyes—Kubernetes UID of that TrainingRun. Use it to detect a replacement with the same name. · maxLength 128
status.sourceResolutionobjectno—Recorded source resolution. Inspect it to identify the data selected for this operation. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.sourceResolution.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.sourceResolution.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.sourceResolution.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.sourceResolution.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.startedAtstringno—Time the controller recorded the start of execution. Use it when investigating an active or delayed operation. · maxLength 2048 · nullable true
status.trainingDiagnosticsobjectno—Diagnostics recorded for training. Inspect them to investigate the training inputs, evaluation, or model result. · maxProperties 1024 · nullable true
status.trainingDiagnostics.attemptRootstringyes—maxLength 2048
status.trainingDiagnostics.attemptsarrayno—maxItems 96
status.trainingDiagnostics.attempts[]object——A trainer Pod observed through the exact owner Workflow and Argo retry node. · maxProperties 1024
status.trainingDiagnostics.attempts[].manifestobjectno—maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.trainingDiagnostics.attempts[].manifest.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.trainingDiagnostics.attempts[].manifest.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.trainingDiagnostics.attempts[].manifest.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.trainingDiagnostics.attempts[].manifest.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.trainingDiagnostics.attempts[].phasestringyes—enum ["Pending","Validating","Freezing","WaitingForProducerCapacity","Queued","Running","Verifying","Committing","Succeeded","Cancelling","Cancelled","Failed","Deleting"] · maxLength 2048
status.trainingDiagnostics.attempts[].recoveryOrdinalintegeryes—format "uint32" · minimum 0
status.trainingDiagnostics.attempts[].retryOrdinalintegeryes—format "uint32" · minimum 0
status.trainingDiagnostics.attempts[].uidstringyes—maxLength 128
status.trainingDiagnostics.attempts[].workflowUidstringyes—maxLength 128
status.trainingDiagnostics.sealedobjectno—A sealed, immutable history attached to the verified training publication. · maxProperties 1024 · nullable true
status.trainingDiagnostics.sealed.attemptUidstringyes—maxLength 128
status.trainingDiagnostics.sealed.manifestobjectyes—maxProperties 1024 · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.trainingDiagnostics.sealed.manifest.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.trainingDiagnostics.sealed.manifest.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.trainingDiagnostics.sealed.manifest.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.trainingDiagnostics.sealed.manifest.uristringyes—Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048
status.trainingDiagnostics.storeobjectyes—maxProperties 1024
status.trainingDiagnostics.store.generationintegeryes—Copy the selected resource’s Kubernetes generation to pin the revision that this operation uses. · format "int64"
status.trainingDiagnostics.store.namestringyes—Use the name of the selected resource in the workspace. · maxLength 253
status.trainingDiagnostics.store.semanticDigeststringyes—Use the published semantic digest to require the reviewed resource definition. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$')
status.trainingDiagnostics.store.uidstringyes—Copy the selected resource’s Kubernetes UID to detect replacement under the same name. · maxLength 128
status.workflowRefobjectno—Reference to the workload workflow. Inspect that workflow when a run waits, fails, or needs cleanup. · maxProperties 1024 · nullable true
status.workflowRef.apiVersionstringyes—maxLength 2048
status.workflowRef.executionDigeststringno—maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
status.workflowRef.kindstringyes—maxLength 2048
status.workflowRef.namestringyes—maxLength 253
status.workflowRef.recoveryOrdinalintegerno—format "int32" · nullable true
status.workflowRef.uidstringyes—maxLength 128

Specification​

Select a model, graph snapshot, and query. Set the population and destination for this batch of predictions.

This resource requires graphSnapshotSource, modelSource, output, resources.

anchorTime​

Set the observation time for a temporal prediction. Use the point in time for which predictions are needed.

graphSnapshotSource​

Select the graph snapshot for this workload. Use a producer resource to consume its published output.

FieldWhen to use it
spec.graphSnapshotSource.expectedSupply the expected identities when the workload must use a previously reviewed source or output.
spec.graphSnapshotSource.expected.outputPin the resolved output when a producer must return a specific graph snapshot.
spec.graphSnapshotSource.expected.output.artifactDigestUse the published artifact digest to require the same artifact bytes.
spec.graphSnapshotSource.expected.output.dataIdentityCopy the data identity from the expected snapshot publication when the workload must use that exact dataset.
spec.graphSnapshotSource.expected.output.uidCopy the snapshot’s Kubernetes UID to require the exact resource instance.
spec.graphSnapshotSource.expected.producerUidPin the producer’s Kubernetes UID to detect deletion and recreation under the same name.
spec.graphSnapshotSource.kindUse the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation.
spec.graphSnapshotSource.nameUse the Kubernetes name of that resource in this workspace. Choose another name to use a different graph snapshot source.

modelSource​

Select the model for this workload. Use a producer resource to consume its published output.

FieldWhen to use it
spec.modelSource.expectedSupply the expected identities when the workload must use a previously reviewed source or output.
spec.modelSource.expected.outputPin the resolved output when a producer must return a specific model.
spec.modelSource.expected.output.artifactDigestUse the published artifact digest when the workload must consume the same artifact bytes.
spec.modelSource.expected.output.uidUse the output resource’s Kubernetes UID to detect a replacement with the same name.
spec.modelSource.expected.producerUidPin the producer’s Kubernetes UID to detect deletion and recreation under the same name.
spec.modelSource.kindUse the Kubernetes kind of the selected resource. Supported kinds are Model, TrainingRun, and TrainingStudy.
spec.modelSource.nameUse the Kubernetes name of that resource in this workspace. Choose another name to use a different model source.

output​

Set the output representation, partition count, and optional external destination for predictions.

FieldWhen to use it
spec.output.destinationConfigure an external write target when predictions must go to a source system.
spec.output.destination.connectionRefSelect a connection in this workspace that can write to the destination.
spec.output.destination.connectionRef.apiVersionCopy the API group and version from the selected connection. Different providers can use different API groups.
spec.output.destination.connectionRef.kindCopy the Kubernetes kind from the selected connection to select its provider resource type.
spec.output.destination.connectionRef.nameUse the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope.
spec.output.destination.datasetChoose the BigQuery dataset that contains the destination table.
spec.output.destination.prefixChoose the object key prefix under which to write the exported prediction files.
spec.output.destination.stagingConnectionRefFor a BigQuery export with an S3 artifact store, select a workspace GCSConnection (google.sources.prokrust.ai/v1beta1) that can write the staging objects. A GCS artifact store can provide staging if you omit this reference.
spec.output.destination.stagingConnectionRef.apiVersionCopy the API group and version from the selected connection. Different providers can use different API groups.
spec.output.destination.stagingConnectionRef.kindCopy the Kubernetes kind from the selected connection to select its provider resource type.
spec.output.destination.stagingConnectionRef.nameUse the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope.
spec.output.destination.tableSelect the BigQuery table that should receive these predictions.
spec.output.destination.typeSelect S3 or GCS for object storage, or BigQuery for a destination table.
spec.output.destination.writeModeFor BigQuery, omission uses WriteIfEmpty. Select Append to add rows or Overwrite to replace the contents. Both require explicit workspace policy permission.
spec.output.formatChoose Parquet for typed columnar output, or Csv or Tsv for a consumer that expects delimited text.
spec.output.partitionCountSet the number of output partitions. Adjust it for the output size and downstream reader.

population​

Choose AllEligible to include rows with labels. Omission selects missing static labels for a static prediction task.

predictorResources​

Set Kubernetes resource quantities for the batch predictor. Size them for this workload and the namespace quota.

FieldWhen to use it
spec.predictorResources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.predictorResources.requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.

queryRef​

Select a compatible scoring query. Omit it to use the model’s training query.

FieldWhen to use it
spec.queryRef.nameKubernetes name of the referenced object in the same namespace. Use its metadata.name.

resources​

Set Kubernetes resource quantities for the prediction workflow. Size them for this workload and the namespace quota.

FieldWhen to use it
spec.resources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.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—Select a model, graph snapshot, and query. Set the population and destination for this batch of predictions. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.output.partitionCount > 0
spec.anchorTimestringno—Set the observation time for a temporal prediction. Use the point in time for which predictions are needed. · maxLength 16384 · nullable true
spec.graphSnapshotSourceobjectyes—Select the graph snapshot for this workload. Use a producer resource to consume its published output. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.kind != 'GraphSnapshot' || !has(self.expected) || !has(self.expected.producerUid) || !has(self.expected.output) || !has(self.expected.output.uid) || self.expected.producerUid == self.expected.output.uid
spec.graphSnapshotSource.expectedobjectno—Supply the expected identities when the workload must use a previously reviewed source or output. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.graphSnapshotSource.expected.outputobjectno—Pin the resolved output when a producer must return a specific graph snapshot. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true · has(self.artifactDigest) == has(self.dataIdentity)
spec.graphSnapshotSource.expected.output.artifactDigeststringno—Use the published artifact digest to require the same artifact bytes. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
spec.graphSnapshotSource.expected.output.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.graphSnapshotSource.expected.output.uidstringno—Copy the snapshot’s Kubernetes UID to require the exact resource instance. · maxLength 128 · minLength 1 · nullable true
spec.graphSnapshotSource.expected.producerUidstringno—Pin the producer’s Kubernetes UID to detect deletion and recreation under the same name. · maxLength 128 · minLength 1 · nullable true
spec.graphSnapshotSource.kindstringyes—Use the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation. · enum ["SnapshotPreparation","GraphSnapshot"] · maxLength 16384
spec.graphSnapshotSource.namestringyes—Use the Kubernetes name of that resource in this workspace. Choose another name to use a different graph snapshot source. · maxLength 253 · minLength 1
spec.modelSourceobjectyes—Select the model for this workload. Use a producer resource to consume its published output. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.kind != 'Model' || !has(self.expected) || !has(self.expected.producerUid) || !has(self.expected.output) || !has(self.expected.output.uid) || self.expected.producerUid == self.expected.output.uid
spec.modelSource.expectedobjectno—Supply the expected identities when the workload must use a previously reviewed source or output. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.modelSource.expected.outputobjectno—Pin the resolved output when a producer must return a specific model. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.modelSource.expected.output.artifactDigeststringno—Use the published artifact digest when the workload must consume the same artifact bytes. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$"
spec.modelSource.expected.output.uidstringno—Use the output resource’s Kubernetes UID to detect a replacement with the same name. · maxLength 128 · minLength 1 · nullable true
spec.modelSource.expected.producerUidstringno—Pin the producer’s Kubernetes UID to detect deletion and recreation under the same name. · maxLength 128 · minLength 1 · nullable true
spec.modelSource.kindstringyes—Use the Kubernetes kind of the selected resource. Supported kinds are Model, TrainingRun, and TrainingStudy. · enum ["TrainingStudy","TrainingRun","Model"] · maxLength 16384
spec.modelSource.namestringyes—Use the Kubernetes name of that resource in this workspace. Choose another name to use a different model source. · maxLength 253 · minLength 1
spec.outputobjectyes—Set the output representation, partition count, and optional external destination for predictions. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.output.destinationobjectno—Configure an external write target when predictions must go to a source system. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true · (self.type in ['S3', 'GCS'] && has(self.prefix) && self.prefix != '' && !has(self.dataset) && !has(self.table) && !has(self.writeMode)) || (self.type == 'BigQuery' && has(self.dataset) && self.dataset != '' && has(self.table) && self.table != '' && !has(self.prefix)) · (self.type == 'S3' && self.connectionRef.kind == 'S3Connection' && self.connectionRef.apiVersion == 'aws.sources.prokrust.ai/v1beta1') || (self.type == 'GCS' && self.connectionRef.kind == 'GCSConnection' && self.connectionRef.apiVersion == 'google.sources.prokrust.ai/v1beta1') || (self.type == 'BigQuery' && self.connectionRef.kind == 'BigQueryConnection' && self.connectionRef.apiVersion == 'google.sources.prokrust.ai/v1beta1') · !has(self.stagingConnectionRef) || (self.type == 'BigQuery' && self.stagingConnectionRef.kind == 'GCSConnection' && self.stagingConnectionRef.apiVersion == 'google.sources.prokrust.ai/v1beta1')
spec.output.destination.connectionRefobjectyes—Select a connection in this workspace that can write to the destination. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.output.destination.connectionRef.apiVersionstringyes—Copy the API group and version from the selected connection. Different providers can use different API groups. · maxLength 253 · minLength 1
spec.output.destination.connectionRef.kindstringyes—Copy the Kubernetes kind from the selected connection to select its provider resource type. · maxLength 63 · minLength 1
spec.output.destination.connectionRef.namestringyes—Use the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope. · maxLength 253 · minLength 1
spec.output.destination.datasetstringno—Choose the BigQuery dataset that contains the destination table. · maxLength 16384 · nullable true
spec.output.destination.prefixstringno—Choose the object key prefix under which to write the exported prediction files. · maxLength 16384 · nullable true
spec.output.destination.stagingConnectionRefobjectno—For a BigQuery export with an S3 artifact store, select a workspace GCSConnection (google.sources.prokrust.ai/v1beta1) that can write the staging objects. A GCS artifact store can provide staging if you omit this reference. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.output.destination.stagingConnectionRef.apiVersionstringyes—Copy the API group and version from the selected connection. Different providers can use different API groups. · maxLength 253 · minLength 1
spec.output.destination.stagingConnectionRef.kindstringyes—Copy the Kubernetes kind from the selected connection to select its provider resource type. · maxLength 63 · minLength 1
spec.output.destination.stagingConnectionRef.namestringyes—Use the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope. · maxLength 253 · minLength 1
spec.output.destination.tablestringno—Select the BigQuery table that should receive these predictions. · maxLength 16384 · nullable true
spec.output.destination.typestringyes—Select S3 or GCS for object storage, or BigQuery for a destination table. · enum ["S3","GCS","BigQuery"] · maxLength 16384
spec.output.destination.writeModestringno—For BigQuery, omission uses WriteIfEmpty. Select Append to add rows or Overwrite to replace the contents. Both require explicit workspace policy permission. · enum ["WriteIfEmpty","Append","Overwrite",null] · maxLength 16384 · nullable true
spec.output.formatstringyes—Choose Parquet for typed columnar output, or Csv or Tsv for a consumer that expects delimited text. · enum ["Parquet","Csv","Tsv"] · maxLength 16384
spec.output.partitionCountintegeryes—Set the number of output partitions. Adjust it for the output size and downstream reader. · format "int32"
spec.populationstringno—Choose AllEligible to include rows with labels. Omission selects missing static labels for a static prediction task. · enum ["GeneratedMissing","AllEligible",null] · maxLength 16384 · nullable true
spec.predictorResourcesobjectno—Set Kubernetes resource quantities for the batch predictor. Size them for this workload and the namespace quota. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.predictorResources.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.predictorResources.limits[key]string——maxLength 16384
spec.predictorResources.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.predictorResources.requests[key]string——maxLength 16384
spec.queryRefobjectno—Select a compatible scoring query. Omit it to use the model’s training query. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.queryRef.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
spec.resourcesobjectyes—Set Kubernetes resource quantities for the prediction workflow. Size them for this workload and the namespace quota. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.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.resources.limits[key]string——maxLength 16384
spec.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.resources.requests[key]string——maxLength 16384

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