Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkg/operator/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const (
machineExposeMetricsPort = 8441
machineSetExposeMetricsPort = 8442
machineHealthCheckExposeMetricsPort = 8444
pprofPort = 6060
defaultMachineHealthPort = 9440
defaultMachineSetHealthPort = 9441
defaultMachineHealthCheckHealthPort = 9442
Expand Down Expand Up @@ -801,6 +802,10 @@ func newContainers(config *OperatorConfig, features map[string]bool, tlsArgs []s
Name: "healthz",
ContainerPort: defaultMachineHealthPort,
},
{
Name: "pprof",
ContainerPort: pprofPort,
},
},
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Expand Down