Skip to content

Commit

Permalink
Fix metrics port names
Browse files Browse the repository at this point in the history
Shorten the port names for gathering metrics from the wrapped process
and sidecar. This is because kubernetes imposes a 15 character limit,
and we are currently over.
  • Loading branch information
Theo Barber-Bany committed Dec 20, 2021
1 parent cbcec87 commit 33091c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/workloads/console/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,11 @@ func (r *ConsoleReconciler) buildSidecarContainer(consoleId string) corev1.Conta
},
Ports: []corev1.ContainerPort{
{
Name: "http-metrics-wrap",
Name: "http-metrics-2",
ContainerPort: 8090,
},
{
Name: "http-metrics-sidecar",
Name: "http-metrics-1",
ContainerPort: 8080,
},
},
Expand Down

0 comments on commit 33091c4

Please sign in to comment.