Skip to content
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

mgr: disable the prometheus module by crds #11980

Merged

Conversation

thenamehasbeentake
Copy link

@thenamehasbeentake thenamehasbeentake commented Mar 27, 2023

Description of your changes:
support disable mgr prometheus module by crds
support configuration of disabled, server port and scrape interval for mgr prometheus module by crds

Which issue is resolved by this Pull Request:
Resolves #11962

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide).
  • Skip Tests for Docs: If this is only a documentation change, add the label skip-ci on the PR.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

pkg/apis/ceph.rook.io/v1/types.go Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Show resolved Hide resolved
pkg/apis/ceph.rook.io/v1/types.go Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr.go Show resolved Hide resolved
@thenamehasbeentake thenamehasbeentake force-pushed the support_disable_prometheus_module branch 2 times, most recently from 66fe967 to 57a96e7 Compare March 29, 2023 13:35
Documentation/CRDs/Cluster/ceph-cluster-crd.md Outdated Show resolved Hide resolved
Documentation/CRDs/Cluster/ceph-cluster-crd.md Outdated Show resolved Hide resolved
pkg/operator/ceph/cluster/mgr/mgr_test.go Outdated Show resolved Hide resolved
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

LGTM, just a typo

pkg/operator/ceph/cluster/mgr/mgr.go Outdated Show resolved Hide resolved
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
Copy link
Member

@galexrt galexrt left a comment

Choose a reason for hiding this comment

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

LGTM

@travisn travisn merged commit 87e8364 into rook:master Mar 31, 2023
48 of 50 checks passed
travisn added a commit that referenced this pull request Apr 3, 2023
mgr: disable the prometheus module by crds (backport #11980)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mgr: disable the prometheus module by crds
4 participants