Skip to main content

TrainingStudy

Runs a set of training trials from a template, parameter grid, and seeds, and compares them against an objective.

ml.prokrust.ai/v1beta1 · Namespaced · trainingstudies

Controller status​

Conditions​

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

ConditionWhat it tells you
DependenciesReadyReports whether the selected graph snapshot and workspace access checks allow input binding.
InputsBoundReports whether the controller recorded the exact source identities in status.sourceBindings.
ReadyReports progress selecting inputs, running trials, and publishing the winning model. Read it with status.phase.

Trials are running

The study is running trials for the planned candidates and seeds.

status:
phase: Running
conditions:
- type: Ready
status: "False"
reason: NotReady
message: TrainingStudy trials are running.
observedGeneration: 1

Compare status.plannedTrials with status.trials. Follow each child TrainingRun to inspect its progress.

TrainingStudy condition results and reasons

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 / 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.

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.

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 / CancelledThe study stopped after cancellation. Follow status.trials to inspect children that had already started.
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 / FailedRead status.failure and the child TrainingRun states. StudyNoCompleteCandidate means no candidate succeeded across every seed.
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 / NotReadyIn Pending, check the named dependency. In Running, compare status.plannedTrials with status.trials by candidate and seed. Inspect status.pendingTrial for a child creation request.
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 / ReadyInspect status.winner for the selected candidate and mean validation score. Use status.outputs.model for its 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.failureRecorded failure details. Inspect the reason and message to locate the failed operation.
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.pendingTrialTrial the controller is preparing to create. Inspect it while a study waits for the next child run.
status.phaseCurrent stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped.
status.pinnedInputsInput identities selected for the study. Use them to determine which inputs its trials share.
status.plannedTrialsNumber of trials in the study plan. Compare with reported trials to follow study progress.
status.resolvedInputRefReference to the resolved study inputs. Use it to identify the execution inputs shared by the study’s trials.
status.sourceBindingsResource identities and publications selected from the configured sources. Inspect them to trace the exact inputs.
status.trialsPer-trial progress and outcomes recorded by the study. Compare these when investigating missing or failed trials.
status.winnerSelected trial for the study objective. Inspect its model output before using it for inference.
Kubernetes schema for status

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

FieldTypeRequiredDefaultSchema constraints and descriptions
statusobjectno—maxProperties 1024 · nullable true
status.conditionsarrayno—Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state. · maxItems 8
status.conditions[]object——maxProperties 1024
status.conditions[].lastTransitionTimestringyes—maxLength 2048
status.conditions[].messagestringyes—maxLength 1024
status.conditions[].observedGenerationintegeryes—format "int64"
status.conditions[].reasonstringyes—maxLength 128
status.conditions[].statusstringyes—enum ["True","False","Unknown"] · maxLength 2048
status.conditions[].typestringyes—maxLength 2048
status.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.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.pendingTrialobjectno—Trial the controller is preparing to create. Inspect it while a study waits for the next child run. · maxProperties 1024 · nullable true
status.pendingTrial.candidateIndexintegeryes—format "uint32" · minimum 0
status.pendingTrial.namestringyes—maxLength 253
status.pendingTrial.reservationIdstringyes—maxLength 2048 · pattern "^sha256:[0-9a-f]{64}$"
status.pendingTrial.seedstringyes—maxLength 2048
status.pendingTrial.specDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.phasestringno—Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. · enum ["Pending","Running","Succeeded","Failed","Cancelled",null] · maxLength 2048 · nullable true
status.pinnedInputsobjectno—Input identities selected for the study. Use them to determine which inputs its trials share. · maxProperties 1024 · nullable true
status.pinnedInputs.environmentDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.pinnedInputs.graphSnapshotobjectyes—maxProperties 1024
status.pinnedInputs.graphSnapshot.generationintegeryes—Copy the selected resource’s Kubernetes generation to pin the revision that this operation uses. · format "int64"
status.pinnedInputs.graphSnapshot.namestringyes—Use the name of the selected resource in the workspace. · maxLength 253
status.pinnedInputs.graphSnapshot.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.pinnedInputs.graphSnapshot.uidstringyes—Copy the selected resource’s Kubernetes UID to detect replacement under the same name. · maxLength 128
status.pinnedInputs.policyobjectyes—maxProperties 1024
status.pinnedInputs.policy.generationintegeryes—Copy the selected resource’s Kubernetes generation to pin the revision that this operation uses. · format "int64"
status.pinnedInputs.policy.namestringyes—Use the name of the selected resource in the workspace. · maxLength 253
status.pinnedInputs.policy.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.pinnedInputs.policy.uidstringyes—Copy the selected resource’s Kubernetes UID to detect replacement under the same name. · maxLength 128
status.pinnedInputs.queryobjectyes—maxProperties 1024
status.pinnedInputs.query.generationintegeryes—Copy the selected resource’s Kubernetes generation to pin the revision that this operation uses. · format "int64"
status.pinnedInputs.query.namestringyes—Use the name of the selected resource in the workspace. · maxLength 253
status.pinnedInputs.query.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.pinnedInputs.query.uidstringyes—Copy the selected resource’s Kubernetes UID to detect replacement under the same name. · maxLength 128
status.plannedTrialsarrayno—Number of trials in the study plan. Compare with reported trials to follow study progress. · maxItems 32
status.plannedTrials[]object——maxProperties 1024
status.plannedTrials[].candidateIndexintegeryes—format "uint32" · minimum 0
status.plannedTrials[].seedstringyes—maxLength 2048
status.resolvedInputRefobjectno—Reference to the resolved study inputs. Use it to identify the execution inputs shared by the study’s trials. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991
status.resolvedInputRef.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.resolvedInputRef.mediaTypestringyes—Use the recorded media type to identify the artifact representation. · maxLength 2048
status.resolvedInputRef.sizeBytesintegeryes—Use the published byte count when verifying a transferred artifact. · format "int64"
status.resolvedInputRef.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.trialsarrayno—Per-trial progress and outcomes recorded by the study. Compare these when investigating missing or failed trials. · maxItems 16
status.trials[]object——maxProperties 1024
status.trials[].candidateIndexintegeryes—format "uint32" · minimum 0
status.trials[].failureCodestringno—maxLength 2048 · nullable true
status.trials[].modelRefobjectno—maxProperties 1024 · nullable true
status.trials[].modelRef.artifactDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.trials[].modelRef.namestringyes—maxLength 253
status.trials[].modelRef.uidstringyes—maxLength 128
status.trials[].phasestringyes—enum ["Pending","Validating","Freezing","WaitingForProducerCapacity","Queued","Running","Verifying","Committing","Succeeded","Cancelling","Cancelled","Failed","Deleting"] · maxLength 2048
status.trials[].seedstringyes—maxLength 2048
status.trials[].trainingRunobjectyes—maxProperties 1024
status.trials[].trainingRun.namestringyes—Workspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer. · maxLength 253
status.trials[].trainingRun.uidstringyes—Kubernetes UID of that TrainingRun. Use it to detect a replacement with the same name. · maxLength 128
status.trials[].validationScorenumberno—format "double" · nullable true
status.winnerobjectno—Selected trial for the study objective. Inspect its model output before using it for inference. · maxProperties 1024 · nullable true
status.winner.candidateIndexintegeryes—format "uint32" · minimum 0
status.winner.meanValidationScorenumberyes—format "double"
status.winner.modelRefobjectyes—maxProperties 1024
status.winner.modelRef.artifactDigeststringyes—maxLength 71 · pattern "^sha256:[0-9a-f]{64}$"
status.winner.modelRef.namestringyes—maxLength 253
status.winner.modelRef.uidstringyes—maxLength 128
status.winner.trainingRunobjectyes—maxProperties 1024
status.winner.trainingRun.namestringyes—Workspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer. · maxLength 253
status.winner.trainingRun.uidstringyes—Kubernetes UID of that TrainingRun. Use it to detect a replacement with the same name. · maxLength 128

Specification​

Define the training template, candidate parameters, objective, and trial budget to compare related runs.

This resource requires grid, maxTrials, objective, seeds, template.

control​

Request deletion of the reviewed child runs when retiring the study. Admission verifies the requester and rejects this one-time command while a child-creation reservation is outstanding.

FieldWhen to use it
spec.control.deleteChildrenSupply the reviewed study and child identities to request deletion of those runs.
spec.control.deleteChildren.childrenList the exact child runs approved for deletion. Build the list from the reviewed study.
spec.control.deleteChildren.children[].nameWorkspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer.
spec.control.deleteChildren.children[].uidKubernetes UID of that TrainingRun. Use it to detect a replacement with the same name.
spec.control.deleteChildren.requestIdIdentify this deletion request. Reuse the request ID when retrying the same intent.
spec.control.deleteChildren.reviewedResourceVersionCopy the study resource version that you reviewed for the deletion decision.
spec.control.deleteChildren.studyUidCopy the study UID so the request applies to this instance of the study.

grid​

List the settings to compare across trials. Keep other training settings in the template.

FieldWhen to use it
spec.grid.batchSizesTry these batch sizes to compare training speed, memory use, and validation results.
spec.grid.dropoutsTry these dropout probabilities to compare regularization strengths.
spec.grid.earlyStoppingPatiencesCompare how long trials wait for validation improvement.
spec.grid.hiddenDimensionsCompare model widths with different capacity and memory requirements.
spec.grid.learningRatesCompare optimizer step sizes across otherwise equivalent trials.
spec.grid.maxEpochsTry these epoch limits to compare training duration and validation results.
spec.grid.samplingPlansCompare combinations of graph depth and neighbor counts. Keep each layer count and its fanout together.
spec.grid.samplingPlans[].fanoutSet the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work.
spec.grid.samplingPlans[].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.grid.samplingPlans[].fanoutByEdge[].edgeTypeIdUse the graph edge type ID for this entry. IDs start at zero and must appear in order without gaps.
spec.grid.samplingPlans[].fanoutByEdge[].fanoutSupply one count per layer for this edge type. Use smaller positive counts to sample fewer neighbors from a dense relation.
spec.grid.samplingPlans[].layersSet the number of graph hops. Use another layer to include more distant neighbors.
spec.grid.temporalStrategiesCompare sampling the latest eligible neighbors with uniform sampling.
spec.grid.validationMetricsCompare the metrics used to choose each trial’s best checkpoint.

maxConcurrentTrials​

Limit the trials allowed to run at the same time. Increase this limit when the cluster can run more training jobs.

maxTrials​

Cap the total number of trials across candidates and seeds. Use it to bound the study budget.

objective​

Select the validation score used to rank trial settings across seeds. Choose a metric appropriate to the task.

seeds​

Run each candidate with these seeds. Use several seeds to measure how results vary between runs.

template​

Set the baseline configuration inherited by the trial runs. Use the grid to vary selected settings.

FieldWhen to use it
spec.template.anchorsFor a temporal task, choose the times at which to build training examples. Omit for a static task.
spec.template.anchors.endSet the exclusive end of the anchor period. Keep each target window within the available source coverage.
spec.template.anchors.startSet the first anchor time. Choose a later start if earlier source history is incomplete.
spec.template.anchors.stepSet the interval between anchors. A shorter interval gives more observation times in the same period.
spec.template.cpuWorkersSize CPU training for the CPUs available to the pod. Omission uses one worker. For CUDA training, omit this field or set it to one.
spec.template.forecastEvery trial and the final run inherit these forecast settings. Omitted fields use query or runtime defaults.
spec.template.forecast.forecastLengthSet the number of future time steps to predict. Increase it for a longer forecast horizon.
spec.template.forecast.lagTimestepsChoose how many prior time steps contribute lag features. Increase this value to include more history.
spec.template.forecast.yearOverYearEnable year-over-year features when the time series has annual seasonality.
spec.template.graphSnapshotSourceSelect the graph snapshot for this workload. Use a producer resource to consume its published output.
spec.template.graphSnapshotSource.expectedSupply the expected identities when the workload must use a previously reviewed source or output.
spec.template.graphSnapshotSource.expected.outputPin the resolved output when a producer must return a specific graph snapshot.
spec.template.graphSnapshotSource.expected.output.artifactDigestUse the published artifact digest to require the same artifact bytes.
spec.template.graphSnapshotSource.expected.output.dataIdentityCopy the data identity from the expected snapshot publication when the workload must use that exact dataset.
spec.template.graphSnapshotSource.expected.output.uidCopy the snapshot’s Kubernetes UID to require the exact resource instance.
spec.template.graphSnapshotSource.expected.producerUidPin the producer’s Kubernetes UID to detect deletion and recreation under the same name.
spec.template.graphSnapshotSource.kindUse the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation.
spec.template.graphSnapshotSource.nameUse the Kubernetes name of that resource in this workspace. Choose another name to use a different graph snapshot source.
spec.template.modelChoose the model architecture, neighborhood sampling, and optimization settings for this training job.
spec.template.model.batchSizeSet the number of examples per training batch. Reduce it if a batch exceeds available memory.
spec.template.model.dropoutSet the dropout probability during training. Raise it when testing stronger regularization.
spec.template.model.earlyStoppingPatienceSet how long training can continue without validation improvement. Raise it to tolerate a longer plateau.
spec.template.model.familySelect the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling.
spec.template.model.fanoutSet the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work.
spec.template.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.template.model.fanoutByEdge[].edgeTypeIdUse the graph edge type ID for this entry. IDs start at zero and must appear in order without gaps.
spec.template.model.fanoutByEdge[].fanoutSupply one count per layer for this edge type. Use smaller positive counts to sample fewer neighbors from a dense relation.
spec.template.model.hiddenDimensionSet the width of the hidden representations. A larger width needs more memory.
spec.template.model.layersSet the number of graph hops. Use another layer to include more distant neighbors.
spec.template.model.learningRateSet the optimizer step size. Try a smaller rate if training updates are unstable.
spec.template.model.maxEpochsLimit the number of passes over the training data. Raise the limit if validation performance still improves.
spec.template.model.temporalStrategyChoose how to sample neighbors over time. Last favors the latest eligible neighbors. Uniform samples across eligible neighbors.
spec.template.model.validationMetricFor HeteroMeanV1, omit this field to use TaskLoss. For HeteroCountTimeV2 regression, select Mae to rank checkpoints by mean absolute error.
spec.template.queryRefSelect the prediction query that defines the training task and target.
spec.template.queryRef.nameKubernetes name of the referenced object in the same namespace. Use its metadata.name.
spec.template.resourcesSet Kubernetes resource quantities for the training workload. Size them for this workload and the namespace quota.
spec.template.resources.limitsSet the CPU or memory ceiling for the workload. Choose limits that fit the namespace quota and allow the work to complete.
spec.template.resources.requestsSet the minimum CPU and memory that the Kubernetes scheduler must reserve for the workload.
spec.template.splitDivide the examples into training, validation, and test partitions. The three fractions must sum to one.
spec.template.split.testSet the fraction held out for final evaluation. Keep these examples separate from checkpoint selection.
spec.template.split.trainSet the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough.
spec.template.split.typeUse TemporalRatio for time-ordered examples or HashRatio for a static task.
spec.template.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—Define the training template, candidate parameters, objective, and trial budget to compare related runs. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.maxTrials >= 1 && self.maxTrials <= 16 && self.maxConcurrentTrials >= 1 && self.maxConcurrentTrials <= self.maxTrials · self.seeds.size() >= 1 && self.seeds.size() <= 16 && self.seeds.all(s, s.matches('^(0|[1-9][0-9]*)$')) · self.seeds.all(s, self.seeds.filter(x, x == s).size() == 1) · (has(self.template.anchors) && self.template.split.type == 'TemporalRatio') || (!has(self.template.anchors) && self.template.split.type == 'HashRatio')
spec.controlobjectno—Request deletion of the reviewed child runs when retiring the study. Admission verifies the requester and rejects this one-time command while a child-creation reservation is outstanding. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.control.deleteChildrenobjectyes—Supply the reviewed study and child identities to request deletion of those runs. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.children.all(c, c.name != '' && c.uid != '' && self.children.filter(other, other.name == c.name).size() == 1 && self.children.filter(other, other.uid == c.uid).size() == 1)
spec.control.deleteChildren.childrenarrayyes—List the exact child runs approved for deletion. Build the list from the reviewed study. · maxItems 16
spec.control.deleteChildren.children[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.control.deleteChildren.children[].namestringyes—Workspace name of the TrainingRun. Use the UID as well when identifying a specific trial or model producer. · maxLength 253
spec.control.deleteChildren.children[].uidstringyes—Kubernetes UID of that TrainingRun. Use it to detect a replacement with the same name. · maxLength 128
spec.control.deleteChildren.requestIdstringyes—Identify this deletion request. Reuse the request ID when retrying the same intent. · maxLength 64 · minLength 8
spec.control.deleteChildren.reviewedResourceVersionstringyes—Copy the study resource version that you reviewed for the deletion decision. · maxLength 128 · minLength 1
spec.control.deleteChildren.studyUidstringyes—Copy the study UID so the request applies to this instance of the study. · maxLength 128 · minLength 1
spec.gridobjectyes—List the settings to compare across trials. Keep other training settings in the template. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.grid.batchSizesarrayno—Try these batch sizes to compare training speed, memory use, and validation results. · maxItems 16
spec.grid.batchSizes[]integer——format "int32"
spec.grid.dropoutsarrayno—Try these dropout probabilities to compare regularization strengths. · maxItems 16
spec.grid.dropouts[]number——format "double"
spec.grid.earlyStoppingPatiencesarrayno—Compare how long trials wait for validation improvement. · maxItems 16
spec.grid.earlyStoppingPatiences[]integer——format "int32"
spec.grid.hiddenDimensionsarrayno—Compare model widths with different capacity and memory requirements. · maxItems 16
spec.grid.hiddenDimensions[]integer——format "int32"
spec.grid.learningRatesarrayno—Compare optimizer step sizes across otherwise equivalent trials. · maxItems 16
spec.grid.learningRates[]number——format "double"
spec.grid.maxEpochsarrayno—Try these epoch limits to compare training duration and validation results. · maxItems 16
spec.grid.maxEpochs[]integer——format "int32"
spec.grid.samplingPlansarrayno—Compare combinations of graph depth and neighbor counts. Keep each layer count and its fanout together. · maxItems 16
spec.grid.samplingPlans[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.layers == self.fanout.size() && self.layers >= 1 && self.layers <= 3 · !has(self.fanoutByEdge) || self.fanoutByEdge.all(e, e.fanout.size() == self.layers)
spec.grid.samplingPlans[].fanoutarrayyes—Set the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work. · maxItems 3
spec.grid.samplingPlans[].fanout[]integer——format "int32"
spec.grid.samplingPlans[].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 16 · nullable true
spec.grid.samplingPlans[].fanoutByEdge[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.grid.samplingPlans[].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.grid.samplingPlans[].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.grid.samplingPlans[].fanoutByEdge[].fanout[]integer——format "int32"
spec.grid.samplingPlans[].layersintegeryes—Set the number of graph hops. Use another layer to include more distant neighbors. · format "int32"
spec.grid.temporalStrategiesarrayno—Compare sampling the latest eligible neighbors with uniform sampling. · maxItems 16
spec.grid.temporalStrategies[]string——enum ["Uniform","Last"] · maxLength 16384
spec.grid.validationMetricsarrayno—Compare the metrics used to choose each trial’s best checkpoint. · maxItems 16
spec.grid.validationMetrics[]string——enum ["TaskLoss","Mae"] · maxLength 16384
spec.maxConcurrentTrialsintegerno1Limit the trials allowed to run at the same time. Increase this limit when the cluster can run more training jobs. · format "int32"
spec.maxTrialsintegeryes—Cap the total number of trials across candidates and seeds. Use it to bound the study budget. · format "int32"
spec.objectivestringyes—Select the validation score used to rank trial settings across seeds. Choose a metric appropriate to the task. · enum ["ValidationMae","ValidationMse","ValidationLoss","ValidationAccuracy"] · maxLength 16384
spec.seedsarrayyes—Run each candidate with these seeds. Use several seeds to measure how results vary between runs. · maxItems 16
spec.seeds[]string——maxLength 16384
spec.templateobjectyes—Set the baseline configuration inherited by the trial runs. Use the grid to vary selected settings. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true · self.model.layers == self.model.fanout.size() · !has(self.forecast) || ((!has(self.forecast.forecastLength) || (self.forecast.forecastLength >= 1 && self.forecast.forecastLength <= 10000)) && (!has(self.forecast.lagTimesteps) || self.forecast.lagTimesteps >= 1))
spec.template.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.template.anchors.endstringyes—Set the exclusive end of the anchor period. Keep each target window within the available source coverage. · maxLength 16384
spec.template.anchors.startstringyes—Set the first anchor time. Choose a later start if earlier source history is incomplete. · maxLength 16384
spec.template.anchors.stepstringyes—Set the interval between anchors. A shorter interval gives more observation times in the same period. · maxLength 16384
spec.template.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.template.forecastobjectno—Every trial and the final run inherit these forecast settings. Omitted fields use query or runtime defaults. · maxProperties 1024 · nullable true · x-kubernetes-preserve-unknown-fields true
spec.template.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.template.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.template.forecast.yearOverYearbooleanno—Enable year-over-year features when the time series has annual seasonality. · nullable true
spec.template.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.template.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.template.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.template.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.template.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.template.graphSnapshotSource.expected.output.uidstringno—Copy the snapshot’s Kubernetes UID to require the exact resource instance. · maxLength 128 · minLength 1 · nullable true
spec.template.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.template.graphSnapshotSource.kindstringyes—Use the Kubernetes kind of the selected resource. Supported kinds are GraphSnapshot and SnapshotPreparation. · enum ["SnapshotPreparation","GraphSnapshot"] · maxLength 16384
spec.template.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.template.modelobjectyes—Choose the model architecture, neighborhood sampling, and optimization settings for this training job. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.template.model.batchSizeintegeryes—Set the number of examples per training batch. Reduce it if a batch exceeds available memory. · format "int32"
spec.template.model.dropoutnumberyes—Set the dropout probability during training. Raise it when testing stronger regularization. · format "double"
spec.template.model.earlyStoppingPatienceintegeryes—Set how long training can continue without validation improvement. Raise it to tolerate a longer plateau. · format "int32"
spec.template.model.familystringyes—Select the architecture to train. Use HeteroCountTimeV2 for CUDA training or per-edge sampling. · enum ["HeteroMeanV1","HeteroCountTimeV2"] · maxLength 16384
spec.template.model.fanoutarrayyes—Set the number of neighbors sampled at each hop. Supply one count per layer. Smaller counts reduce work. · maxItems 256
spec.template.model.fanout[]integer——format "int32"
spec.template.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.template.model.fanoutByEdge[]object——maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.template.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.template.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.template.model.fanoutByEdge[].fanout[]integer——format "int32"
spec.template.model.hiddenDimensionintegeryes—Set the width of the hidden representations. A larger width needs more memory. · format "int32"
spec.template.model.layersintegeryes—Set the number of graph hops. Use another layer to include more distant neighbors. · format "int32"
spec.template.model.learningRatenumberyes—Set the optimizer step size. Try a smaller rate if training updates are unstable. · format "double"
spec.template.model.maxEpochsintegeryes—Limit the number of passes over the training data. Raise the limit if validation performance still improves. · format "int32"
spec.template.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.template.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.template.queryRefobjectyes—Select the prediction query that defines the training task and target. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true
spec.template.queryRef.namestringyes—Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253
spec.template.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.template.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.template.resources.limits[key]string——maxLength 16384
spec.template.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.template.resources.requests[key]string——maxLength 16384
spec.template.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.template.split.testnumberyes—Set the fraction held out for final evaluation. Keep these examples separate from checkpoint selection. · format "double"
spec.template.split.trainnumberyes—Set the fraction of examples used to fit the model. Increase it when the holdout sets remain large enough. · format "double"
spec.template.split.typestringyes—Use TemporalRatio for time-ordered examples or HashRatio for a static task. · enum ["TemporalRatio","HashRatio"] · maxLength 16384
spec.template.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.