Skip to main content

TrainingRun

Configures one training run for a query and graph snapshot and records its progress and results.

ml.prokrust.ai/v1beta1 · Namespaced · trainingruns

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 query, graph snapshot, policy, and any parent study allow training 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 ready Model.

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: TrainingRun spec is valid.
observedGeneration: 1
- type: DependenciesReady
status: "True"
reason: Ready
message: TrainingRun dependencies are ready.
observedGeneration: 1
- type: Ready
status: "True"
reason: Ready
message: TrainingRun succeeded and Model is ready.
observedGeneration: 1

Follow status.outputs.model and inspect the Model's ArtifactVerified condition.

TrainingRun 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 / BlockedInspect the dependency named in the message. A trial can also wait for its parent study to acknowledge child creation.
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 / 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 / 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 / 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 / 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 / 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 / UpstreamFailedThe source reached an unsuccessful phase. Read its status and failure details.
True / ReadyUse status.outputs.model to identify the published Model.
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​

Choose the prediction query and graph snapshot. Set the model and evaluation parameters for one training run.

This resource requires graphSnapshotSource, model, queryRef, resources, seed, split.

anchors​

For a temporal task, choose the times at which to build training examples. Omit for a static task.

FieldWhen to use it
spec.anchors.endSet the exclusive end of the anchor period. Keep each target window within the available source coverage.
spec.anchors.startSet the first anchor time. Choose a later start if earlier source history is incomplete.
spec.anchors.stepSet the interval between anchors. A shorter interval gives more observation times in the same period.

cpuWorkers​

Size CPU training for the CPUs available to the pod. Omission uses one worker. For CUDA training, omit this field or set it to one.

evaluationMode​

Use Full for final evaluation. Use ValidationOnly for model selection when the test set must stay unscored.

forecast​

Override forecast generation for this run. Omitted fields use query or runtime defaults.

FieldWhen to use it
spec.forecast.forecastLengthSet the number of future time steps to predict. Increase it for a longer forecast horizon.
spec.forecast.lagTimestepsChoose how many prior time steps contribute lag features. Increase this value to include more history.
spec.forecast.yearOverYearEnable year-over-year features when the time series has annual seasonality.

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.

model​

Choose the model architecture, neighborhood sampling, and optimization settings for this training job.

FieldWhen to use it
spec.model.batchSizeSet the number of examples per training batch. Reduce it if a batch exceeds available memory.
spec.model.dropoutSet the dropout probability during training. Raise it when testing stronger regularization.
spec.model.earlyStoppingPatienceSet how long training can continue without validation improvement. Raise it to tolerate a longer plateau.
spec.model.familySelect the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling.
spec.model.fanoutSet the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work.
spec.model.fanoutByEdgeFor HeteroCountTimeV2, set per-edge counts when relations need different sample sizes. Supply one entry for every graph edge type, in ascending ID order.
spec.model.fanoutByEdge[].edgeTypeIdUse the graph edge type ID for this entry. IDs start at zero and must appear in order without gaps.
spec.model.fanoutByEdge[].fanoutSupply one count per layer for this edge type. Use smaller positive counts to sample fewer neighbors from a dense relation.
spec.model.hiddenDimensionSet the width of the hidden representations. A larger width needs more memory.
spec.model.layersSet the number of graph hops. Use another layer to include more distant neighbors.
spec.model.learningRateSet the optimizer step size. Try a smaller rate if training updates are unstable.
spec.model.maxEpochsLimit the number of passes over the training data. Raise the limit if validation performance still improves.
spec.model.temporalStrategyChoose how to sample neighbors over time. Last favors the latest eligible neighbors. Uniform samples across eligible neighbors.
spec.model.validationMetricFor HeteroMeanV1, omit this field to use TaskLoss. For HeteroCountTimeV2 regression, select Mae to rank checkpoints by mean absolute error.

queryRef​

Select the prediction query that defines the training task and target.

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 training workload. 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.

seed​

Set the random seed for the run. Reuse it for repeatable comparisons or vary it to test sensitivity.

split​

Divide the examples into training, validation, and test partitions. The three fractions must sum to one.

FieldWhen to use it
spec.split.testSet the fraction held out for final evaluation. Keep these examples separate from checkpoint selection.
spec.split.trainSet the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough.
spec.split.typeUse TemporalRatio for time-ordered examples or HashRatio for a static task.
spec.split.validationSet the fraction reserved for model selection and validation metrics.
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 the prediction query and graph snapshot. Set the model and evaluation parameters for one training run. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.model.layers == self.model.fanout.size() · (has(self.anchors) && self.split.type == 'TemporalRatio') || (!has(self.anchors) && self.split.type == 'HashRatio') · self.seed.matches('^(0|[1-9][0-9]*)$') · !has(self.cpuWorkers) || (self.cpuWorkers >= 1 && self.cpuWorkers <= 64) · !has(self.evaluationMode) || self.evaluationMode != 'ValidationOnly' || self.split.test > 0.0 · !has(self.forecast) || ((!has(self.forecast.forecastLength) || (self.forecast.forecastLength >= 1 && self.forecast.forecastLength <= 10000)) && (!has(self.forecast.lagTimesteps) || self.forecast.lagTimesteps >= 1))
spec.anchorsobjectno—For a temporal task, choose the times at which to build training examples. Omit for a static task. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.anchors.endstringyes—Set the exclusive end of the anchor period. Keep each target window within the available source coverage. · maxLength 16384
spec.anchors.startstringyes—Set the first anchor time. Choose a later start if earlier source history is incomplete. · maxLength 16384
spec.anchors.stepstringyes—Set the interval between anchors. A shorter interval gives more observation times in the same period. · maxLength 16384
spec.cpuWorkersintegerno—Size CPU training for the CPUs available to the pod. Omission uses one worker. For CUDA training, omit this field or set it to one. · format "uint32" · minimum 0 · nullable true
spec.evaluationModestringno—Use Full for final evaluation. Use ValidationOnly for model selection when the test set must stay unscored. · enum ["Full","ValidationOnly",null] · maxLength 16384 · nullable true
spec.forecastobjectno—Override forecast generation for this run. Omitted fields use query or runtime defaults. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.forecast.forecastLengthintegerno—Set the number of future time steps to predict. Increase it for a longer forecast horizon. · format "uint32" · minimum 0 · nullable true
spec.forecast.lagTimestepsintegerno—Choose how many prior time steps contribute lag features. Increase this value to include more history. · format "uint32" · minimum 0 · nullable true
spec.forecast.yearOverYearbooleanno—Enable year-over-year features when the time series has annual seasonality. · 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.modelobjectyes—Choose the model architecture, neighborhood sampling, and optimization settings for this training job. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.model.batchSizeintegeryes—Set the number of examples per training batch. Reduce it if a batch exceeds available memory. · format "int32"
spec.model.dropoutnumberyes—Set the dropout probability during training. Raise it when testing stronger regularization. · format "double"
spec.model.earlyStoppingPatienceintegeryes—Set how long training can continue without validation improvement. Raise it to tolerate a longer plateau. · format "int32"
spec.model.familystringyes—Select the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling. · enum ["HeteroMeanV1","HeteroCountTimeV2"] · maxLength 16384
spec.model.fanoutarrayyes—Set the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work. · maxItems 256
spec.model.fanout[]integer——format "int32"
spec.model.fanoutByEdgearrayno—For HeteroCountTimeV2, set per-edge counts when relations need different sample sizes. Supply one entry for every graph edge type, in ascending ID order. · maxItems 512 · nullable true
spec.model.fanoutByEdge[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.model.fanoutByEdge[].edgeTypeIdintegeryes—Use the graph edge type ID for this entry. IDs start at zero and must appear in order without gaps. · format "uint32" · minimum 0
spec.model.fanoutByEdge[].fanoutarrayyes—Supply one count per layer for this edge type. Use smaller positive counts to sample fewer neighbors from a dense relation. · maxItems 256
spec.model.fanoutByEdge[].fanout[]integer——format "int32"
spec.model.hiddenDimensionintegeryes—Set the width of the hidden representations. A larger width needs more memory. · format "int32"
spec.model.layersintegeryes—Set the number of graph hops. Use another layer to include more distant neighbors. · format "int32"
spec.model.learningRatenumberyes—Set the optimizer step size. Try a smaller rate if training updates are unstable. · format "double"
spec.model.maxEpochsintegeryes—Limit the number of passes over the training data. Raise the limit if validation performance still improves. · format "int32"
spec.model.temporalStrategystringyes—Choose how to sample neighbors over time. Last favors the latest eligible neighbors. Uniform samples across eligible neighbors. · enum ["Uniform","Last"] · maxLength 16384
spec.model.validationMetricstringno—For HeteroMeanV1, omit this field to use TaskLoss. For HeteroCountTimeV2 regression, select Mae to rank checkpoints by mean absolute error. · enum ["TaskLoss","Mae",null] · maxLength 16384 · nullable true
spec.queryRefobjectyes—Select the prediction query that defines the training task and target. · maxProperties 1024 · 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 training workload. 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
spec.seedstringyes—Set the random seed for the run. Reuse it for repeatable comparisons or vary it to test sensitivity. · maxLength 16384
spec.splitobjectyes—Divide the examples into training, validation, and test partitions. The three fractions must sum to one. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.train >= 0.0 && self.validation >= 0.0 && self.test >= 0.0 && self.train + self.validation + self.test == 1.0
spec.split.testnumberyes—Set the fraction held out for final evaluation. Keep these examples separate from checkpoint selection. · format "double"
spec.split.trainnumberyes—Set the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough. · format "double"
spec.split.typestringyes—Use TemporalRatio for time-ordered examples or HashRatio for a static task. · enum ["TemporalRatio","HashRatio"] · maxLength 16384
spec.split.validationnumberyes—Set the fraction reserved for model selection and validation metrics. · format "double"

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