-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Scale based on k8s native events #4876
Comments
I like this idea! |
I like this idea as well! Meanwhile I have another requirement described in #4883 Thanks, |
@kangteng525 for what is described in #4883 it should be doable if you have k8s event for the update event. |
Are you open to contribute it if we agree with the idea @Omar-Bishtawi? Any thoughts @kedacore/keda-maintainers? |
Hi @tomkerkhove yes I don't have any issue in this. |
hi @Omar-Bishtawi , thanks for looking into this requirement! @tomkerkhove @JorTurFer do you have any suggestion? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
@tomkerkhove did you get the chance to discuss the idea with other maintainers? |
No updates on this |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
@tomkerkhove any update on this , I'm ready to open a PR and maintain it if you are ok with the idea. |
@Omar-Bishtawi I like the idea, let's go ahead :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Proposal
the idea of this scaler is to scale workloads based on k8s native event.
Usecase
a sample use case for this scaler is with
DeprovisioningBlocked
event . this event is thrown when k8s isn't able to drain a node, there are multiple reasons for this one of them is due to PDB (Pod disruption budges) .here is a sample event content that can be taken from
kubectl get events -o json
:the scaler will be useful to resolve this issue and add new pod when this event is thrown which will allow the node to be drained since there is enough pods to maintain the PDB condition.
Scaler Source
K8s Events API
Scaling Mechanics
we can scale based on the response of k8s Events API .
here is a suggested format for the keda scaled object trigger:
Authentication Source
KEDA Service account (same as Kubernetes Workload scaler)
Anything else?
I'm willing to work on this scaler and create the PR for it if you don't have any notes on this.
The text was updated successfully, but these errors were encountered: