Skip to content

Commit 45db443

Browse files
authored
Fix POD_IP value in nsmgr yaml file (#13554)
Signed-off-by: Botond Szirtes <botond.szirtes@est.tech>
1 parent 163721d commit 45db443

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

apps/nsmgr/nsmgr.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
fieldRef:
4646
fieldPath: status.podIP
4747
- name: NSM_LISTEN_ON
48-
value: unix:///var/lib/networkservicemesh/nsm.io.sock,tcp://[$(POD_IP)]:5001
48+
value: unix:///var/lib/networkservicemesh/nsm.io.sock,tcp://$(POD_IP):5001
4949
- name: NODE_NAME
5050
valueFrom:
5151
fieldRef:
@@ -67,22 +67,37 @@ spec:
6767
cpu: 400m
6868
readinessProbe:
6969
exec:
70-
command: ["/bin/grpc-health-probe", "-spiffe", "-addr=unix:///var/lib/networkservicemesh/nsm.io.sock"]
70+
command:
71+
[
72+
"/bin/grpc-health-probe",
73+
"-spiffe",
74+
"-addr=unix:///var/lib/networkservicemesh/nsm.io.sock",
75+
]
7176
failureThreshold: 120
7277
initialDelaySeconds: 1
7378
periodSeconds: 1
7479
successThreshold: 1
7580
timeoutSeconds: 2
7681
livenessProbe:
7782
exec:
78-
command: ["/bin/grpc-health-probe", "-spiffe", "-addr=unix:///var/lib/networkservicemesh/nsm.io.sock"]
83+
command:
84+
[
85+
"/bin/grpc-health-probe",
86+
"-spiffe",
87+
"-addr=unix:///var/lib/networkservicemesh/nsm.io.sock",
88+
]
7989
failureThreshold: 25
8090
initialDelaySeconds: 10
8191
periodSeconds: 5
8292
timeoutSeconds: 2
8393
startupProbe:
8494
exec:
85-
command: ["/bin/grpc-health-probe", "-spiffe", "-addr=unix:///var/lib/networkservicemesh/nsm.io.sock"]
95+
command:
96+
[
97+
"/bin/grpc-health-probe",
98+
"-spiffe",
99+
"-addr=unix:///var/lib/networkservicemesh/nsm.io.sock",
100+
]
86101
failureThreshold: 25
87102
periodSeconds: 5
88103
- image: ghcr.io/networkservicemesh/ci/cmd-exclude-prefixes-k8s:d857364

0 commit comments

Comments
 (0)