package
0.0.0-20221209085108-1ab86323d40c
Repository: https://github.com/kube-queue/tf-operator-extension.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GroupNameLabel represents the label key for group name, e.g.
JobCreated means the job has been accepted by the system, but one or more of the pods/services has not been started.
JobFailed means one or more sub-resources (e.g.
JobNameLabel represents the label key for the job name, the value is job name.
JobRestarting means one or more sub-resources (e.g.
JobRoleLabel represents the label key for the job role, e.g.
JobRunning means all sub-resources (e.g.
JobSucceeded means all sub-resources (e.g.
ReplicaIndexLabel represents the label key for the replica-index, e.g.
ReplicaTypeLabel represents the label key for the replica-type, e.g.
No description provided by the author
RestartPolicyExitCode policy means that user should add exit code by themselves, The job operator will check these exit codes to determine the behavior when an error occurs: - 1-127: permanent error, do not restart.
No description provided by the author
No description provided by the author

# Structs

+k8s:openapi-gen=true +k8s:deepcopy-gen=true JobCondition describes the state of the job at a certain point.
+k8s:openapi-gen=true +k8s:deepcopy-gen=true JobStatus represents the current observed state of the training Job.
+k8s:openapi-gen=true +k8s:deepcopy-gen=true ReplicaSpec is a description of the replica.
+k8s:openapi-gen=true ReplicaStatus represents the current observed state of the replica.
+k8s:openapi-gen=true +k8s:deepcopy-gen=true RunPolicy encapsulates various runtime policies of the distributed training job, for example how to clean up resources and how long the job can stay active.
+k8s:openapi-gen=true SchedulingPolicy encapsulates various scheduling policies of the distributed training job, for example `minAvailable` for gang-scheduling.

# Interfaces

ControllerInterface defines the Interface to be implemented by custom operators.

# Type aliases

+k8s:openapi-gen=true CleanPodPolicy describes how to deal with pods when the job is finished.
+k8s:openapi-gen=true JobConditionType defines all kinds of types of JobStatus.
+k8s:openapi-gen=true ReplicaType represents the type of the replica.
+k8s:openapi-gen=true RestartPolicy describes how the replicas should be restarted.