Skip to content

Commit

Permalink
Remove netcat commands from startup probes
Browse files Browse the repository at this point in the history
  • Loading branch information
PasanT9 committed Dec 21, 2024
1 parent f776328 commit e1016d1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 9443
- timeout 1 bash -c "</dev/tcp/localhost/9443"
initialDelaySeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.cp.startupProbe.failureThreshold }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 9443
- timeout 1 bash -c "</dev/tcp/localhost/9443"
initialDelaySeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.cp.startupProbe.failureThreshold }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 8243
- timeout 1 bash -c "</dev/tcp/localhost/8243"
initialDelaySeconds: {{ .Values.wso2.deployment.am.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.startupProbe.failureThreshold }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 9443
- timeout 1 bash -c "</dev/tcp/localhost/9443"
initialDelaySeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.cp.startupProbe.failureThreshold }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 9443
- timeout 1 bash -c "</dev/tcp/localhost/9443"
initialDelaySeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.cp.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.cp.startupProbe.failureThreshold }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
command:
- /bin/sh
- -c
- nc -z localhost 8243
- timeout 1 bash -c "</dev/tcp/localhost/8243"
initialDelaySeconds: {{ .Values.wso2.deployment.am.startupProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.wso2.deployment.am.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.wso2.deployment.am.startupProbe.failureThreshold }}
Expand Down

0 comments on commit e1016d1

Please sign in to comment.