If you try to schedule workloads on NVIDIA L40S GPUs by adding the annotation/selector spotinst.io/gpu-type: nvidia-l40s to your Kubernetes pod manifest, your pods may remain in a Pending state. This typically happens because the spotinst.io/gpu-type label doesn’t currently include L40S as a supported value.
This article explains how to run L40S workloads using a supported workaround: create a dedicated Virtual Node Group (VNG) configured for L40S-capable instances and schedule pods to that VNG using GPU resource limits plus node labels/affinity.
-
Confirm the symptom in your cluster events/logs.
Look for messages similar to the following, which indicate he selector can’t be satisfied by the current node group configuration when L40S isn’t supported by the label.-
“Attempt Scale Up… pod is pending but its affinity/anti-affinity could not be satisfied…”
-
“NodeSelector: { "spotinst.io/gpu-type": "nvidia-l40s" }”
-
-
Remove the unsupported L40S spotinst.io/gpu-type selector.
In your pod manifest, remove usage of:-
spotinst.io/gpu-type: nvidia-l40s
This prevents the scheduler/autoscaler from blocking on a label value that isn’t recognized/satisfied.
-
-
Request a GPU using standard Kubernetes GPU resources.
In your container spec, request/limit a GPU so Kubernetes schedules the pod onto a GPU-capable node:resources: limits: nvidia.com/gpu: 1This is the standard mechanism for GPU workloads and works with GPU-enabled nodes.
-
Create a dedicated VNG for L40S-capable instances.
Configure a Virtual Node Group that uses:-
A GPU-capable machine image (for example, a GPU-ready image/AMI in your cloud)
-
Only the instance types that provide L40S hardware (so the VNG scales with the right capacity)
This ensures Ocean scales the correct nodes when a GPU pod is pending. For related configuration options, see this documentation.
-
-
Add a custom node label to the L40S VNG.
Add a custom label on nodes created by the L40S VNG (choose a label key/value that works for your environment), such as:-
workload.gpu.family: l40s
-
or spot.ocean.vng: l40s
This gives you a reliable, supported way to target the correct VNG.
-
-
Target the L40S VNG using nodeSelector or node affinity.
In your pod manifest, select nodes using the custom label you configured on the L40S VNG, for example:nodeSelector: workload.gpu.family: l40sOr use node affinity if you need more control. This approach avoids relying on spotinst.io/gpu-type for a GPU model that isn’t currently supported.
-
(Optional) Mix GPUs by using multiple VNGs.
If you run both A10 and L40S workloads, create separate VNGs (one for A10, one for L40S) and steer workloads using labels/affinity. This prevents scheduling collisions and keeps scaling predictable.
- GPU pods should schedule successfully when
nvidia.com/gpuare requested - Ocean should scale the L40S VNG to match demand
- Pods should no longer remain pending due to an unsupported
spotinst.io/gpu-typevalue
Related Articles
Flexera Kubernetes inventory agent monitor pod stuck in pending state due to unbound immediate PVC allocation 20Number of Views Prevent regular VMs when using spot toleration injection with shutdown hours 7Number of Views Pods can't be scheduled because autoscaling is disabled 48Number of Views How Long does FNPLicensingService Normally Stay Running After The Last Client Disconnects on Mac or Linux? 6Number of Views Stay updated on changes to Flexera sub-processors 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago