You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Raihan Jana Prasetya <ra...@gmail.com> on 2023/12/24 15:50:03 UTC

Question | What affects the instance creation duration?

Hello, i'm currently doing a simple experiment on CloudStack Kubernetes
Cluster Autoscaler. I wonder what's affecting the duration of the
kubernetes instance creation? I notice an improvement on the duration along
my experiment. It used to take about 8 minutes to scale up a cluster or
create a new cluster, but now it only took 3 minutes to scale up the
cluster or deploy a new cluster

Re: Question | What affects the instance creation duration?

Posted by Raihan Jana Prasetya <ra...@gmail.com>.
Hello,
Thanks for the reply Jayanth and Wei Zhou. The question is for both cluster
creation and autoscaling.
The scenarios are it took about 8 minutes to create a new k8s cluster with
1 control node and 1 worker node, then it still took 8 minutes to scale the
cluster up 1 node. I repeated the same process twice with deleting the k8s
cluster before creating a new cluster and get the same result.

On the third repetition, the duration of the k8s cluster creation time AND
the cluster scaling up process only took 3 minutes each to finish.

The ACS i'm using is 4.18.1, configured with Core Zone, and advanced
network type. I'm using KVM as the hypervisor and NFS for the primary &
secondary storage. The instance running on the ACS is only the k8s cluster
that im doing experiment on.

Yes i'm using the same kubernetes ISO, 1.27.8

Regards,
Raihan

On Mon, Dec 25, 2023 at 1:34 AM Wei ZHOU <us...@gmail.com> wrote:

> Do you use a different ISO?
>
>
>
> 在 2023年12月24日星期日,Raihan Jana Prasetya <ra...@gmail.com> 写道:
>
> > Hello, i'm currently doing a simple experiment on CloudStack Kubernetes
> > Cluster Autoscaler. I wonder what's affecting the duration of the
> > kubernetes instance creation? I notice an improvement on the duration
> along
> > my experiment. It used to take about 8 minutes to scale up a cluster or
> > create a new cluster, but now it only took 3 minutes to scale up the
> > cluster or deploy a new cluster
> >
>

Re: Question | What affects the instance creation duration?

Posted by Wei ZHOU <us...@gmail.com>.
Do you use a different ISO?



在 2023年12月24日星期日,Raihan Jana Prasetya <ra...@gmail.com> 写道:

> Hello, i'm currently doing a simple experiment on CloudStack Kubernetes
> Cluster Autoscaler. I wonder what's affecting the duration of the
> kubernetes instance creation? I notice an improvement on the duration along
> my experiment. It used to take about 8 minutes to scale up a cluster or
> create a new cluster, but now it only took 3 minutes to scale up the
> cluster or deploy a new cluster
>

Re: Question | What affects the instance creation duration?

Posted by Jayanth Reddy <ja...@gmail.com>.
Hello Raihan,
Well, there is no straightforward answer for this. Was that your first cks cluster of the ACS installation took 8 minutes and the subsequent ones are taking 3 minutes? Is the question about autoscaling or the new cluster creation, or both?

It depends on factors like load on your primary, secondary storage and hypervisors. If autoscaling of CKS, IIUC, the autoscaling is triggered under certain conditions but unsure why there has to be a delay in the instance creation. That's all I can think of now. Maybe please share the ACS version and your storage for further.

Thanks,
Jayanth
________________________________
From: Raihan Jana Prasetya <ra...@gmail.com>
Sent: Sunday, December 24, 2023 9:20:26 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Question | What affects the instance creation duration?

Hello, i'm currently doing a simple experiment on CloudStack Kubernetes
Cluster Autoscaler. I wonder what's affecting the duration of the
kubernetes instance creation? I notice an improvement on the duration along
my experiment. It used to take about 8 minutes to scale up a cluster or
create a new cluster, but now it only took 3 minutes to scale up the
cluster or deploy a new cluster