Skip to content

Commit

Permalink
Replacing the tcp check because it needs nc installed
Browse files Browse the repository at this point in the history
Signed-off-by: desmax74 <[email protected]>
  • Loading branch information
desmax74 committed Dec 6, 2024
1 parent 7b1d2a2 commit ab73e96
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ spec:
name: tls-cert
readOnly: true
livenessProbe:
tcpSocket:
port: 2782
exec:
command:
- sh
- -c
- "echo > /dev/tcp/localhost/2782"
ports:
- containerPort: 2782
protocol: TCP
Expand Down

0 comments on commit ab73e96

Please sign in to comment.