Skip to content

Commit

Permalink
CARRY: Append new metrics port to https-metrics to allow upgrade by o…
Browse files Browse the repository at this point in the history
…perator
  • Loading branch information
akram authored and openshift-merge-bot[bot] committed Jan 27, 2025
1 parent 3bbd44f commit c41e3de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/rhoai/kueue-metrics-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ metadata:
name: metrics-service
spec:
ports:
- name: metrics
- name: https-metrics
port: 8443
protocol: TCP
targetPort: metrics
targetPort: https-metrics
selector:
app.kubernetes.io/name: kueue
app.kubernetes.io/part-of: kueue
Expand Down
5 changes: 4 additions & 1 deletion config/rhoai/manager_metrics_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ spec:
containers:
- name: manager
ports:
- containerPort: 8443
- containerPort: 8080
protocol: TCP
name: metrics
- containerPort: 8443
protocol: TCP
name: https-metrics
4 changes: 2 additions & 2 deletions config/rhoai/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
app.kubernetes.io/name: kueue
app.kubernetes.io/component: controller
endpoints:
- port: metrics
- port: https-metrics
scheme: https
tlsConfig:
insecureSkipVerify: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token

0 comments on commit c41e3de

Please sign in to comment.