fix: simplified primary health responder command
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -36,4 +36,4 @@ proxy:
|
|||||||
# Commands to run only on the primary node.
|
# Commands to run only on the primary node.
|
||||||
# This serves as a primary-only health check responder.
|
# This serves as a primary-only health check responder.
|
||||||
exec:
|
exec:
|
||||||
- cmd: "while true; do echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\nPrimary' | nc -l -p 8082; done"
|
- cmd: "nc -lk -p 8082 -e echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\nPrimary'"
|
||||||
|
|||||||
Reference in New Issue
Block a user