/usr/local/bin/docker-entrypoint: line 8: /usr/share/heartbeat/heartbeat: Operation not permitted

Hi,

we are are running Elastic Cloud on Kubernetes 2.11 in an Openshift 4.12 environment. All images use version 8.12.1

I am having issues to get heatbeat running. I followed the Elastic Docs

Created a service account. Changed the scc policy to privileged. Added the heartbeat config part to my eck yaml.

After rolling it out, the heartbeat pod keeps failing with the following errror message.

/usr/local/bin/docker-entrypoint: line 8: /usr/share/heartbeat/heartbeat: Operation not permitted

What do I miss?

Regards,
Marius

Hi @WookWook,

It's likely the container is running with insufficient permissions to run heartbeat executable. Are you using openshift's dynamic uid? Please make sure the container is running with fsGroup: 0 and supplementalGroups: [0].

Hope that helps!