hpi-schul-cloud / jitsi-deployment

Auto-scalable Jitsi Meet for Kubernetes
MIT License
215 stars 88 forks source link

Jitsi related Pods should have liveness/readiness checks #5

Closed wolfm89 closed 4 years ago

wolfm89 commented 4 years ago

We currently don't have liveness/readiness checks for the prosody and web pods.

I suggest to use the return value of prosodyctl status to gain confidence in the prosody readiness. For the web pod I suggest to just use the HTTP port and check for a successful query.

mvakert commented 4 years ago

ReadinessProbes for prosody and web deployment are established. Your recommendations have been used. In fact prosodyctl status returns a 0 code if and only if prosody is running correctly, see https://github.com/bjc/prosody/blob/master/prosodyctl. The use of liveness checks should be discussed further.