mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-08 21:14:56 +09:00
* examples/README.md and examples/values-native-talos.yaml header comment still pointed at values-talos.yaml after the rename to values-passthrough.yaml. Update both to the new name. * values-vgpu.yaml: drop the leftover vgpuDeviceManager.config block. The chart only renders the config when vgpuDeviceManager.enabled is true, and we keep it false on Ada+; the orphan config.default key was scaffolding without effect. * docs/gpu-vgpu.md and values.yaml comment: stop grouping B100 under Ada Lovelace. B100 is Blackwell; the SR-IOV vGPU mechanism applies to both architectures but they should be named correctly. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
53 lines
2.1 KiB
YAML
53 lines
2.1 KiB
YAML
# Cozystack Package values for running GPU workloads natively in pods
|
|
# on Talos. This is the counterpart to values-passthrough.yaml, which
|
|
# targets the sandbox (VFIO passthrough) scenario.
|
|
#
|
|
# Prerequisites:
|
|
# - NVIDIA Talos system extension installed on GPU nodes.
|
|
# - examples/nvidia-driver-compat.yaml deployed to stage driver files
|
|
# where the gpu-operator validator looks for them.
|
|
# - examples/dcgm-custom-metrics.yaml applied so DCGM Exporter exports
|
|
# the full set of metrics used by the dashboard and recording rules.
|
|
apiVersion: cozystack.io/v1alpha1
|
|
kind: Package
|
|
metadata:
|
|
name: cozystack.gpu-operator
|
|
spec:
|
|
variant: default
|
|
components:
|
|
gpu-operator:
|
|
values:
|
|
gpu-operator:
|
|
# The compat DaemonSet stages libnvidia-ml.so.1 and nvidia-smi
|
|
# under /var/nvidia-driver. Point the validator at that path.
|
|
hostPaths:
|
|
driverInstallDir: "/var/nvidia-driver"
|
|
# Disable the sandbox path — workloads run in pods, not VMs.
|
|
sandboxWorkloads:
|
|
enabled: false
|
|
vfioManager:
|
|
enabled: false
|
|
# The Talos extension provides the driver and runtime hooks,
|
|
# so the operator's own toolkit and driver components must be
|
|
# switched off to avoid conflicting installations.
|
|
toolkit:
|
|
enabled: false
|
|
devicePlugin:
|
|
enabled: true
|
|
# Export full set of DCGM metrics using the ConfigMap in
|
|
# examples/dcgm-custom-metrics.yaml.
|
|
dcgmExporter:
|
|
serviceMonitor:
|
|
enabled: true
|
|
# Matches the 1m evaluation cadence of GPU recording rules with
|
|
# 4x oversampling headroom. DCGM_FI_PROF_* counters have
|
|
# documented overhead concerns below 1s; 15s is safe.
|
|
interval: "15s"
|
|
honorLabels: true
|
|
relabelings:
|
|
- sourceLabels: [__meta_kubernetes_pod_node_name]
|
|
targetLabel: node
|
|
action: replace
|
|
config:
|
|
name: dcgm-custom-metrics
|