-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emptyDir volume is not mounted #6186
Comments
We intentionally stopped adding volumeMount As soon as the What's going on? We add default PVCs to the node spec only if no user defined PVCs exist, then build the pod template spec. cloud-on-k8s/pkg/controller/elasticsearch/nodespec/statefulset.go Lines 74 to 82 in c3d84bf
In
In cloud-on-k8s/pkg/controller/elasticsearch/nodespec/volumes.go Lines 63 to 71 in c3d84bf
So, if the
|
Despite what our document suggests setting an
emptyDir
volume for Elasticsearch data does not actually mount and rely on thatemptyDir
.To be a bit more explicit, here is the resulting
Pod
when the example from the documentation is applied:While the
elasticsearch-data
volume is created it is not mounted in theelasticsearch
container. The data are therefore written in the container instance, not in the expected Podvolume
.Might be related to #3848 I'm not sure if it's a bug, if it has ever worked, or if the doc must be fixed to include the
volumeMounts
in the example so adding bothbug
anddocs
label until until we clarify what the expected behavior is.The text was updated successfully, but these errors were encountered: