Skip to content

Commit

Permalink
Liveness probe listens to both IPV4 and IPV6 interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaindd committed Sep 2, 2024
1 parent 493eccc commit 4f85150
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ RUN apt update && apt install -y build-essential
RUN pip install -r /src/requirements.txt
RUN adduser --system --no-create-home secretmonkey
USER secretmonkey
CMD kopf run --liveness=http://0.0.0.0:8080/healthz -A /src/handlers.py
CMD kopf run --liveness=http://[::]:8080/healthz -A /src/handlers.py
2 changes: 1 addition & 1 deletion Dockerfile-others.gh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ ADD /src /src
RUN pip install -r /src/requirements.txt
RUN adduser --system --no-create-home secretmonkey
USER secretmonkey
CMD kopf run --liveness=http://0.0.0.0:8080/healthz -A /src/handlers.py
CMD kopf run --liveness=http://[::]:8080/healthz -A /src/handlers.py
2 changes: 1 addition & 1 deletion Dockerfile.gh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ADD /src /src
RUN pip install -r /src/requirements.txt
RUN adduser --system --no-create-home secretmonkey
USER secretmonkey
CMD kopf run --liveness=http://0.0.0.0:8080/healthz -A /src/handlers.py
CMD kopf run --liveness=http://[::]:8080/healthz -A /src/handlers.py

0 comments on commit 4f85150

Please sign in to comment.