API Reference

Packages

tensorstack.dev/v1beta1

Package v1beta1 contains API Schema definitions for the v1beta1 API group

Resource Types

Notebook

Notebook is the Schema for the notebooks API

Appears in:

FieldDescription
apiVersion stringtensorstack.dev/v1beta1
kind stringNotebook
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec NotebookSpec
status NotebookStatus

NotebookCondition

NotebookCondition defines the observed condition of notebook

Appears in:

FieldDescription
type NotebookConditionTypeType is the type of the condition. Possible values are Idle, etc
status ConditionStatusStatus is the status of the condition type. Possible values of type Idle are `True
message stringMessage is a human-readable message for the reason of the status.
lastTransitionTime TimeLastTransitionTime is the last time the status was changed.
lastProbeTime TimeLastProbeTime is the last time the condition was probed.

NotebookConditionType

Underlying type: string

Appears in:

NotebookList

NotebookList contains a list of Notebook

FieldDescription
apiVersion stringtensorstack.dev/v1beta1
kind stringNotebookList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items Notebook array

NotebookPhase

Underlying type: string

Appears in:

NotebookSSHSpec

NotebookSSHSpec defines the ssh template spec of Notebook

Appears in:

FieldDescription
enabled booleanIf true, SSH service will be started for this Notebook instance.
serviceType ServiceType
authorized_keys string arrayA list of names of v1.Secret containing SSH public keys authorized for access to this SSH service.

NotebookSSHStatus

NotebookSSHStatus defines the observed state of the SSH service associated with the Notebook.

Appears in:

FieldDescription
serviceName stringThe v1.Service name of the SSH service.
port integerThe port number of the SSH server daemon.
clusterIp string
nodePort integer
protocol Protocol
lastSshClientActivity TimeLastSshClientActivity is the last time an SSH client is active.

NotebookSpec

NotebookSpec defines the desired state of a Notebook.

Appears in:

FieldDescription
template NotebookTemplateSpec
scheduler SchedulePolicy
ssh NotebookSSHSpec
type NotebookType
suspend booleansuspend specifies whether the Notebook controller should delete Pods or not. If true, the associated v1.Pod can be terminated. However, other API resources, such as ConfigMaps and Services, will be preserved for use upon resuming the notebook. Defaults to false.

NotebookStatus

NotebookStatus defines the observed state of a Notebook.

Appears in:

FieldDescription
phase NotebookPhase
pod PodStatus
ssh NotebookSSHStatus
conditions NotebookCondition arrayConditions is an array of current conditions
url stringThe URL to Web UI of the notebook

NotebookTemplateSpec

NotebookTemplateSpec defines the pod template to run a Notebook.

Appears in:

FieldDescription
spec PodSpec

NotebookType

Underlying type: string

Appears in:

PodReference

PodReference references a K8s v1.Pod.

Appears in:

FieldDescription
name stringName of the Pod.
uid stringUID of the Pod.

PodStatus

Pod defines the observed state of the Pod running the notebook.

Appears in:

FieldDescription
reference PodReferenceReferences to the subordinate v1.Pod.
phase PodPhaseReplicated from the corresponding field in the subordinate v1.Pod.

SchedulePolicy

SchedulePolicy specifies the preferred scheduler responsible for handling resource allocation requests.

Appears in:

FieldDescription
t9kScheduler T9kScheduler

T9kScheduler

Appears in:

FieldDescription
queue stringName of the queue to use with the T9kScheduler.