Hello, I’m following the quickstart guide for ECK on one of my Kubeadm clusters (Kubernetes version 1.15.7). I have the Elastic operator up and running with version 1.2.1. I then tried deploying the same Elasticsearch cluster as in the quickstart. However, it does not want to come up:
chroot: failed to run command '/usr/share/elasticsearch/bin/elasticsearch': Permission denied
I have issued a 2 GB persistent volume through Gluster. The
elastic-internal-init-filesystem init container seems to run successfully as well.
My manifest file looks like this:
apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: monitoring namespace: <redacted> spec: version: 7.9.0 nodeSets: - name: default count: 1 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
I tried looking for any possible securityContext configurations but couldn't find any. Am I missing something?