Simon Pasquier
471d4a7df7
chore: collect Kubernetes resources on failed test
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-18 15:03:49 +02:00
Y@&h
50a1645ea7
Update PodMonitor's status subresource on Prometheus reconciliations ( #7929 )
2025-09-17 15:52:10 +02:00
Simon Pasquier
26889776b4
test: collect all custom resources on failed test
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-17 14:29:41 +02:00
Y@&h
7b38255e11
Merge pull request #7896 from yp969803/issue7884
...
Config Status Subresource finalizer in prometheusAgent
2025-09-16 08:26:13 +00:00
Simon Pasquier
8568c904a0
chore: log ServiceMonitor resources in e2e tests
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-08 14:59:40 +02:00
Y@&h
3d04de8b9c
Merge pull request #7795 from yp969803/issue7794
...
Remove binding from the smon status, if the ref workload is deleted
2025-09-05 16:51:28 +02:00
Simon Pasquier
7018b0273f
test: add e2e status test with multiple workloads
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-03 09:59:56 +02:00
Simon Pasquier
c5c52f9617
chore: add e2e test for lazy status updates ( #7852 )
...
This commit extends the existing end-to-end test on the ServiceMonitor
status to ensure that the operator only updates the status when a change
actually happened.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-02 09:16:18 +02:00
Nutmos
269ee842b3
Merge pull request #7856 from nutmos/feat/add-eureka-sd-e2e-test-cases
...
Chore: Update test cases and validation for Euraka SD
2025-09-01 16:18:09 +02:00
Simon Pasquier
13319b5587
chore: add e2e test for lazy status updates
...
This commit extends the existing end-to-end test on the ServiceMonitor
status to ensure that the operator only updates the status when a change
actually happened.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-09-01 15:21:38 +02:00
Hélia Barroso
cacffa596c
feat: Apply modernize analyzer to the codebase ( #7854 )
...
Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com >
2025-09-01 11:33:41 +02:00
Simon Pasquier
eb2e1d01c9
update e2e test cases ( #7841 )
2025-08-29 16:34:13 +02:00
Y@&h
3110665544
Remove invaldBindings from smon status ( #7836 )
2025-08-27 16:44:09 +02:00
Nattapong Ekudomsuk
8e5ceb3f8f
update e2e test cases
2025-08-27 20:39:22 +08:00
Nutmos
47718ecc7c
Chore: Update test cases for NomadSD ( #7838 )
...
* update e2e scrape config
2025-08-27 14:24:42 +02:00
Nutmos
9a0dd003d2
Chore: Update test cases for LinodeSD ( #7835 )
...
* update test cases for linode sd
2025-08-26 10:47:09 +02:00
Nutmos
de544ca4da
Merge pull request #7823 from nutmos/feat/refactor-hetzner-sd-config
...
Chore: Refactor HetznerSD
2025-08-25 13:49:30 +02:00
Simon Pasquier
d5d98817ac
chore: refactor WaitForConfigResourceCondition()
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-21 10:22:10 +02:00
Y@&h
8bbbc2012e
Merge pull request #7793 from yp969803/issue7791
...
add ServiceMonitor status subresource e2e test
2025-08-21 09:41:20 +02:00
Nutmos
8e5c28929f
Chore: Add DockerSwarmSD E2E test cases ( #7818 )
...
* update test cases
* update omitempty
* update host in test
2025-08-19 17:12:53 +02:00
Nutmos
f5a97fe6c6
Chore: Refactor DockerSD ( #7816 )
...
* update docker validation and e2e testing
* update unit test
* update filter test cases
* trigger ci
2025-08-19 09:14:55 +05:30
Dhruv
807b92a58d
feat: add prohibition for probeSelector in CEL validations ( #7752 )
...
Signed-off-by: slashexx <dhruvpuri.35@gmail.com >
2025-08-19 08:51:30 +05:30
Simon Pasquier
fc4bab09f7
chore: use consts for well-know labels/annotations
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-07 10:33:26 +02:00
github-actions[bot]
cad3199a4d
Merge pull request #7721 from prometheus-operator/dependabot/go_modules/github.com/prometheus/prometheus-0.305.0
...
build(deps): bump github.com/prometheus/prometheus from 0.304.2 to 0.305.0
2025-08-07 12:47:21 +05:30
Simon Pasquier
d7f481bd16
Merge pull request #7776 from simonpasquier/add-workqueue-metrics
...
feat: add workqueue metrics
2025-08-06 11:09:39 +02:00
Simon Pasquier
3947dc446e
chore: simplify pvc tests ( #7764 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-06 05:20:41 +02:00
Simon Pasquier
c71c857a28
feat: add workqueue metrics
...
This commit adds the following metrics on controller's workqueues:
* prometheus_operator_workqueue_depth
* prometheus_operator_workqueue_adds_total
* prometheus_operator_workqueue_latency_seconds_bucket
* prometheus_operator_workqueue_latency_seconds_count
* prometheus_operator_workqueue_latency_seconds_sum
* prometheus_operator_workqueue_work_duration_seconds_bucket
* prometheus_operator_workqueue_work_duration_seconds_count
* prometheus_operator_workqueue_work_duration_seconds_sum
* prometheus_operator_workqueue_unfinished_work_seconds
* prometheus_operator_workqueue_longest_running_processor_seconds
* prometheus_operator_workqueue_retries_total
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-05 15:52:48 +02:00
Simon Pasquier
fcc3ed2a14
chore: update description of minReadySeconds fields
...
This commit also changes the field type from `*uint32` to `*int32` (with
a validation marker ensuring a greater than or equal to zero value) to
align with the Kubernetes API conventions. While theorically a breaking
change, it's safe to modify the type because nobody should be using
values larger than MaxInt32 (e.g. 2147483647).
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-05 14:22:19 +02:00
Simon Pasquier
4d7dde5f90
chore: simplify pvc tests
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-04 08:50:03 +02:00
Simon Pasquier
5fb77b48b2
Add --watch-referenced-objects-in-all-namespaces CLI argument
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:26:44 +02:00
Simon Pasquier
69a691c2e8
fix: reconcile resources on secret/configmap changes
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:11:48 +02:00
Simon Pasquier
0c05bbec27
test: add end-to-end test for #6018
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-08-01 10:11:47 +02:00
Simon Pasquier
cc891e490d
chore: fix test framework after Prometheus update
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-07-31 17:13:28 +02:00
Hélia Barroso
8f27c97327
fix: validatingwebhook
...
Signed-off-by: Hélia Barroso <helia_barroso@hotmail.com >
2025-07-31 10:41:12 +01:00
Dhruv
ca8280ebdf
add ScrapeConfigSelector CEL prohibitions for PrometheusAgent DaemonSet mode ( #7729 )
...
* feat: add e2e test for scrapeconfig validation
Signed-off-by: slashexx <dhruvpuri.35@gmail.com >
* add cel rule and generated configs
Signed-off-by: slashexx <dhruvpuri.35@gmail.com >
---------
Signed-off-by: slashexx <dhruvpuri.35@gmail.com >
2025-07-30 16:22:17 +05:30
Whitea
85bedaea55
fix typos ( #7738 )
...
* fix typos
2025-07-25 14:58:26 +05:30
Dhruv
fc4aa2b77b
feat: added e2e tests for invalid shards and PVCRetentionClaim policy specs in PrometheusAgents DaemonSet deployment model ( #7595 )
...
Signed-off-by: slashexx <dhruvpuri.35@gmail.com >
2025-06-25 13:12:41 +05:30
Dhruv
c0183411bb
feat: added e2e tests for invalid replicas and storage specs in PrometheusAgents DaemonSet deployment model ( #7588 )
2025-06-23 16:32:19 +05:30
Simon Pasquier
ed758ee8b6
ci: decrease kubelet sync frequency
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-06-20 14:52:50 +02:00
Nicolas Takashi
7144026601
Merge pull request #7592 from kubeservice-stack/fix-am-matchType
...
Fix `MatchType` is empty in AM matchers
2025-06-17 20:04:29 +01:00
Y@&h
daca5fd3a8
finalizer added to workload resources if statusFOrConfigRes flag is enabled ( #7584 )
...
* feat: added finalizer for prometheus res if configResStatus is enabled
Signed-off-by: Yash Patel <yp969803@gmail.com >
---------
Signed-off-by: Yash Patel <yp969803@gmail.com >
Co-authored-by: Simon Pasquier <spasquie@redhat.com >
2025-06-17 15:37:49 +05:30
dongjiang
7302bd0233
fix e2e case
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-14 09:50:08 +08:00
dongjiang
33707e40a8
fix
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-14 09:27:49 +08:00
dongjiang
af00cbf254
fix unittest casae
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-13 20:58:33 +08:00
dongjiang
f5d9f2930e
update
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-13 20:06:51 +08:00
dongjiang
01eb0f0627
update by codeview
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-13 19:28:08 +08:00
dongjiang
01e5aee5f8
fix e2e fail
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-07 18:04:05 +08:00
dongjiang
559e99c6d2
fix e2e casae
...
Signed-off-by: dongjiang <dongjiang1989@126.com >
2025-06-07 17:22:43 +08:00
Martin Bergamasco
41e60354f6
e2e: test for all prometheus-operator metrics in e2e ( #7488 )
...
* e2e: test for all prometheus-operator metrics in e2e
fixes: #6528
2025-05-21 14:28:10 +02:00
Simon Pasquier
34b82db925
chore: update k8s dependencies to v0.33.0
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2025-05-14 13:42:53 +02:00