apiclient ephemeral-storage bind Failed to initialize ephemeral storage. specified bind directory not in allow list #4319
Replies: 5 comments 2 replies
-
On another try, I tried setting up the following to make a RAID disk, but the bootstrap commands end up overriding the RAID configurations. I assume we can't have both as well?
|
Beta Was this translation helpful? Give feedback.
-
Hi @Diego-Mendes-Forter , From what I understand, you are wanting to store ElasticSearch data on the Instance Store volumes on your node. If you want to set We will track your use case to allow |
Beta Was this translation helpful? Give feedback.
-
I don't expect that mounting arbitrary paths will ever be allowed. I'd be more open to allowing binds to any subdirectory of |
Beta Was this translation helpful? Give feedback.
-
@bcressey Would this be something to consider if using the local storage stuff in k8s to share the filesystem with bind mounts as per https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/blob/master/docs/operations.md#operations or is there a more elegant solution to provide nvme storage to pods? |
Beta Was this translation helpful? Give feedback.
-
@zaheer-merali I would treat it as an either/or - either use bootstrap commands or bootstrap containers to manage ephemeral storage, or else leave it entirely hands-off on the host and do all the configuration via Kubernetes. Trying to mix the two risks data loss if one of the two implementations decides to format a disk that the other wants to use. I have this snippet from long-ago experiments with the static provisioner:
In terms of when to use it, I would say:
|
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am trying to run an ElasticSearch pods in an EKS cluster with Bottlerocket EC2 images, and I am having a hard time to create the Volumes in Bottlerocket to store the ES data into the ephemeral disks in the node.
I am currently using the node with an EC2
is4gen.2xlarge
that has an SSD for the data, when I connect to the node using SSM, to try to mount the disk into a path where I can set the Volume, it fails with the message below.If I understood correctly, I can only setup the following dirs
But I don't understand why?
Are there any other way to setup the volumes in bottlerocket to be used by the pods?
Beta Was this translation helpful? Give feedback.
All reactions