Skip to content

feat: update probe status subresource on Prometheus reconciliations#7934

Merged
simonpasquier merged 11 commits intoprometheus-operator:mainfrom
kubeservice-stack:update-probe-statue-7927
Sep 24, 2025
Merged

feat: update probe status subresource on Prometheus reconciliations#7934
simonpasquier merged 11 commits intoprometheus-operator:mainfrom
kubeservice-stack:update-probe-statue-7927

Conversation

@dongjiang1989
Copy link
Member

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.

If it fixes an existing issue (bug or feature), use the following keyword:

Closes: #7927

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

update probe status subresource on Prometheus reconciliations

Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
@dongjiang1989
Copy link
Member Author

Waiting for #7932 and #7933 merge frist

@simonpasquier
Copy link
Contributor

Thanks for the PR! We've been chatting with @yp969803 in the #prometheus-operator-dev channel (k8s Slack) that it would be good to wait for the resolution of #7913 first before proceeding. but nice to see your effort :)

dongjiang1989 and others added 5 commits September 18, 2025 16:18
Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
@dongjiang1989 dongjiang1989 reopened this Sep 19, 2025
@dongjiang1989 dongjiang1989 marked this pull request as ready for review September 19, 2025 08:25
@dongjiang1989 dongjiang1989 requested a review from a team as a code owner September 19, 2025 08:25
@dongjiang1989
Copy link
Member Author

Thanks for the PR! We've been chatting with @yp969803 in the #prometheus-operator-dev channel (k8s Slack) that it would be good to wait for the resolution of #7913 first before proceeding. but nice to see your effort :)

Thanks @simonpasquier
Got it

)
require.NoError(t, err)

blackboxExporterName := "blackbox-exporter"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't worry about deploying a blackbox exporter. What we need to test is only that the operator reconciles the probe resource.
If/when we extend the status to include target information, we will worry about running an exporter.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @simonpasquier
Fixed
Remove blackboxExporter done.

dongjiang1989 and others added 4 commits September 19, 2025 17:16
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
Signed-off-by: dongjiang <dongjiang1989@126.com>
@simonpasquier simonpasquier merged commit 4f2b312 into prometheus-operator:main Sep 24, 2025
22 checks passed
@simonpasquier
Copy link
Contributor

thanks!

@dongjiang1989 dongjiang1989 deleted the update-probe-statue-7927 branch September 24, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Probe's status subresource on Prometheus reconciliations

2 participants