Skip to content

Commit

Permalink
Remove metrics port from baremetal-operator
Browse files Browse the repository at this point in the history
baremetal-operator isn't listening on port 60000, the metrics
listener is on port 8085 (the default), it dosn't need to be
defined in the pod as we arn't using it. Defining a HostPort
(even an unused one) will prevent the pod from being schedulable
if the port is already in use on the host.
  • Loading branch information
derekhiggins authored and openshift-cherrypick-robot committed Sep 21, 2023
1 parent 7f3c8bb commit ec43790
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions provisioning/bmo_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ func createContainerBaremetalOperator(info *ProvisioningInfo) (corev1.Container,
Name: "metal3-baremetal-operator",
Image: info.Images.BaremetalOperator,
Ports: []corev1.ContainerPort{
{
Name: "metrics",
ContainerPort: 60000,
HostPort: 60000,
},
{
Name: "webhook-server",
HostPort: int32(webhookPort),
Expand Down

0 comments on commit ec43790

Please sign in to comment.