Update monitoring per component enabled/disabled #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ref: opendatahub-io#357
whats in the PR
Update from 19th Oct 2023
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67-7
test case 4: no DSC, should no component rules too
create DSCI first, check prometheus config: 2 rules
create DSC with default managed components, check prometheus config: these component rules are added
delete DSC , check prometheus config: 2 rules
Update from 16th Oct 2023
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67-6
test case 3: run on a self-managed cluster
after DSCI instacne is created, should not have prometheus created.
see controllers.DSCInitialization Monitoring enabled, won't apply changes {"cluster": "Self-Managed RHODS Mode"} in the log
odh-segment-key-config CM should be created in applicationamespace.
Update from 13th Oct 2023
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67-5
test case1: email update
test case2: component plugin-plugout
Update:
newest image
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67-1 => with some fix and also enabled monitoring for self and managed both
new catsrc image is:
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67 => monitoring is enabled on the Managed cluster
for testing purpose:
quay.io/wenzhou/opendatahub-operator-catalog:v2.10.67-0 => this enabled monitoring on both Self-Managed and Managed cluster.
should see in log "Monitoring enabled, should't apply changes but for test purpose we enable it here"
Old:
old test image for myself, when mocking to use for SelfManaged cluster
local build: quay.io/wenzhou/opendatahub-operator-catalog:v2.10.2-17
debug info in the screenshots wont be available to check in the new catsrc build.
when enable workbenches, from operator pod log:
check configmap:
then disable workbenches:
check configmap (this might take a minute to get updated)