diff --git a/config/300-controller.yaml b/config/300-controller.yaml index e575e26c7..e369d7bc8 100644 --- a/config/300-controller.yaml +++ b/config/300-controller.yaml @@ -70,6 +70,9 @@ spec: - name: http2-xds containerPort: 18000 protocol: TCP + - name: metrics + containerPort: 9090 + protocol: TCP readinessProbe: grpc: port: 18000 @@ -115,6 +118,10 @@ spec: port: 18000 protocol: TCP targetPort: 18000 + - name: http-metrics + port: 9090 + protocol: TCP + targetPort: 9090 selector: app: net-kourier-controller type: ClusterIP diff --git a/config/300-gateway.yaml b/config/300-gateway.yaml index 5d8b42527..b6882b10c 100644 --- a/config/300-gateway.yaml +++ b/config/300-gateway.yaml @@ -73,6 +73,9 @@ spec: - name: https-probe containerPort: 9443 protocol: TCP + - name: metrics + containerPort: 9000 + protocol: TCP securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: false