-
Notifications
You must be signed in to change notification settings - Fork 138
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
EV-4694 Make resource requests/limits configurable for KB, prometheus, Alert Manager #3224
Conversation
7b4263a
to
55f7687
Compare
// Set the possibly new fields back onto the kibana. | ||
k.Spec.PodTemplate = *r.podTemplateSpec | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placed ApplyPrometheusOverrides func inside components to take advantage of the merge container functionlity of components.
s.Spec.MinReadySeconds = *r.minReadySeconds | ||
s.Spec.Template = *r.podTemplateSpec | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placed ApplyKibanaOverrides func inside components to take advantage of the existing replicated pod resources and applyReplicatedPodResourceOverrides func. Since kibana spec has Pod Template which can be overridden in the same way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Kibana:
kibana override the kibana resource and its pod template.
ECKOperator
Prometheus has defaults set for init-config-reloader, config-reloader
It allows configuring the resources for "prometheus" container via Resource param in Spec.
Any Additional container injected via Prometheus's Container can be configured (for now it supports authn-proxy)
Updates prometheus injected containers.
Update prometheus resources and therefore its container such as prometheus
Update alertmanager resource:
For PR author
make gen-files
make gen-versions
For PR reviewers
A note for code reviewers - all pull requests must have the following:
kind/bug
if this is a bugfix.kind/enhancement
if this is a a new feature.enterprise
if this PR applies to Calico Enterprise only.