-
Notifications
You must be signed in to change notification settings - Fork 2
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
[INTERNAL] Allow intra-broker goals to be used as default #2
[INTERNAL] Allow intra-broker goals to be used as default #2
Conversation
See: linkedin#1242 This is an internal patch to use SystemCpuLoad to monitor broker pod cpu usage knowing that we always run the broker in a container. As `SystemCpuLoad` reports un-normalized cpu load across all cores we do this normalization to match CC expected value in [0, 1] interval.
@alexander-falca I am not sure if this is enough to implement linkedin#1264 The need for us is to have the intra-broker goals available in self.healer. Meaning that similarly to the other inter brokers goals we'd need the healer to continously analyze these intra-broker goals and self-heal them automatically. |
b44a99b
to
98329c7
Compare
127bb51
to
3ad6de3
Compare
ee040d3
to
6edd114
Compare
Small things to mention: Building the image via export TAG=v1.0.0-sometag
docker build -t cc-image:$TAG -f ./docker/Dockerfile .
Goals seem to be added successfully to the list of goals for self-healing, in the UI, the proposals tab has a generic table that doesn't do any justice to the intra-broker goals. IntraBrokerDiskUsageDistributionGoal is also requiring 20 snapshots by default (so partition movements via this goal will wait a lot of something changes in the cluster, eg. replica movement) |
Found the following error in logs
|
Does the same for "IntraBrokerDiskUsageDistributionGoal" as well. |
6730aa4
to
007dae5
Compare
Closing in favour of linkedin#1721 |
This PR resolves linkedin#1264
It seems that intra.broker.goals setting is checked at config validation only and this PR updates sanity check logic.
Adding WIP label while testing in dev env.