Support for liveness probe #904
-
When deploying a rabbitmq cluster using the operator I see that a readiness probe is configured by default (amqp port check) but no liveness probe. Is that intentional? Because I notices an alivenesscheck is there in the go code? Is there a way to enable it? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
We are definitely not against a liveness probe but the last time we discussed this we could not come up with a good one. Do you have any suggestions for what that probe should be? Erlang already restarts all the processes internally (within the running Erlang VM), so most (Erlang) process crashes are already handled. If Erlang itself crashes - that's handled by Kubernetes without a liveness probe. So what are the valid circumstances to kill Erlang VM when it's running? |
Beta Was this translation helpful? Give feedback.
-
Sorry! How to check amqp port in readiness probe currently? Where i can view the readiness probe source code? |
Beta Was this translation helpful? Give feedback.
-
Can you explain a bit more? Is there some type of process monitor in the container that handles this? Today we were surprised to see (for the first time) that a |
Beta Was this translation helpful? Give feedback.
We are definitely not against a liveness probe but the last time we discussed this we could not come up with a good one. Do you have any suggestions for what that probe should be? Erlang already restarts all the processes internally (within the running Erlang VM), so most (Erlang) process crashes are already handled. If Erlang itself crashes - that's handled by Kubernetes without a liveness probe. So what are the valid circumstances to kill Erlang VM when it's running?