Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PollingInterval time.Duration `yaml:"pollingInterval"` Job JobConfig `yaml:"job"` Notebook NotebooksConfig `yaml:"notebook"` JobManagerServerWorkerServiceAddr string `yaml:"jobManagerServerWorkerServiceAddr"` FileManagerServerWorkerServiceAddr string `yaml:"fileManagerServerWorkerServiceAddr"` ModelManagerServerWorkerServiceAddr string `yaml:"modelManagerServerWorkerServiceAddr"` Database db.Config `yaml:"database"` ObjectStore ObjectStoreConfig `yaml:"objectStore"` Debug DebugConfig `yaml:"debug"` KubernetesManager KubernetesManagerConfig `yaml:"kubernetesManager"` KueueIntegration KueueConfig `yaml:"kueueIntegration"` }
Config is the configuration.
type DebugConfig ¶
type DebugConfig struct { KubeconfigPath string `yaml:"kubeconfigPath"` Standalone bool `yaml:"standalone"` SqlitePath string `yaml:"sqlitePath"` }
DebugConfig is the debug configuration.
type JobConfig ¶ added in v0.37.0
type JobConfig struct { Image string `yaml:"image"` Version string `yaml:"version"` ImagePullPolicy corev1.PullPolicy `yaml:"imagePullPolicy"` NumGPUs int `yaml:"numGpus"` WandbAPIKeySecret WandbAPIKeySecretConfig `yaml:"wandbApiKeySecret"` }
JobConfig is the job configuration.
type KubernetesManagerConfig ¶
type KubernetesManagerConfig struct { EnableLeaderElection bool `yaml:"enableLeaderElection"` LeaderElectionID string `yaml:"leaderElectionID"` MetricsBindAddress string `yaml:"metricsBindAddress"` HealthBindAddress string `yaml:"healthBindAddress"` PprofBindAddress string `yaml:"pprofBindAddress"` }
KubernetesManagerConfig is the Kubernetes manager configuration.
type KueueConfig ¶ added in v0.72.0
type KueueConfig struct { Enable bool `yaml:"enable"` DefaultQueueName string `yaml:"defaultQueueName"` }
KueueConfig is the Kueue configuration.
type NotebooksConfig ¶ added in v0.113.0
type NotebooksConfig struct { LLMOperatorBaseURL string `yaml:"llmOperatorBaseUrl"` IngressClassName string `yaml:"ingressClassName"` }
NotebooksConfig is the notebooks configuration.
type ObjectStoreConfig ¶
type ObjectStoreConfig struct {
S3 S3Config `yaml:"s3"`
}
ObjectStoreConfig is the object store configuration.
type S3Config ¶
type S3Config struct { EndpointURL string `yaml:"endpointUrl"` Region string `yaml:"region"` Bucket string `yaml:"bucket"` }
S3Config is the S3 configuration.
type WandbAPIKeySecretConfig ¶ added in v0.127.0
WandbAPIKeySecretConfig is the W&B API key secret configuration.
Click to show internal directories.
Click to hide internal directories.