-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Scaling information #5447
Comments
c/c @fgiloux |
Thanks Camila for adding me to this issue. I am not much knowledgeable about the Ansible Operator but I don't think that it behaves differently from a Go Operator in this respect.
The operator does not auto-scale on its own
The operator does nothing to prevent you from using HorizontalPodAutoscaling (HPA) or VerticalPodAutoscaling (VPA). Depending on what you want to auto-scale the operator or the operands (the memcached instances in the tutorial) the approach may differ.
NA, i.e see VPA and HPA documentation
NA. I hope this helps. |
Hi @MrAmbiG, Just to supplement: You can use HPA(https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)/VPA for the Operands ( what is managed by your Operator ) but not for your Operator/manager pod itself. Why? That would mean more than one process trying to run the same reconciliations. It is not supported by controller runtime which is the lib responsible by the manager/controllers logic. More info: kubernetes-sigs/controller-runtime#1456 Also, I'd like to highlight the comment: kubernetes-sigs/controller-runtime#1456 (comment)
To know more about this option see:
You will pass the By default, it is 1: https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/controller/controller.go#L37-L38 PS.: We have an open issue to improve the controller-runtime docs: kubernetes-sigs/controller-runtime#1416 |
Closing for the operator-sdk, and I'll reopen as an awx-operator issue. |
What is the URL of the document?
Which section(s) is the issue in?
Scale
What needs fixing?
Additional context
Following details are missing
The text was updated successfully, but these errors were encountered: