-
Notifications
You must be signed in to change notification settings - Fork 79
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
Fix prometheus alerts #2843
base: main
Are you sure you want to change the base?
Fix prometheus alerts #2843
Conversation
6b53968
to
3ae68c9
Compare
I need to test kube-bench to see if this violates cis benchmark |
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-2843-34abec7-prometheus-0.55.0-34.10.0-k8s-docker |
3ae68c9
to
091d848
Compare
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-2843-ca770c1-prometheus-0.55.0-34.10.0-k8s-docker |
091d848
to
8d4c570
Compare
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-2843-42f10c3-prometheus-0.55.0-34.10.0-k8s-docker |
8d4c570
to
0b562d0
Compare
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-2843-a9482e8-prometheus-0.55.0-34.10.0-k8s-docker |
0b562d0
to
069f40d
Compare
Testgrid Run(s) Executing @ https://testgrid.kurl.sh/run/pr-2843-859b9b4-prometheus-0.55.0-34.10.0-k8s-docker |
d3c6767
to
53e4f3c
Compare
rebased against current main branch |
IIUC, this change is effective for k8s 1.21? Wonder if we can split out the content of addons/prometheus/0.55.0-34.10.0 from the change to templates & patches, and have a separate commit to apply that to the various addon versions? |
This was a work in progress. I made some progress on fixing a few false positive alerts but not all. I can't remember if this was only for <= 1.21 or all versions of k8s. Yes I would suggest splitting out template code. This PR is not ready and needs more work. |
What type of PR is this?
type::feature
What this PR does / why we need it:
Fixes alerts
"KubeScheduler has disappeared from Prometheus target discovery."
"KubeControllerManager has disappeared from Prometheus target discovery."
"KubeProxy has disappeared from Prometheus target discovery."
Which issue(s) this PR fixes:
Fixes NONE
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Does this PR require documentation?
NONE