Skip to content

API Reference

Packages

thalamus.cloud/v1alpha1

Package v1alpha1 contains API Schema definitions for the thalamus.cloud v1alpha1 API group.

Resource Types

EPPSpec

EPPSpec configures the Endpoint Picker Proxy (EPP).

Appears in:

FieldDescriptionDefaultValidation
image stringImage is the container image for the EPP.
args string arrayArgs are passed directly to the EPP as CLI arguments.Optional: {}
env EnvVar arrayEnv defines environment variables for the EPP container.Optional: {}

EPPType

Underlying type: string

Validation:

  • Enum: [llm-d unknown]

Appears in:

FieldDescription
llm-d
unknown

EngineSpec

EngineSpec configures the inference engine instance.

Appears in:

FieldDescriptionDefaultValidation
image stringImage is the container image for the inference engine.
args string arrayArgs are passed directly to the inference engine as CLI arguments.Optional: {}
env EnvVar arrayEnv defines environment variables for the inference engine container.Optional: {}
resources ResourceRequirementsResources defines the compute resources required by the inference engine.Optional: {}

EngineType

Underlying type: string

Validation:

  • Enum: [vllm unknown]

Appears in:

FieldDescription
vllm
unknown

HFWeightsSpec

HFWeightsSpec configures model weights sourced from Hugging Face.

Appears in:

FieldDescriptionDefaultValidation
repoId stringRepoID is the Hugging Face repository ID, e.g. "openai/gpt-oss-120b".
tokenSecret SecretKeySelectorTokenSecret references the key within a Kubernetes secret containing the Hugging Face token.

Model

Model is the Schema for the models API.

Appears in:

FieldDescriptionDefaultValidation
apiVersion stringthalamus.cloud/v1alpha1
kind stringModel
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.Optional: {}
spec ModelSpecspec defines the desired state of the Model.Required: {}
status ModelStatusstatus defines the observed state of the Model.Optional: {}

ModelList

ModelList contains a list of Model.

FieldDescriptionDefaultValidation
apiVersion stringthalamus.cloud/v1alpha1
kind stringModelList
metadata ListMetaRefer to Kubernetes API documentation for fields of metadata.
items Model array

ModelPhase

Underlying type: string

Appears in:

FieldDescription
Pending
Creating
Ready
Failed

ModelSpec

ModelSpec defines the configuration for the model instance.

Appears in:

FieldDescriptionDefaultValidation
serving ServingSpecServing defines how the model is served.
weights WeightsSpecWeights defines where the model weights are sourced from.
scheduling SchedulingSpecScheduling defines scheduling constraints for the model's pods.Optional: {}

ModelStatus

ModelStatus defines the observed state of a Model.

Appears in:

FieldDescriptionDefaultValidation
engineType EngineTypeEngineType is the detected inference engine type, derived from the engine image.Enum: [vllm unknown]
Optional: {}
eppType EPPTypeEPPType is the detected EPP type, derived from the EPP image.Enum: [llm-d unknown]
Optional: {}
phase ModelPhasePhase summarizes the current lifecycle state of the model.Optional: {}
conditions Condition arrayConditions represent the latest observations of the model's state.Optional: {}

SchedulingSpec

SchedulingSpec defines scheduling constraints for the model's pods.

Appears in:

FieldDescriptionDefaultValidation
nodeSelector object (keys:string, values:string)NodeSelector constrains the nodes onto which the model's pods may be scheduled.Optional: {}

ServingSpec

ServingSpec defines the serving configuration for the model instance.

Appears in:

FieldDescriptionDefaultValidation
engine EngineSpecEngine configures the inference engine container.
epp EPPSpecEPP configures the optional Endpoint Picker Proxy.Optional: {}

WeightsSpec

WeightsSpec defines where the model weights are sourced from.

Appears in:

FieldDescriptionDefaultValidation
type WeightsTypeType of the weights source.Enum: [hf]
hf HFWeightsSpecHF configures weights sourced from Hugging Face.Optional: {}

WeightsType

Underlying type: string

Validation:

  • Enum: [hf]

Appears in:

FieldDescription
hf