Hey, I found a similar issue on github, does this help?
opened 12:15PM - 02 Sep 20 UTC
closed 10:14AM - 18 Feb 21 UTC
>bug
## Bug Report
**What did you do?**
1. Install ECK from the `all-in-one.yaml` m… anifest file.
2. Per the [Quickstart guide](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html) install Elasticsearch
**What did you expect to see?**
A running Elasticsearch cluster
**What did you see instead? Under which circumstances?**
Elasticsearch fails to start with the following error:
```
chroot: failed to run command '/usr/share/elasticsearch/bin/elasticsearch': Permission denied
```
**Environment**
* ECK version: 1.2.1
* Kubernetes information:
kubeadm cluster with Kubernetes v1.15.7.
Storage backend: GlusterFS v5.11 with Heketi
```
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-13T18:06:54Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"6c143d35bb11d74970e7bc0b6c45b6bfdffc0bd4", GitTreeState:"clean", BuildDate:"2019-12-11T12:34:17Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
```
* Resource definition:
Elasticsearch manifest
```
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
name: monitoring
namespace: <redacted>
spec:
version: 7.9.0
nodeSets:
- name: default
count: 1
# podTemplate: <-- Tried setting this as well, result is the same error
# spec:
# securityContext:
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
volumeClaimTemplates:
- metadata:
name: elasticsearch-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: standard
config:
node.master: true
node.data: true
node.ingest: true
node.store.allow_mmap: false
```