Replies: 1 comment 5 replies
-
|
The option of using an emptyDir is only intended for short-lived development purposes, for example, when running locally on kind, and should never be used in other circumstances. If you are deploying a long-lived RabbitMQ cluster, then it should always have dedicated persistent volumes for storage. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
When no persistence is used with a RabbitmqCluster, the Operator sets an emptyDir volume for the persistence:
This causes that in the RabbitMQ UI, the available disk is the host's disk:
This introduces a potential problem in the host, since its disk may fill up and a RabbitMQ cluster can affect the rest workloads of the host.
Describe the solution you'd like
Kubernetes lets to set the sizeLimit for an empty dir: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir-configuration-example
The Operator could add a
sizeLimitwhen no persistence is used. Questions we ask ourselves:Describe alternatives you've considered
disk_free_limit.absolutealarm, which allows to define an alarm when the disk has less that the specified amount of space. We propose the opposite: setting an alarm when disk usage exceeds a specified amount of space.Beta Was this translation helpful? Give feedback.
All reactions