Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

add Liveness and Readyness probes #1

Open
vorburger opened this issue Apr 17, 2018 · 3 comments
Open

add Liveness and Readyness probes #1

vorburger opened this issue Apr 17, 2018 · 3 comments

Comments

@vorburger
Copy link
Member

oc status -v
In project My Project (myproject) on server https://192.168.42.92:8443

svc/s2i-minecraft-server - 172.30.232.237 ports 8778, 9779
  dc/s2i-minecraft-server deploys istag/s2i-minecraft-server:latest <-
    bc/s2i-minecraft-server source builds https://github.com/vorburger/s2i-minecraft-server.git on istag/s2i-java:latest 
    deployment #1 deployed about a minute ago - 0/1 pods (warning: 2 restarts)

Warnings:
  * pod/s2i-minecraft-server-1-sc9bz has restarted within the last 10 minutes

Info:
  * dc/s2i-minecraft-server has no readiness probe to verify pods are ready to accept traffic or ensure deployment is successful.
    try: oc set probe dc/s2i-minecraft-server --readiness ...
  * dc/s2i-minecraft-server has no liveness probe to verify pods are still running.
    try: oc set probe dc/s2i-minecraft-server --liveness ...

@vorburger
Copy link
Member Author

This will need a YAML deployment template, from what I understand.

@vorburger
Copy link
Member Author

@edewit whenever we want to do this, which should do it based on OASIS-learn-study/oc-port-forward-container@a785784 and OASIS-learn-study/oc-port-forward-container@7f635b3 ....

@edewit
Copy link
Member

edewit commented May 7, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants