Feature OCPSTRAT-3156: Configurable log levels for hosted control plane components#2038
Feature OCPSTRAT-3156: Configurable log levels for hosted control plane components#2038rutvik23 wants to merge 1 commit into
Conversation
Introduces an enhancement proposal for structured, per-component log level configuration (Normal/Debug/Trace/TraceAll) for hosted control plane components managed by CPO via the HostedCluster CR. Covers kube-apiserver (Phase 1), 7 remaining core components (Phase 2), and documents holistic scope for all CPO-managed components (Phase 3). Replaces the existing ad-hoc kube-apiserver-verbosity-level annotation with a validated, structured API using ComponentLogLevelSpec pointer fields in OperatorConfiguration. Tracking: https://issues.redhat.com/browse/OCPSTRAT-3156 RFE: https://issues.redhat.com/browse/RFE-7777
|
Skipping CI for Draft Pull Request. |
|
@rutvik23: This pull request references OCPSTRAT-3156 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 feature to target the "5.0.0" version, but no target version was set. DetailsIn 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. |
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Why
HyperShift administrators and support engineers cannot adjust log
verbosity for hosted control plane components during troubleshooting.
Standard OCP has this via operatorv1.LogLevel, but HyperShift has no
equivalent except an ad-hoc, unvalidated annotation for kube-apiserver.
This was reported as RFE-7777 and accepted as crucial for minimal
troubleshooting.
What
Enhancement proposal introducing structured per-component log level
configuration for CPO-managed components via the HostedCluster CR:
ComponentLogLevelSpectype withNormal/Debug/Trace/TraceAllenum (matching operatorv1.LogLevel)
OperatorConfigurationfor 8 corecontrol plane components
(Phase 2), all remaining CPO-managed components documented
holistically (Phase 3)
annotation
References