The module lifecycle stage: Experimental
The module has requirements for installation
The module is configured through ModuleConfig. The contract holds one platform-level setting: whether the
module integrates with the ai-models catalog. Everything an order needs — its class, its model and its
runtime — is declared in InferenceServiceClass and InferenceService, not in ModuleConfig.
Minimal configuration
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: ai-inference
spec:
enabled: true
version: 1With no settings block the module keeps catalog integration on, which is the default.
Catalog integration
catalog.mode decides whether the module resolves a model through the ai-models catalog.
Keep the default when ai-models is installed: the module looks a model up in the catalog and gains
inter-module access to it, so an order may name a catalog model instead of a direct source.
Turn integration off when ai-models is not installed, or when every order in the cluster names its model
source directly. The module then creates no catalog client and asks for no inter-module permissions; orders
that name a direct model source keep working, and an order that names a catalog model is refused with a reason
in its status.
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: ai-inference
spec:
enabled: true
version: 1
settings:
catalog:
mode: NoneSwitching the mode restarts the module controller: the catalog client is created or dropped at startup. Orders already running are not redeployed, and an order that has to be re-resolved reports the new mode in its status conditions.
Where the rest of the configuration lives
- exposure policy, the allow-list of API contracts and the accelerator policy — in
InferenceServiceClass; - the model, the class reference and the runtime parameters of one order — in
InferenceService; - node placement, priority class and resource requests of the module components — inherited from the platform, not exposed as module settings.
See Custom Resources for the fields of both resources.
Requirements
To the Kubernetes version: 1.34 and above.
To the Deckhouse version: 1.75.0 and above.
Parameters
Schema version: 1
-
-
objectsettings.catalogControls integration with the ai-models catalog module. Disable it when orders use direct model sources and ai-models is not installed.
Default:
{ "mode": "Enabled" }-
stringsettings.catalog.mode
Required value
Catalog integration mode.Enabledkeeps catalog lookup and inter-module access.Nonedisables catalog clients and permissions; direct HuggingFace orders remain available.Default:
EnabledAllowed values:
Enabled,None
-
-