-
Notifications
You must be signed in to change notification settings - Fork 572
MON-4359: Add Monitoring Capability #2468
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
base: master
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
Hello @rexagod! Some important instructions when contributing to openshift/api: |
Blocked by: openshift/api#2468 Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
@rexagod: This pull request references MON-4359 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
cc7f11d
to
6d757d5
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add an "OptionalMonitoring" capability to support optional monitoring. Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
6d757d5
to
72b018d
Compare
@rexagod: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
||
// ClusterVersionCapabilityOptionalMonitoring manages the cluster monitoring stack which is responsible for gathering and | ||
// processing metrics from the in-house and user workloads. The following CRDs are constitute this capability: | ||
// - TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presumably we should not add this capability until we know the full scope of what this capability will and will not do?
// WARNING: This capability will drop all aforementioned CRDs, and may operational issues in the cluster. | ||
// The only supported use-case for this capability is to reduce the monitoring stack's resource usage by only | ||
// supporting telemetry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What operational issues may happen here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "only supporting telemetry" mean here?
ClusterVersionCapabilityCloudControllerManager ClusterVersionCapability = "CloudControllerManager" | ||
|
||
// ClusterVersionCapabilityOptionalMonitoring manages the cluster monitoring stack which is responsible for gathering and | ||
// processing metrics from the in-house and user workloads. The following CRDs are constitute this capability: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it only these CRDs that are removed when this capability is disabled? Are there default monitoring workloads that may no longer be running on the cluster when this is disabled?
ClusterVersionCapabilitySet4_18 ClusterVersionCapabilitySet = "v4.18" | ||
|
||
// ClusterVersionCapabilitySet4_19 is the recommended set of | ||
// optional capabilities to enable for the 4.18 version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// optional capabilities to enable for the 4.18 version of | |
// optional capabilities to enable for the 4.19 version of |
ClusterVersionCapabilitySet4_19 ClusterVersionCapabilitySet = "v4.19" | ||
|
||
// ClusterVersionCapabilitySet4_20 is the recommended set of | ||
// optional capabilities to enable for the 4.18 version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// optional capabilities to enable for the 4.18 version of | |
// optional capabilities to enable for the 4.20 version of |
ClusterVersionCapabilityCloudCredential, | ||
ClusterVersionCapabilityIngress, | ||
ClusterVersionCapabilityCloudControllerManager, | ||
ClusterVersionCapabilityOptionalMonitoring, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should this be included in the 4.19 set if the capability does not exist in 4.19?
ClusterVersionCapabilityCloudCredential, | ||
ClusterVersionCapabilityIngress, | ||
ClusterVersionCapabilityCloudControllerManager, | ||
ClusterVersionCapabilityOptionalMonitoring, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should this be included in the 4.20 capability list if this capability does not exist in 4.20?
/assign |
Add a "Monitoring" capability to support optional monitoring.