Repository navigation
Conversation
kube-manager can now scale event-processor and history-api from the backlog of the queue each one consumes. Off by default (AUTOSCALER_ENABLED / kube-manager.autoscaler.enabled). - kube-manager/pkg/autoscaler: sampling loop, +1/-1 decision rule with per-target windows, cooldown stored in a Deployment annotation, and a Lease-based leader election so a single replica runs the loop - lib/rabbit: MessageBroker.InspectQueue reports ready messages and consumers; it and Close return ErrReconnecting instead of blocking while the reconnect loop holds the lock - helm: autoscaler values, env and a namespaced Role/RoleBinding for kube-manager; kube-manager now gets the shared rabbitmq Secret and ConfigMap, and CS_NAMESPACE set to the release namespace - history-api: lower the default RUNTIME_EVENTS_BATCH_SIZE to 5000 - vendor k8s.io/client-go leaderelection and record Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…abled The autoscaler Role and RoleBinding were only rendered when autoscaler.enabled was set in the chart, so switching the autoscaler on through AUTOSCALER_ENABLED alone left kube-manager without the lease, deployment and event permissions. Render them whenever serviceAccount.create is set, the same gate as the ClusterRole. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
avlllo
force-pushed
the
feat/kube-manager-autoscaler
branch
from
November 16, 2026 13:20
07c291a to
e59958c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add autoscaler