You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "TheKunalSen (via GitHub)" <gi...@apache.org> on 2026/09/29 10:50:57 UTC
[D] Gpu on Kubernetes Cluster [cloudstack]
GitHub user TheKunalSen created a discussion: Gpu on Kubernetes Cluster
when i am trying to create a Kubernetes cluster on cloudstack i can not see the gpu service offering which i have created and it is showing while creating vms but not while creating Kubernetes cluster so if i want to use the gpu in kubernates cluster then what should i do
while creating vm
<img width="1118" height="243" alt="image" src="https://github.com/user-attachments/assets/6444ed6c-7d2e-41c1-bc43-907c7a521b63" />
while creating kubernetes cluster
<img width="520" height="285" alt="image" src="https://github.com/user-attachments/assets/c8c49214-9886-47c0-b1da-cadf8d7b6fc8" />
GitHub link: https://github.com/apache/cloudstack/discussions/14264
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Gpu on Kubernetes Cluster [cloudstack]
Posted by "DaanHoogland (via GitHub) via users" <us...@cloudstack.apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Gpu on Kubernetes Cluster
@TheKunalSen , does this solve your issue?
GitHub link: https://github.com/apache/cloudstack/discussions/14264#discussioncomment-19648753
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Gpu on Kubernetes Cluster [cloudstack]
Posted by "sueun-dev (via GitHub)" <gi...@apache.org>.
GitHub user sueun-dev added a comment to the discussion: Gpu on Kubernetes Cluster
Check whether those GPU offerings are customized. In the [4.23.0.0 picker](https://github.com/apache/cloudstack/blob/4.23.0.0/ui/src/views/compute/CreateKubernetesCluster.vue#L726-L745), `iscustomized` must be `false`, and `cpunumber`/`memory` must meet the selected Kubernetes version's minimums. The [backend](https://github.com/apache/cloudstack/blob/4.23.0.0/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java#L648-L661) also rejects custom service offerings. The blank CPU/RAM columns in your screenshot make this worth checking.
I ran the unchanged selection method from 4.22.0.0 and 4.23.0.0 in isolated Node with synthetic API responses. It excluded customized GPU offerings and retained fixed-size GPU offerings meeting the minimums. This tests the picker logic, not GPU passthrough or a Kubernetes deployment.
If yours have `iscustomized: true`, create a separate GPU offering with fixed CPU/RAM satisfying the CKS/version minimums, then recheck the picker. Which CloudStack release are you running, and what do `iscustomized`, `cpunumber`, and `memory` show for those two offerings in [`listServiceOfferings`](https://cloudstack.apache.org/api/apidocs-4.22/apis/listServiceOfferings.html)?
GitHub link: https://github.com/apache/cloudstack/discussions/14264#discussioncomment-18659986
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org