Bug 1970497

Summary: Backport enabling of pprof metrics for OpenShift SDN
Product: OpenShift Container Platform Reporter: Matthew Robson <mrobson>
Component: NetworkingAssignee: Christoph Stäbler <cstabler>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: aconstan
Version: 4.6.z   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1972183 (view as bug list) Environment:
Last Closed: 2021-06-15 11:58:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1972183    

Description Matthew Robson 2021-06-10 15:03:47 UTC
Description of problem:

Enable pprof by default for OpenShift SDN.

Enable by default in 4.8 via: https://github.com/openshift/cluster-network-operator/pull/988

Would aid in debugging without the need to scale down CVO / CNO and restart pods.

Version-Release number of selected component (if applicable):

4.6.x/4.7.x

How reproducible:
Always

Steps to Reproduce:
1. N/A

Actual results:

Not on by default

Expected results:


Additional info:

Can be enabled today via:

oc scale -n openshift-cluster-version deployments/cluster-version-operator --replicas 0

oc -n openshift-network-operator scale deployment/network-operator --replicas 0

oc -n openshift-sdn edit configmap sdn-config

Set: enableProfiling: true

Save and exit