Skip to content

Commit 4c291c4

Browse files
committed
docs(operations): correct the bundle-path failure mechanism
The container-variant warning claimed the optional-package template hardcodes spec.variant: default and silently overwrites a user Package CR. The iaas bundle actually renders the GPU operator from bundles.iaas.gpuOperatorVariant, which only accepts default or vgpu and fails the Helm render on any other value. Describe the real mechanism while keeping the conclusion to apply the Package CR directly. Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent e6436cb commit 4c291c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/en/docs/next/operations/gpu-container-workloads.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ With `driver.enabled=false` the operator uses the pre-installed host driver at i
3838

3939
## 1. Install the GPU Operator (container variant)
4040

41-
**Do not** add `cozystack.gpu-operator` to `bundles.enabledPackages` for this variant. The platform Helm chart's optional-package template hardcodes `spec.variant: default` for every name in `enabledPackages` and reconciles the resulting `Package` CR under Helm ownership — any user `Package` CR with `variant: container` is overwritten on the next reconcile. Apply the `Package` CR directly instead; the cozystack platform controller installs it without the bundle entry.
41+
**Do not** add `cozystack.gpu-operator` to `bundles.enabledPackages` for this variant. The `iaas` bundle renders the GPU operator from `bundles.iaas.gpuOperatorVariant`, which only accepts `default` or `vgpu` — any other value, `container` included, makes the platform chart fail the Helm render (`packages/core/platform/templates/bundles/iaas.yaml`). Apply the `Package` CR directly instead; the platform controller installs it without a bundle entry and without the variant restriction.
4242

4343
Apply a `Package` CR with `variant: container`:
4444

0 commit comments

Comments
 (0)