davidjumani edited a comment on issue #5976:
URL: https://github.com/apache/cloudstack/issues/5976#issuecomment-1050567927


   @satishglondhe Does the kubernetes node names match the VM names ? Also can 
you post a full log cycle. Sometimes it might not detect the node via the uuid 
but does so by the hostname. You can also try creating an HPA and increasing 
the load and watch the autoscaler to see if it detects that pods are 
unschedulable and comes up with a plan to scale up the cluster similar to :
   ```
   I1023 10:24:21.347588       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-fgvlg is unschedulable
   I1023 10:24:21.347591       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-5rphq is unschedulable
   I1023 10:24:21.347593       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-bc272 is unschedulable
   I1023 10:24:21.347596       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-44svc is unschedulable
   I1023 10:24:21.347598       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-nlzhr is unschedulable
   I1023 10:24:21.347601       1 klogx.go:86] Pod 
default/php-apache-79544c9bd9-fctw6 is unschedulable
   I1023 10:24:21.347616       1 scale_up.go:364] Upcoming 0 nodes
   I1023 10:24:21.348158       1 scale_up.go:456] Best option to resize: 
43625790-9620-45c1-95e0-c6316d0117e0
   I1023 10:24:21.348166       1 scale_up.go:460] Estimated 2 nodes needed in 
43625790-9620-45c1-95e0-c6316d0117e0
   I1023 10:24:21.348176       1 scale_up.go:574] Final scale-up plan: 
[{43625790-9620-45c1-95e0-c6316d0117e0 1->3 (max: 3)}]
   ```
   
   Edit: You'd need to deploy the metrics server for HPA to work
   


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