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

[sync] update: monitoring config (#1676) #1711

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Mar 5, 2025

  • update: monitoring config
  • we only create monitoring stack on Managed Cluster
  • regardless DSCI set monitoring to Managed or not, Self and ODH wont create resource
  • monitoring namespace are immutable, as it cannot be changed unless delete DSCI
  • some small code refactor
  • rename DSCMonitoring to DSCIMonitoring since it is close to DSCI
  • regardless DSCI set monitoring to Removed or not, Managed will already have montioring on

Signed-off-by: Wen Zhou wenzhou@redhat.com

  • update: review comments
  • revert back to old flag name in case break any current users (should not be the case)
  • remove unused parameter

Signed-off-by: Wen Zhou wenzhou@redhat.com


Signed-off-by: Wen Zhou wenzhou@redhat.com
(cherry picked from commit 2fa3afc)

Description

sync #1676

https://issues.redhat.com/browse/RHOAIENG-19988

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

* update: monitoring config

- we only create monitoring stack on Managed Cluster
- regardless DSCI set monitoring to Managed or not, Self and ODH wont create resource
- monitoring namespace are immutable, as it cannot be changed unless delete DSCI
- some small code refactor
- rename DSCMonitoring to DSCIMonitoring since it is close to DSCI
- regardless DSCI set monitoring to Removed or not, Managed will already have montioring on

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

* update: review comments

- revert back to old flag name in case break any current users (should not be the case)
- remove unused parameter

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

---------

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
(cherry picked from commit 2fa3afc)
@zdtsw zdtsw requested a review from ykaliuta March 5, 2025 17:17
@openshift-ci openshift-ci bot requested review from lphiri and MarianMacik March 5, 2025 17:17
@zdtsw zdtsw added the rhoai label Mar 5, 2025
Copy link

openshift-ci bot commented Mar 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ykaliuta

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Mar 6, 2025
… managed cluster

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm label Mar 6, 2025
Copy link

openshift-ci bot commented Mar 6, 2025

New changes are detected. LGTM label has been removed.

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

Attention: Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Project coverage is 20.98%. Comparing base (e4f3b2b) to head (7133f6c).
Report is 1 commits behind head on rhoai.

Files with missing lines Patch % Lines
.../dscinitialization/dscinitialization_controller.go 0.00% 20 Missing and 1 partial ⚠️
controllers/dscinitialization/utils.go 0.00% 4 Missing and 4 partials ⚠️
pkg/upgrade/upgrade.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            rhoai    #1711      +/-   ##
==========================================
- Coverage   21.17%   20.98%   -0.19%     
==========================================
  Files         160      160              
  Lines       11024    10999      -25     
==========================================
- Hits         2334     2308      -26     
- Misses       8457     8459       +2     
+ Partials      233      232       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zdtsw zdtsw merged commit a0dfd13 into opendatahub-io:rhoai Mar 7, 2025
9 of 10 checks passed
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.

2 participants