[k8s] Expose autoscaler prometheus metrics

Expose autoscaler prometheus metrics on pod
port/portName name metrics (8085).

task: 37574
story: 2006765

Change-Id: Ieedd0f60625eb5a5ce50a3b4e7344cae37c377bf
Signed-off-by: Diogo Guerra <diogo.filipe.tomas.guerra@cern.ch>
(cherry picked from commit 4cb8837d21)
This commit is contained in:
Diogo Guerra 2020-04-15 14:35:47 +02:00 committed by Diogo Guerra
parent 4430329ca3
commit 1309a8296d
2 changed files with 8 additions and 0 deletions

View File

@ -150,6 +150,10 @@ spec:
- --scale-down-unneeded-time=10m
- --scale-down-delay-after-failure=3m
- --scale-down-delay-after-add=10m
ports:
- containerPort: 8085
name: metrics
protocol: TCP
volumeMounts:
- name: ca-bundle
mountPath: /etc/kubernetes

View File

@ -0,0 +1,4 @@
---
features:
- |
Expose autoscaler prometheus metrics on pod port metrics (8085).