workloads

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KaiwoconfigFilename               = "kaiwoconfig"
	EnvFilename                       = "env"
	KaiwoUsernameLabel                = "kaiwo-cli/username"
	KaiwoDefaultStorageClassNameLabel = "kaiwo-cli/default-storage-class-name"
	KaiwoDefaultStorageQuantityLabel  = "kaiwo-cli/default-storage-quantity"
	CustomTemplateValuesFilename      = "custom-template-values.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIFlags

type CLIFlags struct {
	Name            string
	Namespace       string
	Image           *string
	ImagePullSecret *string
	Version         *string
	User            *string
	GPUs            *int
	GPUsPerReplica  *int
	Replicas        *int

	UseRay    *bool
	Dangerous *bool

	// Path to workload folder
	Path string

	BaseManifestPath string

	Queue *string

	// Run without modifying resources
	PrintOutput bool
	Preview     bool

	// Create namespace if it doesn't already exist
	CreateNamespace bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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