Skip to content

Commit b651e70

Browse files
authored
Merge pull request #17199 from rifelpet/automated-cherry-pick-of-#17177-origin-release-1.30
Automated cherry pick of #17177: Use the same port for hubble-metrics that is used by cilium
2 parents 642cc46 + 6d90270 commit b651e70

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

docs/contributing/ports.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ so we can avoid port collisions.
55

66
See also pkg/wellknownports/wellknownports.go
77

8-
98
| Port | Description |
10-
|------|------------------------------------------|
9+
| ---- | ---------------------------------------- |
1110
| 22 | SSH |
1211
| 443 | Kubernetes API |
1312
| 179 | Calico |
@@ -31,4 +30,4 @@ See also pkg/wellknownports/wellknownports.go
3130
| 4789 | VXLAN |
3231
| 6942 | Cilium operator prometheus port |
3332
| 9090 | Cilium prometheus port |
34-
| 9091 | Cilium hubble prometheus port |
33+
| 9965 | Cilium hubble prometheus port |

pkg/wellknownports/wellknownports.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const (
7171
CiliumPrometheusPort = 9090
7272

7373
// CiliumHubblePrometheusPort is the default port where Hubble exposes metrics
74-
CiliumHubblePrometheusPort = 9091
74+
CiliumHubblePrometheusPort = 9965
7575

7676
// VxlanUDP is the port used by VXLAN tunneling over UDP
7777
VxlanUDP = 8472

tests/integration/update_cluster/privatecilium2/data/aws_s3_object_privatecilium.example.com-addons-bootstrap_content

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
version: 9.99.0
156156
- id: k8s-1.16
157157
manifest: networking.cilium.io/k8s-1.16-v1.15.yaml
158-
manifestHash: 3fdb869ea26ce50ae6db32e1b997749f18cbb30ebf31468f2c5da2c692681a54
158+
manifestHash: 958394ebe214f5422622d174e6a01c1312d325865a515c517363d4406a1882c5
159159
name: networking.cilium.io
160160
needsPKI: true
161161
needsRollingUpdate: all

tests/integration/update_cluster/privatecilium2/data/aws_s3_object_privatecilium.example.com-addons-networking.cilium.io-k8s-1.16_content

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ data:
7878
hubble-disable-tls: "false"
7979
hubble-listen-address: :4244
8080
hubble-metrics: drop
81-
hubble-metrics-server: :9091
81+
hubble-metrics-server: :9965
8282
hubble-socket-path: /var/run/cilium/hubble.sock
8383
hubble-tls-cert-file: /var/lib/cilium/tls/hubble/tls.crt
8484
hubble-tls-client-ca-files: /var/lib/cilium/tls/hubble/ca.crt
@@ -831,8 +831,8 @@ spec:
831831
hostPort: 4244
832832
name: peer-service
833833
protocol: TCP
834-
- containerPort: 9091
835-
hostPort: 9091
834+
- containerPort: 9965
835+
hostPort: 9965
836836
name: hubble-metrics
837837
protocol: TCP
838838
readinessProbe:

upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.16-v1.15.yaml.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ data:
332332
hubble-tls-key-file: /var/lib/cilium/tls/hubble/tls.key
333333
hubble-tls-client-ca-files: /var/lib/cilium/tls/hubble/ca.crt
334334
{{ if .Hubble.Metrics }}
335-
hubble-metrics-server: ":9091"
335+
hubble-metrics-server: ":9965"
336336
hubble-metrics:
337337
{{- range .Hubble.Metrics }}
338338
{{ . }}
@@ -1099,8 +1099,8 @@ spec:
10991099
hostPort: 4244
11001100
protocol: TCP
11011101
{{- if .Hubble.Metrics }}
1102-
- containerPort: 9091
1103-
hostPort: 9091
1102+
- containerPort: 9965
1103+
hostPort: 9965
11041104
name: hubble-metrics
11051105
protocol: TCP
11061106
{{- end }}

0 commit comments

Comments
 (0)