Explicitly request GPU

This commit is contained in:
Jack Jackson 2025-02-08 16:05:33 -08:00
parent 4710c36228
commit ddd9be2280

View File

@ -62,25 +62,12 @@ ingress:
# hosts:
# - chart-example.local
# https://github.com/kubernetes/kubernetes/issues/7890#issuecomment-766088805
resources: {}
# requests:
# smarter-devices/dri_card0: 1
# limits:
# smarter-devices/dri_card0: 1
#
# ---
#
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# https://github.com/NVIDIA/k8s-device-plugin?tab=readme-ov-file#running-gpu-jobs
resources:
requests:
nvidia.com/gpu: 1
limits:
nvidia.com/gpu: 1
autoscaling:
enabled: false