-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to auto-scale Kubernetes cluster #52
Comments
cc @Pearl1594 @weizhouapache @DaanHoogland pl help triage when you've time @saffronjam this looks like an issue with k8s autoscaler (https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/cloudstack/README.md) or with CKS (upstream https://github.com/apache/cloudstack) |
Hi @saffronjam The autoscaling feature works fine on a k8s cluster deployed by CKS. Please find the steps that i have followed After you enable autoscaling on the cluster Make sure the autoscaling pod is deployed in the cluster
Before scaling
Deploy a application
Scale the application
logs from the autoscaler pod
|
I notice @saffronjam used a regular user to deploy the CKS cluster, would it be related to the issue ? |
Hi!
I am unable to auto-scale Kubernetes clusters. As I understand, it create a "cluster-autoscaler" deployment that decides whether to scale or not. However, it does not seem to work, since it logs multiple errors and warnings in the pod, even though it is a completely clean cluster.
Normal scaling seems to work just fine.
Setup
A "default" CloudStack setup 4.18 running KVMs.
Settings (relevant)
The nodes uses the following service offering:
Replicate
Create a new cluster using Kubernets 1.24 ISO found here:
http://download.cloudstack.org/cks/
Enable forced auto-scaling
Since the cluster starts with only one worker node, auto-scaling with 3-5 nodes should trigger an upscale (I assume)
Check the logs for cluster-autoscaler in the Kubernetes cluster
Some notable entries:
Even though I have not edited anything myself (just a clean CKS cluster), I get these weird logs:
The IDs are correct in CloudStack
The entire log:
logs-from-cluster-autoscaler-in-cluster-autoscaler-5bf887ddd8-hxg2g.log
Please tell me if you need more logs to look at, or if I should try some other configuration.
Thanks!
The text was updated successfully, but these errors were encountered: