Skip to content

Commit dec365c

Browse files
committed
proxy injector, multicluster: use health check port
Related to linkerd#7560, this modifies the proxy injector to use port 4192 and updates the multicluster manifest to match. See: linkerd/linkerd2-proxy#1428 Signed-off-by: Aaron Friel <mayreply@aaronfriel.com>
1 parent d23463d commit dec365c

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

charts/partials/templates/_proxy.tpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ env:
5353
value: 0.0.0.0:{{.Values.proxy.ports.control}}
5454
- name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR
5555
value: 0.0.0.0:{{.Values.proxy.ports.admin}}
56+
- name: LINKERD2_PROXY_HEALTH_LISTEN_ADDR
57+
value: 0.0.0.0:4192
5658
- name: LINKERD2_PROXY_OUTBOUND_LISTEN_ADDR
5759
value: 127.0.0.1:{{.Values.proxy.ports.outbound}}
5860
- name: LINKERD2_PROXY_INBOUND_LISTEN_ADDR
@@ -134,18 +136,20 @@ imagePullPolicy: {{.Values.proxy.image.pullPolicy | default .Values.imagePullPol
134136
livenessProbe:
135137
httpGet:
136138
path: /live
137-
port: {{.Values.proxy.ports.admin}}
139+
port: 4192
138140
initialDelaySeconds: 10
139141
name: linkerd-proxy
140142
ports:
141143
- containerPort: {{.Values.proxy.ports.inbound}}
142144
name: linkerd-proxy
143145
- containerPort: {{.Values.proxy.ports.admin}}
144146
name: linkerd-admin
147+
- containerPort: 4192
148+
name: linkerd-health
145149
readinessProbe:
146150
httpGet:
147151
path: /ready
148-
port: {{.Values.proxy.ports.admin}}
152+
port: 4192
149153
initialDelaySeconds: 2
150154
{{- if .Values.proxy.resources }}
151155
{{ include "partials.resources" .Values.proxy.resources }}

controller/proxy-injector/fake/data/pod.patch.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

multicluster/charts/linkerd-multicluster-link/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ enableHeadlessServices: false
88
gateway:
99
probe:
1010
# -- The port used for liveliness probing
11-
port: 4191
11+
port: 4192
1212
# -- Log level for the Multicluster components
1313
logLevel: info
1414
# -- Number of times update from the remote cluster is allowed to be requeued

multicluster/charts/linkerd-multicluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gateway:
1616
# gateway is alive
1717
path: /ready
1818
# -- The port used for liveliness probing
19-
port: 4191
19+
port: 4192
2020
# nodePort -- Set the probe nodePort (for LoadBalancer or NodePort) to a specific value
2121
# nodePort:
2222
# -- The interval (in seconds) between liveness probes

0 commit comments

Comments
 (0)