weizhouapache commented on PR #13226:
URL: https://github.com/apache/cloudstack/pull/13226#issuecomment-4859993977

   > LGTM. Performed the following tests and it worked as intended.
   > 
   > - Created a k8s cluster with a compute offering of 2 vCPUs and 4096 MiB of 
memory (Without CPU cap)
   > 
   >     <details>
   >     <summary> VM XML Without CPU cap </summary>
   > 
   >     ```
   >     <maxMemory slots='16' unit='KiB'>8891392</maxMemory>
   >     <memory unit='KiB'>4194304</memory>
   >     <currentMemory unit='KiB'>4194304</currentMemory>
   >     <vcpu placement='static' current='2'>6</vcpu>
   >     <cputune>
   >         <shares>2565</shares>
   >     </cputune>
   >     ```
   > 
   >     </details>
   > 
   > - Scaled the k8s cluster and upgraded its offering to 2 vCPUs and 4096 MiB 
of memory (With CPU cap)
   > 
   >     <details> 
   >     <summary> VM XML With CPU cap </summary>
   > 
   >     ```
   >     <maxMemory slots='16' unit='KiB'>8891392</maxMemory>
   >     <memory unit='KiB'>4194304</memory>
   >     <currentMemory unit='KiB'>4194304</currentMemory>
   >     <vcpu placement='static' current='2'>6</vcpu>
   >     <cputune>
   >         <shares>2565</shares>
   >         <period>10000</period>
   >         <quota>7700</quota>
   >     </cputune>
   >     ```
   > 
   >     </details>
   > 
   > - After that, scaled the worker nodes compute offering to 3 vCPUs and 4096 
MiB of memory (With CPU cap)
   > 
   >     <details> 
   >     <summary> Cluster Details </summary>
   > 
   >     
![cluster-details](https://github.com/user-attachments/assets/fa3eab69-98ca-4e30-89d0-db4091cb9c6c)
   > 
   >     </details>
   > 
   >     <details> 
   >     <summary> worker plane VM XML </summary>
   >     
   >     ```
   >     <maxMemory slots='16' unit='KiB'>8891392</maxMemory>
   >     <memory unit='KiB'>4194304</memory>
   >     <currentMemory unit='KiB'>4194304</currentMemory>
   >     <vcpu placement='static' current='3'>6</vcpu>
   >     <vcpus>
   >         <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
   >         <vcpu id='1' enabled='yes' hotpluggable='no' order='2'/>
   >         <vcpu id='2' enabled='yes' hotpluggable='yes' order='3'/>
   >         <vcpu id='3' enabled='no' hotpluggable='yes'/>
   >         <vcpu id='4' enabled='no' hotpluggable='yes'/>
   >         <vcpu id='5' enabled='no' hotpluggable='yes'/>
   >     </vcpus>
   >     ```
   >     </details>
   > 
   
   Thanks.
   
   Can you disable dynamic scaling and create a CKS cluster, and then
   - scale cks cluster
   - enable dynamic scaling and scale cks cluster ?


-- 
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]

Reply via email to