API Reference

Packages

batch.tensorstack.dev/v1beta1

Package v1beta1 contains API Schema definitions for the batch v1beta1 API group

Resource Types

ReplicaSpec

ReplicaSpec outlines the intended configuration and execution parameters for a XGBoostTrainingJob.

Appears in:

FieldDescription
type ReplicaTypeReplicaType is the type of the replica, one of “master” or “worker”.
replicas integerThe desired number of replicas of the current template. If unspecified, defaults to 1.
template PodTemplateSpecDescribes the pod that will be created for this replica. Note that RestartPolicy in PodTemplateSpec will always be set to Never as the job controller will decide if restarts are desired.
restartPolicy RestartPolicyRestart policy for all replicas within the job. One of Always, OnFailure, Never, or ExitCode. Defaults to OnFailure.

ReplicaType

Underlying type: string

ReplicaType is the type of the replica, one of “master” or “worker”.

Appears in:

XGBoostTrainingJob

Appears in:

FieldDescription
apiVersion stringbatch.tensorstack.dev/v1beta1
kind stringXGBoostTrainingJob
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec XGBoostTrainingJobSpec
status XGBoostTrainingJobStatus

XGBoostTrainingJobList

XGBoostTrainingJobList contains a list of XGBoostTrainingJob.

FieldDescription
apiVersion stringbatch.tensorstack.dev/v1beta1
kind stringXGBoostTrainingJobList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items XGBoostTrainingJob array

XGBoostTrainingJobSpec

Appears in:

FieldDescription
replicaSpecs ReplicaSpec arrayAn array of ReplicaSpec. Specifies the XGBoost replica configurations.
runMode RunModeJob’s execution behavior. If omitted, defaults to Immediate mode, and tasks are executed immediately upon submission.
runPolicy RunPolicyExecution policy configurations governing the behavior of the XGBoostTrainingJob.
scheduler SchedulePolicyIdentifies the preferred scheduler for allocating resources to replicas. Defaults to cluster default scheduler.

XGBoostTrainingJobStatus

XGBoostTrainingJobStatus defines the observed state of XGBoostTrainingJob.

Appears in:

FieldDescription
tasks Tasks arrayThe status details of individual tasks.
backoffCount integerThe number of restarts being performed.
aggregate Aggregate
conditions JobCondition arrayThe latest available observations of an object’s current state.
phase JobPhaseProvides a simple, high-level summary of where the Job is in its lifecycle. Note that this is NOT indended to be a comprehensive state machine.