-
Notifications
You must be signed in to change notification settings - Fork 319
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
Get cluster-autoscaler elements with kubectl #1910
Comments
Hi alk-rniveau, AKS bot here 👋 I might be just a bot, but I'm told my suggestions are normally quite good, as such:
|
@alk-rniveau the deployment you linked is for running your own (unmanaged) cluster-autoscaler in an AKS cluster. In the managed autoscaler case which you enable via |
Thanks for your answer but here is my issue: I would like to pause the CA during some periods as we can see here https://github.com/hellofresh/eks-rolling-update/ (yes it's for eks). Why can't we watch deployment with the managed solution ? |
@alk-rniveau it seems that this assumes the existence of cluster autoscaler in your cluster. With the managed solution, the actual autoscaling component . Some alternatives you can consider:
I'm interested in your use-case, what's your use case? Are you trying to prevent scale down? If so, we can expose another parameter that allows you to disable scale down completely. |
My use case is the following: Sometime I redeploy many deployments in the same time. This manipulation can cause a useless scaleup node. This is useless because once the burn phase is over (after the deployment), this node is scaled down. It's not a load from bigger usage of the platform, but just due to the max surge behavior. |
@alk-rniveau would setting |
this parameter is not is the doc https://docs.microsoft.com/fr-fr/azure/aks/cluster-autoscaler. I think this parameter come from this issue #1716. |
Following up on the doc update now. For the Terraform provider, it's better to open up an issue there. The Go SDK for the September API should be available and ready to consume by Terraform. |
What happened:
Based on this example https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-aks.yaml, it seems when we enable cluster-autoscaler, some elements are created within the cluster.
Currently, I can only get the config map and watch events. I would like to know if it's possible to get other elements with kubectl (I can't see nothing)
What you expected to happen:
Have a vision about pod or other elements which compose the cluster-autoscaler.
Environment:
The text was updated successfully, but these errors were encountered: