v1

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrainingJob

type TrainingJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TrainingJobSpec   `json:"spec"`
	Status TrainingJobStatus `json:"status,omitempty"`
}

TrainingJob is the Schema for the trainingjobs API

func (*TrainingJob) DeepCopy added in v1.2.0

func (in *TrainingJob) DeepCopy() *TrainingJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJob.

func (*TrainingJob) DeepCopyInto added in v1.2.0

func (in *TrainingJob) DeepCopyInto(out *TrainingJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TrainingJob) DeepCopyObject added in v1.2.0

func (in *TrainingJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TrainingJobList

type TrainingJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TrainingJob `json:"items"`
}

TrainingJobList contains a list of TrainingJob

func (*TrainingJobList) DeepCopy added in v1.2.0

func (in *TrainingJobList) DeepCopy() *TrainingJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobList.

func (*TrainingJobList) DeepCopyInto added in v1.2.0

func (in *TrainingJobList) DeepCopyInto(out *TrainingJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TrainingJobList) DeepCopyObject added in v1.2.0

func (in *TrainingJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TrainingJobSpec

type TrainingJobSpec struct {
	AlgorithmSpecification *commonv1.AlgorithmSpecification `json:"algorithmSpecification"`

	EnableInterContainerTrafficEncryption *bool `json:"enableInterContainerTrafficEncryption,omitempty"`

	EnableNetworkIsolation *bool `json:"enableNetworkIsolation,omitempty"`

	EnableManagedSpotTraining *bool `json:"enableManagedSpotTraining,omitempty"`

	HyperParameters []*commonv1.KeyValuePair `json:"hyperParameters,omitempty"`

	// +kubebuilder:validation:MinItems=1
	InputDataConfig []commonv1.Channel `json:"inputDataConfig,omitempty"`

	OutputDataConfig *commonv1.OutputDataConfig `json:"outputDataConfig"`

	CheckpointConfig *commonv1.CheckpointConfig `json:"checkpointConfig,omitempty"`

	ResourceConfig *commonv1.ResourceConfig `json:"resourceConfig"`

	// +kubebuilder:validation:MinLength=20
	RoleArn *string `json:"roleArn"`

	// +kubebuilder:validation:MinLength=1
	Region *string `json:"region"`

	// A custom SageMaker endpoint to use when communicating with SageMaker.
	// +kubebuilder:validation:Pattern="^(https|http)://.*$"
	SageMakerEndpoint *string `json:"sageMakerEndpoint,omitempty"`

	StoppingCondition *commonv1.StoppingCondition `json:"stoppingCondition"`

	DebugRuleConfigurations []*commonv1.DebugRuleConfiguration `json:"debugRuleConfigurations,omitempty"`

	DebugHookConfig *commonv1.DebugHookConfig `json:"debugHookConfig,omitempty"`

	TensorBoardOutputConfig *commonv1.TensorBoardOutputConfig `json:"tensorBoardOutputConfig,omitempty"`

	Tags []commonv1.Tag `json:"tags,omitempty"`

	// The SageMaker training job name. This is optional for the SageMaker K8s operator. If it is empty,
	// the operator will populate it with a generated name.
	// +kubebuilder:validation:MaxLength=63
	TrainingJobName *string `json:"trainingJobName,omitempty"`

	VpcConfig *commonv1.VpcConfig `json:"vpcConfig,omitempty"`
}

TrainingJobSpec defines the desired state of TrainingJob

func (*TrainingJobSpec) DeepCopy added in v1.2.0

func (in *TrainingJobSpec) DeepCopy() *TrainingJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobSpec.

func (*TrainingJobSpec) DeepCopyInto added in v1.2.0

func (in *TrainingJobSpec) DeepCopyInto(out *TrainingJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TrainingJobStatus

type TrainingJobStatus struct {
	// The status of the training job.
	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeTrainingJob.html#SageMaker-DescribeTrainingJob-response-TrainingJobStatus
	TrainingJobStatus string `json:"trainingJobStatus,omitempty"`

	// The secondary, more granular status of the training job.
	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeTrainingJob.html#SageMaker-DescribeTrainingJob-response-SecondaryStatus
	SecondaryStatus string `json:"secondaryStatus,omitempty"`

	// Field to store additional information, for example if
	// we are unable to check the status we update this.
	Additional string `json:"additional,omitempty"`

	// The last time that we checked the status of the SageMaker job.
	LastCheckTime *metav1.Time `json:"lastCheckTime,omitempty"`

	// Cloud Watch url for training log
	CloudWatchLogUrl string `json:"cloudWatchLogUrl,omitempty"`

	//SageMaker training job name
	SageMakerTrainingJobName string `json:"sageMakerTrainingJobName,omitempty"`

	//Full path to the training artifact (model)
	ModelPath string `json:"modelPath,omitempty"`

	// Status of rule evaluation jobs, obtained from DebugRuleEvaluationStatuses.
	// https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeTrainingJob.html#sagemaker-DescribeTrainingJob-response-DebugRuleEvaluationStatuses
	DebugRuleEvaluationStatuses []commonv1.DebugRuleEvaluationStatus `json:"debugRuleEvaluationStatuses,omitempty"`
}

TrainingJobStatus defines the observed state of TrainingJob

func (*TrainingJobStatus) DeepCopy added in v1.2.0

func (in *TrainingJobStatus) DeepCopy() *TrainingJobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingJobStatus.

func (*TrainingJobStatus) DeepCopyInto added in v1.2.0

func (in *TrainingJobStatus) DeepCopyInto(out *TrainingJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL