Declare port 10254 in nginx ingress pod template (#6609)

This commit is contained in:
Julien Pervillé
2020-09-04 13:54:11 +02:00
committed by GitHub
parent 6613895de0
commit f660c29348
2 changed files with 6 additions and 0 deletions

View File

@@ -84,6 +84,11 @@ spec:
- name: https
containerPort: 443
hostPort: {{ ingress_nginx_secure_port }}
- name: metrics
containerPort: 10254
{% if not ingress_nginx_host_network %}
hostPort: {{ ingress_nginx_metrics_port }}
{% endif %}
livenessProbe:
failureThreshold: 3
httpGet: