tensorboard

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileTensorBoard

func ReconcileTensorBoard(jc job_controller.JobController, c client.Client, object client.Object, masterType apiv1.ReplicaType, spec *apiv1.ReplicaSpec,
	jobStatus apiv1.JobStatus, result *reconcile.Result) error

ReconcileTensorBoard reads that state of the cluster for the TensorBoard object and makes changes based on the state read.

Types

type IngressSpec

type IngressSpec struct {
	// Host is only checked if the Type is Ingress.
	Host *string `json:"host,omitempty"`
	// PathPrefix is only checked if the Type is Ingress.
	PathPrefix *string `json:"pathPrefix,omitempty"`
	// Annotations is an unstructured key value map stored for ingress.
	Annotations map[string]string `json:"annotations,omitempty"`
}

IngressSpec defines the desired state of ingress

type TensorBoard

type TensorBoard struct {
	// LogDir is the location of the log directory to be read by tensorboard.
	LogDir string `json:"logDir,omitempty"`
	// TTLSecondsAfterJobFinished is the TTL to clean up the tensorboard after the job is finished.
	TTLSecondsAfterJobFinished int32 `json:"ttlSecondsAfterJobFinished,omitempty"`
	// UpdateTimestamp is the timestamp of the last update
	UpdateTimestamp metav1.Time `json:"updateTimestamp,omitempty"`
	// Image is tensorboard container image.
	Image *string `json:"image,omitempty"`
	// Ingress defines the desired state of ingress
	Ingress *IngressSpec `json:"ingressSpec,omitempty"`
}

TensorBoard defines the desired state of tensorboard

Jump to

Keyboard shortcuts

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