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.
| Condition | What it tells you |
|---|---|
Accepted | Reports whether the controller accepted the execution specification. |
DependenciesReady | Reports whether the query, graph snapshot, policy, and any parent study allow training to proceed. |
InputsBound | Reports whether the controller recorded the exact source identities in status.sourceBindings. |
LicenseReady | Appears when license admission delays execution. The reason identifies activation or capacity. |
Ready | Reports 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 reason | What to check |
|---|---|
True / ValidSpec | The run specification passed its check. Read the current dependency and progress conditions. |
DependenciesReady
| Status and reason | What to check |
|---|---|
False / AuthorizationResponseMalformed | Inspect the Kubernetes access review response and the authorization configuration. |
False / AuthorizationUnavailable | The access check could not complete. Check connectivity and permissions for SubjectAccessReview. |
False / Blocked | Inspect the dependency named in the message. A trial can also wait for its parent study to acknowledge child creation. |
False / BoundOutputMissing | The output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings. |
False / BoundProducerMissing | The bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings. |
False / DependencyNotFound | Create the named source in the workspace or correct the source reference. |
False / ExpectedOutputMismatch | Compare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity. |
False / ExpectedProducerUidMismatch | The producer UID differs from the expected UID. Confirm which object the request should use. |
False / Forbidden | Grant the submitting identity access to the resource named in the message. |
False / InputChanged | The producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings. |
False / OutputIdentityChanged | The 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 / OutputMalformed | The published output reference or digest is incomplete. Inspect the producer and its published output. |
False / OutputMissing | The producer has no reference to the requested output. Inspect its status.outputs. |
False / OutputNotReady | The bound output is unavailable at the current generation. Inspect its conditions and phase. |
False / ProducerNotReady | The source has not reached its successful phase at the current generation. Inspect its conditions. |
False / PublicationMissing | The GraphSnapshot has no publication record. Inspect its build and publication status. |
False / SourceBindingMismatch | Compare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings. |
False / UpstreamFailed | The source reached an unsuccessful phase. Read its status and failure details. |
True / InputsBound | The controller recorded the source identities. Inspect status.sourceBindings before following execution. |
True / Ready | The run dependencies resolved. Use status.workflowRef to locate the current execution attempt. |
InputsBound
| Status and reason | What to check |
|---|---|
False / AuthorizationResponseMalformed | Inspect the Kubernetes access review response and the authorization configuration. |
False / AuthorizationUnavailable | The access check could not complete. Check connectivity and permissions for SubjectAccessReview. |
False / BoundOutputMissing | The output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings. |
False / BoundProducerMissing | The bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings. |
False / DependencyNotFound | Create the named source in the workspace or correct the source reference. |
False / ExpectedOutputMismatch | Compare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity. |
False / ExpectedProducerUidMismatch | The producer UID differs from the expected UID. Confirm which object the request should use. |
False / Forbidden | Grant the submitting identity access to the resource named in the message. |
False / InputChanged | The producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings. |
False / OutputIdentityChanged | The 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 / OutputMalformed | The published output reference or digest is incomplete. Inspect the producer and its published output. |
False / OutputMissing | The producer has no reference to the requested output. Inspect its status.outputs. |
False / OutputNotReady | The bound output is unavailable at the current generation. Inspect its conditions and phase. |
False / ProducerNotReady | The source has not reached its successful phase at the current generation. Inspect its conditions. |
False / PublicationMissing | The GraphSnapshot has no publication record. Inspect its build and publication status. |
False / SourceBindingMismatch | Compare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings. |
False / UpstreamFailed | The source reached an unsuccessful phase. Read its status and failure details. |
True / InputsBound | The controller recorded the source identities. Inspect status.sourceBindings before following execution. |
LicenseReady
| Status and reason | What to check |
|---|---|
False / LicenseCapacityUnavailable | Check the installation capacity and any prior attempts still holding slots. |
False / LicensePending | Ask the installation administrator to inspect activation and admission readiness. |
Ready
| Status and reason | What to check |
|---|---|
False / AuthorizationResponseMalformed | Inspect the Kubernetes access review response and the authorization configuration. |
False / AuthorizationUnavailable | The access check could not complete. Check connectivity and permissions for SubjectAccessReview. |
False / BoundOutputMissing | The output identified by the binding no longer exists. Inspect its name and UID in status.sourceBindings. |
False / BoundProducerMissing | The bound producer disappeared before it published its output. Inspect the producer UID in status.sourceBindings. |
False / DependencyNotFound | Create the named source in the workspace or correct the source reference. |
False / ExpectedOutputMismatch | Compare the expected output UID and artifact digest with the published output. For a graph snapshot, also check the expected data identity. |
False / ExpectedProducerUidMismatch | The producer UID differs from the expected UID. Confirm which object the request should use. |
False / Forbidden | Grant the submitting identity access to the resource named in the message. |
False / InputChanged | The producer identity changed after binding. Compare the producer UID and generation with status.sourceBindings. |
False / InputsBound | The controller recorded the source identities. Inspect status.sourceBindings before following execution. |
False / NotReady | Inspect status.phase to distinguish execution in progress, failure, and cancellation. For a failed run, read status.failure. |
False / OutputIdentityChanged | The 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 / OutputMalformed | The published output reference or digest is incomplete. Inspect the producer and its published output. |
False / OutputMissing | The producer has no reference to the requested output. Inspect its status.outputs. |
False / OutputNotReady | The bound output is unavailable at the current generation. Inspect its conditions and phase. |
False / ProducerNotReady | The source has not reached its successful phase at the current generation. Inspect its conditions. |
False / PublicationMissing | The GraphSnapshot has no publication record. Inspect its build and publication status. |
False / SourceBindingMismatch | Compare the requested source name, kind, and expected UID with the retained producer in status.sourceBindings. |
False / UpstreamFailed | The source reached an unsuccessful phase. Read its status and failure details. |
True / Ready | Use status.outputs.model to identify the published Model. |
Condition field meanings
| Field | What to look for |
|---|---|
type | Names the check. Use it to select the condition you want to inspect. |
status | Reports whether the named condition holds. Read the reason to see why. |
reason | A short identifier for this outcome. Use it when comparing observations or filtering results. |
message | When present, gives details about this object, such as the name of a dependency. |
observedGeneration | Compare with metadata.generation to see which version of the spec the controller checked. |
lastTransitionTime | Records the time of the last transition for this condition. |
How to read status fields
| Field | What it tells you |
|---|---|
status.ballista | Observations about distributed query attempts and their cleanup. Inspect them before retrying work with uncertain termination. |
status.diagnostics | Controller findings about this resource. Use the message and field, when available, to locate a validation or execution problem. |
status.executionDigest | Identifies the resolved inputs for this execution. Compare it when matching an attempt with its recorded inputs. |
status.failure | Recorded failure details. Inspect the reason and message to locate the failed operation. |
status.failureHistory | Superseded failures retained for bounded retry history, not active errors. |
status.finishedAt | Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. |
status.input | Reference to the recorded execution input. Use it to trace the input actually passed to a workflow. |
status.observedGeneration | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. |
status.outputs | Published output references. Use these to select a result by identity after the workload succeeds. |
status.phase | Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. |
status.policyRef | Policy revision used for this execution. Inspect it to trace the rules applied to the workload. |
status.progress | Execution progress reported by the workflow. Inspect it to locate work that is waiting or still running. |
status.publication | Current publication state. Inspect the committed artifact when selecting the completed output of this workflow. |
status.recoveryCount | Number of recorded recoveries. Inspect it when a workflow repeatedly resumes after a failure. |
status.result | Reference to the published result when available. Inspect the artifact to retrieve the completed output. |
status.sourceBindings | Resource identities and publications selected from the configured sources. Inspect them to trace the exact inputs. |
status.sourceResolution | Recorded source resolution. Inspect it to identify the data selected for this operation. |
status.startedAt | Time the controller recorded the start of execution. Use it when investigating an active or delayed operation. |
status.trainingDiagnostics | Diagnostics recorded for training. Inspect them to investigate the training inputs, evaluation, or model result. |
status.workflowRef | Reference 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.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
status | object | no | — | maxProperties 1024 · nullable true |
status.ballista | object | no | — | Observations about distributed query attempts and their cleanup. Inspect them before retrying work with uncertain termination. · maxProperties 1024 · nullable true |
status.ballista.disposition | string | yes | — | enum ["Unknown","Clean","Ambiguous"] · maxLength 2048 |
status.ballista.queryAttemptIds | array | yes | — | maxItems 64 |
status.ballista.queryAttemptIds[] | string | — | — | maxLength 2048 |
status.conditions | array | no | — | Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state. · maxItems 8 |
status.conditions[] | object | — | — | maxProperties 1024 |
status.conditions[].lastTransitionTime | string | yes | — | maxLength 2048 |
status.conditions[].message | string | yes | — | maxLength 1024 |
status.conditions[].observedGeneration | integer | yes | — | format "int64" |
status.conditions[].reason | string | yes | — | maxLength 128 |
status.conditions[].status | string | yes | — | enum ["True","False","Unknown"] · maxLength 2048 |
status.conditions[].type | string | yes | — | maxLength 2048 |
status.diagnostics | array | no | — | 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[].code | string | yes | — | maxLength 128 |
status.diagnostics[].field | string | no | — | maxLength 2048 · nullable true |
status.diagnostics[].message | string | yes | — | maxLength 1024 |
status.diagnostics[].relatedResource | object | no | — | maxProperties 1024 · nullable true |
status.diagnostics[].relatedResource.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
status.diagnostics[].severity | string | yes | — | enum ["Error","Warning","Info"] · maxLength 2048 |
status.diagnostics[].sourceSpan | object | no | — | maxProperties 1024 · nullable true |
status.diagnostics[].sourceSpan.endByte | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.endColumn | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.endLine | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startByte | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startColumn | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startLine | integer | yes | — | format "int64" |
status.executionDigest | string | no | — | 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.failure | object | no | — | Recorded failure details. Inspect the reason and message to locate the failed operation. · maxProperties 1024 · nullable true |
status.failure.at | string | yes | — | maxLength 2048 |
status.failure.code | string | yes | — | maxLength 128 |
status.failure.details | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.failure.details.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.failure.details.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.failure.details.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.failure.message | string | yes | — | maxLength 1024 |
status.failure.relatedResource | object | no | — | Exact related resource identity in the same namespace as the status owner. · maxProperties 1024 · nullable true |
status.failure.relatedResource.apiVersion | string | yes | — | maxLength 2048 |
status.failure.relatedResource.executionDigest | string | no | — | maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$" |
status.failure.relatedResource.kind | string | yes | — | maxLength 2048 |
status.failure.relatedResource.name | string | yes | — | maxLength 253 |
status.failure.relatedResource.recoveryOrdinal | integer | no | — | format "int32" · nullable true |
status.failure.relatedResource.uid | string | yes | — | maxLength 128 |
status.failure.retryable | boolean | yes | — | |
status.failure.stage | string | no | — | Safe execution stage identifier, when the failing stage is known. · maxLength 2048 · nullable true |
status.failure.suggestedAction | string | no | — | Actionable guidance without credentials or raw provider response bodies. · maxLength 2048 · nullable true |
status.failureHistory | array | no | — | Superseded failures retained for bounded retry history, not active errors. · maxItems 32 |
status.failureHistory[] | object | — | — | maxProperties 1024 |
status.failureHistory[].at | string | yes | — | maxLength 2048 |
status.failureHistory[].code | string | yes | — | maxLength 128 |
status.failureHistory[].details | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.failureHistory[].details.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.failureHistory[].details.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.failureHistory[].details.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.failureHistory[].message | string | yes | — | maxLength 1024 |
status.failureHistory[].relatedResource | object | no | — | Exact related resource identity in the same namespace as the status owner. · maxProperties 1024 · nullable true |
status.failureHistory[].relatedResource.apiVersion | string | yes | — | maxLength 2048 |
status.failureHistory[].relatedResource.executionDigest | string | no | — | maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$" |
status.failureHistory[].relatedResource.kind | string | yes | — | maxLength 2048 |
status.failureHistory[].relatedResource.name | string | yes | — | maxLength 253 |
status.failureHistory[].relatedResource.recoveryOrdinal | integer | no | — | format "int32" · nullable true |
status.failureHistory[].relatedResource.uid | string | yes | — | maxLength 128 |
status.failureHistory[].retryable | boolean | yes | — | |
status.failureHistory[].stage | string | no | — | Safe execution stage identifier, when the failing stage is known. · maxLength 2048 · nullable true |
status.failureHistory[].suggestedAction | string | no | — | Actionable guidance without credentials or raw provider response bodies. · maxLength 2048 · nullable true |
status.finishedAt | string | no | — | Time the controller recorded the terminal outcome. Use it with the start time to determine elapsed execution time. · maxLength 2048 · nullable true |
status.input | object | no | — | 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.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.input.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.input.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.observedGeneration | integer | no | — | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. · format "int64" · nullable true |
status.outputs | object | no | {} | Published output references. Use these to select a result by identity after the workload succeeds. · maxProperties 1024 |
status.outputs.model | object | no | — | maxProperties 1024 · nullable true |
status.outputs.model.artifactDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.outputs.model.name | string | yes | — | maxLength 253 |
status.outputs.model.uid | string | yes | — | maxLength 128 |
status.phase | string | no | — | 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.policyRef | object | no | — | Policy revision used for this execution. Inspect it to trace the rules applied to the workload. · maxProperties 1024 · nullable true |
status.policyRef.generation | integer | yes | — | format "int64" |
status.policyRef.name | string | yes | — | maxLength 253 |
status.policyRef.releaseLock | object | yes | — | maxProperties 1024 |
status.policyRef.releaseLock.digest | string | yes | — | Use the SHA-256 digest of the artifact at the selected URI to verify the downloaded bytes. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.policyRef.releaseLock.uri | string | yes | — | Use the immutable URI of the selected artifact. Update it together with its digest when adopting another version. · maxLength 2048 |
status.policyRef.semanticDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.policyRef.uid | string | yes | — | maxLength 128 |
status.progress | object | no | — | Execution progress reported by the workflow. Inspect it to locate work that is waiting or still running. · maxProperties 1024 · nullable true |
status.progress.activeUnits | integer | no | — | format "uint32" · maximum 4096 · minimum 0 · nullable true |
status.progress.completedUnits | integer | no | — | format "uint32" · maximum 4096 · minimum 0 · nullable true |
status.progress.pendingUnits | integer | no | — | format "uint32" · maximum 4096 · minimum 0 · nullable true |
status.progress.plannedUnits | integer | no | — | format "uint32" · maximum 4096 · minimum 0 · nullable true |
status.progress.waitingForCapacityPods | integer | no | — | format "uint32" · maximum 4096 · minimum 0 · nullable true |
status.publication | object | no | — | Current publication state. Inspect the committed artifact when selecting the completed output of this workflow. · maxProperties 1024 · nullable true |
status.publication.candidate | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.publication.candidate.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.publication.candidate.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.publication.candidate.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.publication.committed | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.publication.committed.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.publication.committed.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.publication.committed.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.publication.phase | string | yes | — | enum ["None","Candidate","Committed","Rejected"] · maxLength 2048 |
status.recoveryCount | integer | no | — | Number of recorded recoveries. Inspect it when a workflow repeatedly resumes after a failure. · format "int32" · nullable true |
status.result | object | no | — | 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.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.result.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.result.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.sourceBindings | object | no | {} | Resource identities and publications selected from the configured sources. Inspect them to trace the exact inputs. · maxProperties 1024 |
status.sourceBindings.graphSnapshot | object | no | — | maxProperties 1024 · nullable true |
status.sourceBindings.graphSnapshot.output | object | no | — | Exact captured input; names alone never authorize graph input reuse. · maxProperties 1024 · nullable true |
status.sourceBindings.graphSnapshot.output.artifactDigest | string | yes | — | 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.dataIdentity | string | yes | — | 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.name | string | yes | — | Workspace name of the snapshot. Check the UID as well when selecting a specific publication. · maxLength 253 |
status.sourceBindings.graphSnapshot.output.uid | string | yes | — | Kubernetes UID of the published snapshot. Use it to detect a replacement with the same name. · maxLength 128 |
status.sourceBindings.graphSnapshot.producer | object | yes | — | Persist before waiting on output. Never adopt another UID after this point. · maxProperties 1024 |
status.sourceBindings.graphSnapshot.producer.intentDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.sourceBindings.graphSnapshot.producer.kind | string | yes | — | maxLength 32 · minLength 1 · pattern "^(SnapshotPreparation|GraphSnapshot|TrainingStudy|TrainingRun|Model)$" |
status.sourceBindings.graphSnapshot.producer.name | string | yes | — | maxLength 253 · minLength 1 |
status.sourceBindings.graphSnapshot.producer.uid | string | yes | — | maxLength 128 · minLength 1 |
status.sourceBindings.model | object | no | — | maxProperties 1024 · nullable true |
status.sourceBindings.model.output | object | no | — | maxProperties 1024 · nullable true |
status.sourceBindings.model.output.artifactDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.sourceBindings.model.output.name | string | yes | — | maxLength 253 |
status.sourceBindings.model.output.uid | string | yes | — | maxLength 128 |
status.sourceBindings.model.producer | object | yes | — | Persist before waiting on output. Never adopt another UID after this point. · maxProperties 1024 |
status.sourceBindings.model.producer.intentDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.sourceBindings.model.producer.kind | string | yes | — | maxLength 32 · minLength 1 · pattern "^(SnapshotPreparation|GraphSnapshot|TrainingStudy|TrainingRun|Model)$" |
status.sourceBindings.model.producer.name | string | yes | — | maxLength 253 · minLength 1 |
status.sourceBindings.model.producer.uid | string | yes | — | maxLength 128 · minLength 1 |
status.sourceBindings.model.trainingRun | object | no | — | maxProperties 1024 · nullable true |
status.sourceBindings.model.trainingRun.name | string | yes | — | Workspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer. · maxLength 253 |
status.sourceBindings.model.trainingRun.uid | string | yes | — | Kubernetes UID of that TrainingRun. Use it to detect a replacement with the same name. · maxLength 128 |
status.sourceResolution | object | no | — | 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.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.sourceResolution.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.sourceResolution.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.startedAt | string | no | — | Time the controller recorded the start of execution. Use it when investigating an active or delayed operation. · maxLength 2048 · nullable true |
status.trainingDiagnostics | object | no | — | Diagnostics recorded for training. Inspect them to investigate the training inputs, evaluation, or model result. · maxProperties 1024 · nullable true |
status.trainingDiagnostics.attemptRoot | string | yes | — | maxLength 2048 |
status.trainingDiagnostics.attempts | array | no | — | maxItems 96 |
status.trainingDiagnostics.attempts[] | object | — | — | A trainer Pod observed through the exact owner Workflow and Argo retry node. · maxProperties 1024 |
status.trainingDiagnostics.attempts[].manifest | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.trainingDiagnostics.attempts[].manifest.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.trainingDiagnostics.attempts[].manifest.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.trainingDiagnostics.attempts[].manifest.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.trainingDiagnostics.attempts[].phase | string | yes | — | enum ["Pending","Validating","Freezing","WaitingForProducerCapacity","Queued","Running","Verifying","Committing","Succeeded","Cancelling","Cancelled","Failed","Deleting"] · maxLength 2048 |
status.trainingDiagnostics.attempts[].recoveryOrdinal | integer | yes | — | format "uint32" · minimum 0 |
status.trainingDiagnostics.attempts[].retryOrdinal | integer | yes | — | format "uint32" · minimum 0 |
status.trainingDiagnostics.attempts[].uid | string | yes | — | maxLength 128 |
status.trainingDiagnostics.attempts[].workflowUid | string | yes | — | maxLength 128 |
status.trainingDiagnostics.sealed | object | no | — | A sealed, immutable history attached to the verified training publication. · maxProperties 1024 · nullable true |
status.trainingDiagnostics.sealed.attemptUid | string | yes | — | maxLength 128 |
status.trainingDiagnostics.sealed.manifest | object | yes | — | maxProperties 1024 · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.trainingDiagnostics.sealed.manifest.digest | string | yes | — | 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.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.trainingDiagnostics.sealed.manifest.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.trainingDiagnostics.sealed.manifest.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.trainingDiagnostics.store | object | yes | — | maxProperties 1024 |
status.trainingDiagnostics.store.generation | integer | yes | — | Copy the selected resource’s Kubernetes generation to pin the revision that this operation uses. · format "int64" |
status.trainingDiagnostics.store.name | string | yes | — | Use the name of the selected resource in the workspace. · maxLength 253 |
status.trainingDiagnostics.store.semanticDigest | string | yes | — | 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.uid | string | yes | — | Copy the selected resource’s Kubernetes UID to detect replacement under the same name. · maxLength 128 |
status.workflowRef | object | no | — | Reference to the workload workflow. Inspect that workflow when a run waits, fails, or needs cleanup. · maxProperties 1024 · nullable true |
status.workflowRef.apiVersion | string | yes | — | maxLength 2048 |
status.workflowRef.executionDigest | string | no | — | maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$" |
status.workflowRef.kind | string | yes | — | maxLength 2048 |
status.workflowRef.name | string | yes | — | maxLength 253 |
status.workflowRef.recoveryOrdinal | integer | no | — | format "int32" · nullable true |
status.workflowRef.uid | string | yes | — | 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.
| Field | When to use it |
|---|---|
spec.anchors.end | Set the exclusive end of the anchor period. Keep each target window within the available source coverage. |
spec.anchors.start | Set the first anchor time. Choose a later start if earlier source history is incomplete. |
spec.anchors.step | Set 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.
| Field | When to use it |
|---|---|
spec.forecast.forecastLength | Set the number of future time steps to predict. Increase it for a longer forecast horizon. |
spec.forecast.lagTimesteps | Choose how many prior time steps contribute lag features. Increase this value to include more history. |
spec.forecast.yearOverYear | Enable 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.
| Field | When to use it |
|---|---|
spec.graphSnapshotSource.expected | Supply the expected identities when the workload must use a previously reviewed source or output. |
spec.graphSnapshotSource.expected.output | Pin the resolved output when a producer must return a specific graph snapshot. |
spec.graphSnapshotSource.expected.output.artifactDigest | Use the published artifact digest to require the same artifact bytes. |
spec.graphSnapshotSource.expected.output.dataIdentity | Copy the data identity from the expected snapshot publication when the workload must use that exact dataset. |
spec.graphSnapshotSource.expected.output.uid | Copy the snapshot’s Kubernetes UID to require the exact resource instance. |
spec.graphSnapshotSource.expected.producerUid | Pin the producer’s Kubernetes UID to detect deletion and recreation under the same name. |
spec.graphSnapshotSource.kind | Use the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation. |
spec.graphSnapshotSource.name | Use 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.
| Field | When to use it |
|---|---|
spec.model.batchSize | Set the number of examples per training batch. Reduce it if a batch exceeds available memory. |
spec.model.dropout | Set the dropout probability during training. Raise it when testing stronger regularization. |
spec.model.earlyStoppingPatience | Set how long training can continue without validation improvement. Raise it to tolerate a longer plateau. |
spec.model.family | Select the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling. |
spec.model.fanout | Set the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work. |
spec.model.fanoutByEdge | For 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[].edgeTypeId | Use the graph edge type ID for this entry. IDs start at zero and must appear in order without gaps. |
spec.model.fanoutByEdge[].fanout | Supply one count per layer for this edge type. Use smaller positive counts to sample fewer neighbors from a dense relation. |
spec.model.hiddenDimension | Set the width of the hidden representations. A larger width needs more memory. |
spec.model.layers | Set the number of graph hops. Use another layer to include more distant neighbors. |
spec.model.learningRate | Set the optimizer step size. Try a smaller rate if training updates are unstable. |
spec.model.maxEpochs | Limit the number of passes over the training data. Raise the limit if validation performance still improves. |
spec.model.temporalStrategy | Choose how to sample neighbors over time. Last favors the latest eligible neighbors. Uniform samples across eligible neighbors. |
spec.model.validationMetric | For 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.
| Field | When to use it |
|---|---|
spec.queryRef.name | Kubernetes 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.
| Field | When to use it |
|---|---|
spec.resources.limits | Set the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete. |
spec.resources.requests | Set 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.
| Field | When to use it |
|---|---|
spec.split.test | Set the fraction held out for final evaluation. Keep these examples separate from checkpoint selection. |
spec.split.train | Set the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough. |
spec.split.type | Use TemporalRatio for time-ordered examples or HashRatio for a static task. |
spec.split.validation | Set 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.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
spec | object | yes | — | 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.anchors | object | no | — | 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.end | string | yes | — | Set the exclusive end of the anchor period. Keep each target window within the available source coverage. · maxLength 16384 |
spec.anchors.start | string | yes | — | Set the first anchor time. Choose a later start if earlier source history is incomplete. · maxLength 16384 |
spec.anchors.step | string | yes | — | Set the interval between anchors. A shorter interval gives more observation times in the same period. · maxLength 16384 |
spec.cpuWorkers | integer | no | — | 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.evaluationMode | string | no | — | 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.forecast | object | no | — | 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.forecastLength | integer | no | — | Set the number of future time steps to predict. Increase it for a longer forecast horizon. · format "uint32" · minimum 0 · nullable true |
spec.forecast.lagTimesteps | integer | no | — | Choose how many prior time steps contribute lag features. Increase this value to include more history. · format "uint32" · minimum 0 · nullable true |
spec.forecast.yearOverYear | boolean | no | — | Enable year-over-year features when the time series has annual seasonality. · nullable true |
spec.graphSnapshotSource | object | yes | — | 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.expected | object | no | — | 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.output | object | no | — | 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.artifactDigest | string | no | — | 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.dataIdentity | string | no | — | 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.uid | string | no | — | Copy the snapshot’s Kubernetes UID to require the exact resource instance. · maxLength 128 · minLength 1 · nullable true |
spec.graphSnapshotSource.expected.producerUid | string | no | — | Pin the producer’s Kubernetes UID to detect deletion and recreation under the same name. · maxLength 128 · minLength 1 · nullable true |
spec.graphSnapshotSource.kind | string | yes | — | Use the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation. · enum ["SnapshotPreparation","GraphSnapshot"] · maxLength 16384 |
spec.graphSnapshotSource.name | string | yes | — | 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.model | object | yes | — | Choose the model architecture, neighborhood sampling, and optimization settings for this training job. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
spec.model.batchSize | integer | yes | — | Set the number of examples per training batch. Reduce it if a batch exceeds available memory. · format "int32" |
spec.model.dropout | number | yes | — | Set the dropout probability during training. Raise it when testing stronger regularization. · format "double" |
spec.model.earlyStoppingPatience | integer | yes | — | Set how long training can continue without validation improvement. Raise it to tolerate a longer plateau. · format "int32" |
spec.model.family | string | yes | — | Select the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling. · enum ["HeteroMeanV1","HeteroCountTimeV2"] · maxLength 16384 |
spec.model.fanout | array | yes | — | 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.fanoutByEdge | array | no | — | 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[].edgeTypeId | integer | yes | — | 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[].fanout | array | yes | — | 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.hiddenDimension | integer | yes | — | Set the width of the hidden representations. A larger width needs more memory. · format "int32" |
spec.model.layers | integer | yes | — | Set the number of graph hops. Use another layer to include more distant neighbors. · format "int32" |
spec.model.learningRate | number | yes | — | Set the optimizer step size. Try a smaller rate if training updates are unstable. · format "double" |
spec.model.maxEpochs | integer | yes | — | Limit the number of passes over the training data. Raise the limit if validation performance still improves. · format "int32" |
spec.model.temporalStrategy | string | yes | — | 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.validationMetric | string | no | — | 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.queryRef | object | yes | — | Select the prediction query that defines the training task and target. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
spec.queryRef.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
spec.resources | object | yes | — | 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.limits | object | no | — | 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.requests | object | yes | — | 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.seed | string | yes | — | Set the random seed for the run. Reuse it for repeatable comparisons or vary it to test sensitivity. · maxLength 16384 |
spec.split | object | yes | — | 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.test | number | yes | — | Set the fraction held out for final evaluation. Keep these examples separate from checkpoint selection. · format "double" |
spec.split.train | number | yes | — | Set the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough. · format "double" |
spec.split.type | string | yes | — | Use TemporalRatio for time-ordered examples or HashRatio for a static task. · enum ["TemporalRatio","HashRatio"] · maxLength 16384 |
spec.split.validation | number | yes | — | Set the fraction reserved for model selection and validation metrics. · format "double" |
The validation schema matches prokrust-crds 0.23.0-rc.1.