Skip to content

Commit

Permalink
Merge pull request #17199 from rifelpet/automated-cherry-pick-of-#171…
Browse files Browse the repository at this point in the history
…77-origin-release-1.30

Automated cherry pick of #17177: Use the same port for hubble-metrics that is used by cilium
  • Loading branch information
k8s-ci-robot authored Jan 10, 2025
2 parents 642cc46 + 6d90270 commit b651e70
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions docs/contributing/ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ so we can avoid port collisions.

See also pkg/wellknownports/wellknownports.go


| Port | Description |
|------|------------------------------------------|
| ---- | ---------------------------------------- |
| 22 | SSH |
| 443 | Kubernetes API |
| 179 | Calico |
Expand All @@ -31,4 +30,4 @@ See also pkg/wellknownports/wellknownports.go
| 4789 | VXLAN |
| 6942 | Cilium operator prometheus port |
| 9090 | Cilium prometheus port |
| 9091 | Cilium hubble prometheus port |
| 9965 | Cilium hubble prometheus port |
2 changes: 1 addition & 1 deletion pkg/wellknownports/wellknownports.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const (
CiliumPrometheusPort = 9090

// CiliumHubblePrometheusPort is the default port where Hubble exposes metrics
CiliumHubblePrometheusPort = 9091
CiliumHubblePrometheusPort = 9965

// VxlanUDP is the port used by VXLAN tunneling over UDP
VxlanUDP = 8472
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: networking.cilium.io/k8s-1.16-v1.15.yaml
manifestHash: 3fdb869ea26ce50ae6db32e1b997749f18cbb30ebf31468f2c5da2c692681a54
manifestHash: 958394ebe214f5422622d174e6a01c1312d325865a515c517363d4406a1882c5
name: networking.cilium.io
needsPKI: true
needsRollingUpdate: all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data:
hubble-disable-tls: "false"
hubble-listen-address: :4244
hubble-metrics: drop
hubble-metrics-server: :9091
hubble-metrics-server: :9965
hubble-socket-path: /var/run/cilium/hubble.sock
hubble-tls-cert-file: /var/lib/cilium/tls/hubble/tls.crt
hubble-tls-client-ca-files: /var/lib/cilium/tls/hubble/ca.crt
Expand Down Expand Up @@ -831,8 +831,8 @@ spec:
hostPort: 4244
name: peer-service
protocol: TCP
- containerPort: 9091
hostPort: 9091
- containerPort: 9965
hostPort: 9965
name: hubble-metrics
protocol: TCP
readinessProbe:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ data:
hubble-tls-key-file: /var/lib/cilium/tls/hubble/tls.key
hubble-tls-client-ca-files: /var/lib/cilium/tls/hubble/ca.crt
{{ if .Hubble.Metrics }}
hubble-metrics-server: ":9091"
hubble-metrics-server: ":9965"
hubble-metrics:
{{- range .Hubble.Metrics }}
{{ . }}
Expand Down Expand Up @@ -1099,8 +1099,8 @@ spec:
hostPort: 4244
protocol: TCP
{{- if .Hubble.Metrics }}
- containerPort: 9091
hostPort: 9091
- containerPort: 9965
hostPort: 9965
name: hubble-metrics
protocol: TCP
{{- end }}
Expand Down

0 comments on commit b651e70

Please sign in to comment.