BetterStackHQ / logs-helm-chart

Send Kubernetes logs and metrics to Better Stack.
https://betterstack.com/logs
MIT License
5 stars 3 forks source link

Cannot install in GKE Autopilot #7

Open anukul opened 5 months ago

anukul commented 5 months ago
image
Error: INSTALLATION FAILED: 1 error occurred:
    * admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-no-write-mode-hostpath]":["hostPath volume data in container vector is accessed in write mode; disallowed in Autopilot.","hostPath volume var-lib used in container vector uses path /var/lib which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume procfs used in container vector uses path /proc which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/].","hostPath volume sysfs used in container vector uses path /sys which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]}
anukul commented 5 months ago

Related - https://github.com/vectordotdev/vector/issues/16871

curusarn commented 5 months ago

Hi @anukul,

Thank you for reaching out!

I'm passing this on to the team to get this resolved for you. I'll make sure to keep you updated here.

Thanks again for rasing this.