Skip to content
Snippets Groups Projects
Unverified Commit f660c293 authored by Julien Pervillé's avatar Julien Pervillé Committed by GitHub
Browse files

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

parent 6613895d
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ingress_nginx_nodeselector: ...@@ -7,6 +7,7 @@ ingress_nginx_nodeselector:
ingress_nginx_tolerations: [] ingress_nginx_tolerations: []
ingress_nginx_insecure_port: 80 ingress_nginx_insecure_port: 80
ingress_nginx_secure_port: 443 ingress_nginx_secure_port: 443
ingress_nginx_metrics_port: 10254
ingress_nginx_configmap: {} ingress_nginx_configmap: {}
ingress_nginx_configmap_tcp_services: {} ingress_nginx_configmap_tcp_services: {}
ingress_nginx_configmap_udp_services: {} ingress_nginx_configmap_udp_services: {}
......
...@@ -84,6 +84,11 @@ spec: ...@@ -84,6 +84,11 @@ spec:
- name: https - name: https
containerPort: 443 containerPort: 443
hostPort: {{ ingress_nginx_secure_port }} hostPort: {{ ingress_nginx_secure_port }}
- name: metrics
containerPort: 10254
{% if not ingress_nginx_host_network %}
hostPort: {{ ingress_nginx_metrics_port }}
{% endif %}
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment