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

fix(monitoring): only deploy role and rolebinding and servicemonitoring for Managed cluster #233

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zdtsw
Copy link

@zdtsw zdtsw commented Mar 25, 2024

only create monitoring NS for Managed cluster
ModelMesh has moved away from SRE monitoring. no need redhat-ods-monitoring for Managed cluster.

  • the change is to add a check when we craete namespace, if it is on Manage cluster then do not crate monitoring namespace
  • also when calling for configureManagedMonitoring only for management cluster
  • split configureSegment from old configureCommonMonitoring which is called by both Managed and Self-Managed cluster

Did a test for upgrade 2.4 to 2.5 to 2.6 on self-managed cluster
the CleanupExistingResource during upgrade handles cleaning resource which was previous deployed by modelmesh so, we do not need namespace redhat-ods-monitoring any more,

live build quay.io/wenzhou/rhods-operator-catalog:v2.10.2761-1

ref: https://issues.redhat.com/browse/RHOAIENG-2761

on Managed cluster
only create monitoring NS for Managed cluster

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
@zdtsw zdtsw changed the title fix(monitoring): only deploy role and rolebinding and servicemonitoring fix(monitoring): only deploy role and rolebinding and servicemonitoring for Managed cluster Mar 25, 2024
@VaishnaviHire
Copy link

Is this needed for 2.9 ??

@zdtsw
Copy link
Author

zdtsw commented Apr 13, 2024

Is this needed for 2.9 ??

no, leave it, we need to conclude if namespace is needed first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants