API Reference¶
Packages¶
llamastack.io/v1alpha1¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group
Resource Types¶
CABundleConfig¶
CABundleConfig defines the CA bundle configuration for custom certificates
Appears in: - TLSConfig
| Field | Description | Default | Validation | 
|---|---|---|---|
| configMapNamestring | ConfigMapName is the name of the ConfigMap containing CA bundle certificates | ||
| configMapNamespacestring | ConfigMapNamespace is the namespace of the ConfigMap (defaults to the same namespace as the CR) | ||
| configMapKeysstring array | ConfigMapKeys specifies multiple keys within the ConfigMap containing CA bundle data All certificates from these keys will be concatenated into a single CA bundle file If not specified, defaults to [DefaultCABundleKey] | MaxItems: 50 | 
ContainerSpec¶
ContainerSpec defines the llama-stack server container configuration.
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| namestring | llama-stack | ||
| portinteger | |||
| resourcesResourceRequirements | |||
| envEnvVar array | |||
| commandstring array | |||
| argsstring array | 
DistributionConfig¶
DistributionConfig represents the configuration information from the providers endpoint.
Appears in: - LlamaStackDistributionStatus
| Field | Description | Default | Validation | 
|---|---|---|---|
| activeDistributionstring | ActiveDistribution shows which distribution is currently being used | ||
| providersProviderInfo array | |||
| availableDistributionsobject (keys:string, values:string) | AvailableDistributions lists all available distributions and their images | 
DistributionPhase¶
Underlying type: string
LlamaStackDistributionPhase represents the current phase of the LlamaStackDistribution
Validation: - Enum: [Pending Initializing Ready Failed Terminating]
Appears in: - LlamaStackDistributionStatus
| Field | Description | 
|---|---|
| Pending | LlamaStackDistributionPhasePending indicates that the distribution is pending initialization | 
| Initializing | LlamaStackDistributionPhaseInitializing indicates that the distribution is being initialized | 
| Ready | LlamaStackDistributionPhaseReady indicates that the distribution is ready to use | 
| Failed | LlamaStackDistributionPhaseFailed indicates that the distribution has failed | 
| Terminating | LlamaStackDistributionPhaseTerminating indicates that the distribution is being terminated | 
DistributionType¶
DistributionType defines the distribution configuration for llama-stack.
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| namestring | Name is the distribution name that maps to supported distributions. | ||
| imagestring | Image is the direct container image reference to use | 
LlamaStackDistribution¶
Appears in: - LlamaStackDistributionList
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | llamastack.io/v1alpha1 | ||
| kindstring | LlamaStackDistribution | ||
| kindstring | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
| apiVersionstring | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specLlamaStackDistributionSpec | |||
| statusLlamaStackDistributionStatus | 
LlamaStackDistributionList¶
LlamaStackDistributionList contains a list of LlamaStackDistribution.
| Field | Description | Default | Validation | 
|---|---|---|---|
| apiVersionstring | llamastack.io/v1alpha1 | ||
| kindstring | LlamaStackDistributionList | ||
| kindstring | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
| apiVersionstring | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| itemsLlamaStackDistribution array | 
LlamaStackDistributionSpec¶
LlamaStackDistributionSpec defines the desired state of LlamaStackDistribution.
Appears in: - LlamaStackDistribution
| Field | Description | Default | Validation | 
|---|---|---|---|
| replicasinteger | 1 | ||
| serverServerSpec | 
LlamaStackDistributionStatus¶
LlamaStackDistributionStatus defines the observed state of LlamaStackDistribution.
Appears in: - LlamaStackDistribution
| Field | Description | Default | Validation | 
|---|---|---|---|
| phaseDistributionPhase | Phase represents the current phase of the distribution | Enum: [Pending Initializing Ready Failed Terminating] | |
| versionVersionInfo | Version contains version information for both operator and deployment | ||
| distributionConfigDistributionConfig | DistributionConfig contains the configuration information from the providers endpoint | ||
| conditionsCondition array | Conditions represent the latest available observations of the distribution's current state | ||
| availableReplicasinteger | AvailableReplicas is the number of available replicas | 
PodOverrides¶
PodOverrides allows advanced pod-level customization.
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| serviceAccountNamestring | ServiceAccountName allows users to specify their own ServiceAccount If not specified, the operator will use the default ServiceAccount | ||
| volumesVolume array | |||
| volumeMountsVolumeMount array | 
ProviderHealthStatus¶
HealthStatus represents the health status of a provider
Appears in: - ProviderInfo
| Field | Description | Default | Validation | 
|---|---|---|---|
| statusstring | |||
| messagestring | 
ProviderInfo¶
ProviderInfo represents a single provider from the providers endpoint.
Appears in: - DistributionConfig
| Field | Description | Default | Validation | 
|---|---|---|---|
| apistring | |||
| provider_idstring | |||
| provider_typestring | |||
| configJSON | |||
| healthProviderHealthStatus | 
ServerSpec¶
ServerSpec defines the desired state of llama server.
Appears in: - LlamaStackDistributionSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| distributionDistributionType | |||
| containerSpecContainerSpec | |||
| podOverridesPodOverrides | |||
| storageStorageSpec | Storage defines the persistent storage configuration | ||
| userConfigUserConfigSpec | UserConfig defines the user configuration for the llama-stack server | ||
| tlsConfigTLSConfig | TLSConfig defines the TLS configuration for the llama-stack server | 
StorageSpec¶
StorageSpec defines the persistent storage configuration
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| sizeQuantity | Size is the size of the persistent volume claim created for holding persistent data of the llama-stack server | ||
| mountPathstring | MountPath is the path where the storage will be mounted in the container | 
TLSConfig¶
TLSConfig defines the TLS configuration for the llama-stack server
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| caBundleCABundleConfig | CABundle defines the CA bundle configuration for custom certificates | 
UserConfigSpec¶
Appears in: - ServerSpec
| Field | Description | Default | Validation | 
|---|---|---|---|
| configMapNamestring | ConfigMapName is the name of the ConfigMap containing user configuration | ||
| configMapNamespacestring | ConfigMapNamespace is the namespace of the ConfigMap (defaults to the same namespace as the CR) | 
VersionInfo¶
VersionInfo contains version-related information
Appears in: - LlamaStackDistributionStatus
| Field | Description | Default | Validation | 
|---|---|---|---|
| operatorVersionstring | OperatorVersion is the version of the operator managing this distribution | ||
| llamaStackServerVersionstring | LlamaStackServerVersion is the version of the LlamaStack server | ||
| lastUpdatedTime | LastUpdated represents when the version information was last updated |