|
80 | 80 | {{- include "liqo.concatenateMap" $d | nindent 16 }} |
81 | 81 | {{- end }} |
82 | 82 | {{- if .Values.metrics.enabled }} |
83 | | - - --metrics-address=:8084 |
| 83 | + - --metrics-address=:8082 |
84 | 84 | {{- end }} |
85 | | - - --health-probe-bind-address=:8085 |
| 85 | + - --health-probe-bind-address=:8083 |
86 | 86 | - --ping-enabled=true |
87 | 87 | - --ping-loss-threshold={{ .Values.networking.gatewayTemplates.ping.lossThreshold }} |
88 | 88 | - --ping-interval={{ .Values.networking.gatewayTemplates.ping.interval }} |
|
96 | 96 | mountPath: /ipc |
97 | 97 | {{- if .Values.metrics.enabled }} |
98 | 98 | ports: |
99 | | - - containerPort: 8084 |
| 99 | + - containerPort: 8082 |
100 | 100 | name: gw-metrics |
101 | 101 | {{- end }} |
| 102 | + - containerPort: 8083 |
| 103 | + name: healthz |
| 104 | + # ATTENTION: uncomment the readinessProbe section if you are aware of the consequences. |
| 105 | + # If you have more replicas of the same gateway, the passive ones will not reach the ready state. |
| 106 | + #readinessProbe: |
| 107 | + # httpGet: |
| 108 | + # path: /readyz |
| 109 | + # port: healthz |
102 | 110 | env: |
103 | 111 | - name: NODE_NAME |
104 | 112 | valueFrom: |
@@ -127,15 +135,23 @@ spec: |
127 | 135 | - --mtu={{"{{ .Spec.MTU }}"}} |
128 | 136 | - --listen-port={{"{{ .Spec.Endpoint.Port }}"}} |
129 | 137 | {{- if .Values.metrics.enabled }} |
130 | | - - --metrics-address=:8082 |
| 138 | + - --metrics-address=:8084 |
131 | 139 | {{- end }} |
132 | | - - --health-probe-bind-address=:8083 |
| 140 | + - --health-probe-bind-address=:8085 |
133 | 141 | - --implementation={{ .Values.networking.gatewayTemplates.wireguard.implementation }} |
134 | 142 | {{- if .Values.metrics.enabled }} |
135 | 143 | ports: |
136 | | - - containerPort: 8082 |
| 144 | + - containerPort: 8084 |
137 | 145 | name: wg-metrics |
138 | 146 | {{- end }} |
| 147 | + - containerPort: 8085 |
| 148 | + name: healthz |
| 149 | + # ATTENTION: uncomment the readinessProbe section if you are aware of the consequences. |
| 150 | + # If you have more replicas of the same gateway, the passive ones will not reach the ready state. |
| 151 | + #readinessProbe: |
| 152 | + # httpGet: |
| 153 | + # path: /readyz |
| 154 | + # port: healthz |
139 | 155 | securityContext: |
140 | 156 | capabilities: |
141 | 157 | add: |
@@ -174,6 +190,14 @@ spec: |
174 | 190 | - containerPort: 8086 |
175 | 191 | name: gv-metrics |
176 | 192 | {{- end }} |
| 193 | + - containerPort: 8087 |
| 194 | + name: healthz |
| 195 | + # ATTENTION: uncomment the readinessProbe section if you are aware of the consequences. |
| 196 | + # If you have more replicas of the same gateway, the passive ones will not reach the ready state. |
| 197 | + #readinessProbe: |
| 198 | + # httpGet: |
| 199 | + # path: /readyz |
| 200 | + # port: healthz |
177 | 201 | env: |
178 | 202 | - name: NODE_NAME |
179 | 203 | valueFrom: |
|
0 commit comments