kiranchavala opened a new issue, #11545:
URL: https://github.com/apache/cloudstack/issues/11545
### problem
Currently, users are unable to select the custom-constrained and
custom-unconstrained offerings from the UI
And also it's not even possible from the API as we are excluding the custom
offerings for cks cluster
```
localcloud) 🐱 > create kubernetescluster name=test
zoneid=fb0bd189-c018-4897-8a2d-7f9b59b204da hypervisor=KVM
kubernetesversionid=515fb765-38f3-4ca1-bd6d-18816b64418b
serviceofferingid=7ebfd3b9-1b0e-44ca-b9ec-4ebeff9df06e size=1
🙈 Error: (HTTP 530, error code 9999) Given service offering ID: Service
offering {"id":13,"name":"Large
Instance-unconstrained","uuid":"7ebfd3b9-1b0e-44ca-b9ec-4ebeff9df06e"}. for
WORKER nodes is not suitable for the Kubernetes cluster version
KubernetesSupportedVersion
{"id":1,"name":"cks-csi","semanticVersion":"1.33.1","uuid":"515fb765-38f3-4ca1-bd6d-18816b64418b"}
- Custom service offerings are not supported for creating clusters, service
offering ID: 7ebfd3b9-1b0e-44ca-b9ec-4ebeff9df06e
(localcloud) 🐱 > create kubernetescluster name=test
zoneid=fb0bd189-c018-4897-8a2d-7f9b59b204da hypervisor=KVM
kubernetesversionid=515fb765-38f3-4ca1-bd6d-18816b64418b
serviceofferingid=bdf374a9-c55b-46dc-b5c1-c8056beb8d10 size=1
🙈 Error: (HTTP 530, error code 9999) Given service offering ID: Service
offering
{"id":14,"name":"Large-Instance-constrained","uuid":"bdf374a9-c55b-46dc-b5c1-c8056beb8d10"}.
for WORKER nodes is not suitable for the Kubernetes cluster version
KubernetesSupportedVersion
{"id":1,"name":"cks-csi","semanticVersion":"1.33.1","uuid":"515fb765-38f3-4ca1-bd6d-18816b64418b"}
- Custom service offerings are not supported for creating clusters, service
offering ID: bdf374a9-c55b-46dc-b5c1-c8056beb8d10
```
### versions
ACS 4.21, 4.20.1
### The steps to reproduce the bug
1. Navigate to service offering > compute offering > create a
custom-constrained and custom-unconstrained offering.
Create a custom -constrained offering od 2 cpu and 2048 ram which is the
minimum requirement for a cks cluster
2. Navigate to compute > kubernetes > create cks cluster
3. The custom-constrained and custom-unconstrained are listed
<img width="688" height="589" alt="Image"
src="https://github.com/user-attachments/assets/c7ffbca9-9efa-41a2-b8b9-e71ea92f1357"
/>
<img width="670" height="210" alt="Image"
src="https://github.com/user-attachments/assets/e838667a-a1e4-4bbd-9e20-c37aa194fa9d"
/>
<img width="699" height="187" alt="Image"
src="https://github.com/user-attachments/assets/ac3a7c09-8456-4d36-b113-ff21f9e91c13"
/>
...
### What to do about it?
User should be able to select the custom-constrained and
custom-unconstrained offerings for a cks cluster.
As it would be beneficial for the end user to specify the CPU and memory
during CKS creation
A similar box related to deploy instance should be displayed during cks
creation
<img width="1089" height="228" alt="Image"
src="https://github.com/user-attachments/assets/6e2433fb-37c7-47bc-a6f3-a08d286da645"
/>
<img width="1108" height="265" alt="Image"
src="https://github.com/user-attachments/assets/2414589c-a874-4d36-ac3e-6cd2832a89b8"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]