Skip to content
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

Grafana Alloy Helm Chart - Container not starting: exec /bin/alloy: operation not permitted #3097

Open
PatMis16 opened this issue Apr 23, 2024 · 3 comments

Comments

@PatMis16
Copy link

PatMis16 commented Apr 23, 2024

When deploying Grafana Alloy to EKS using the Helm Chart with a podSecurityContext where runAsUser is used the container does not start. The following error is logged:

exec /bin/alloy: operation not permitted

The podSecurityContext was defined like this:

podSecurityContext:
      fsGroup: 2000
      runAsNonRoot: true
      runAsUser: 473

This issue is actually the same as the one reported in the Grafana Alloy repository: grafana/alloy#630

The container must be deployable to an environment where the podSecurityContext is required and where all capabilities mut be droped.

@PatMis16 PatMis16 changed the title Grafana Alloy Helm Chart: exec /bin/alloy: operation not permitted Grafana Alloy Helm Chart - Container not starting: exec /bin/alloy: operation not permitted Apr 23, 2024
@jwklijnsma
Copy link

same issue on openshift

@PatMis16
Copy link
Author

PatMis16 commented Apr 29, 2024

@jwklijnsma
We also need this to be fixed in the alloy Helm Chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants