You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using logsCollection.enabled: true on a GKE Autopilot cluster I get the following error.
one or more objects failed to apply, reason: error when patching "/dev/shm/2609233200": 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 varlibdockercontainers used in container opentelemetry-collector uses path /var/lib/docker/containers which is not allowed in Autopilot. Allowed path prefixes for hostPath volumes are: [/var/log/]."]} Requested by user: 'system:serviceaccount:argocd:argocd-application-controller', groups: 'system:serviceaccounts,system:serviceaccounts:argocd,system:authenticated'.. Retrying attempt #2 at 9:39AM.
Request
Allow to disable the mounting of the mountPath /var/lib/docker/containers
The text was updated successfully, but these errors were encountered:
reakaleek
changed the title
Allow disable /var/lib/docker/containers mountPath
Allow disabling /var/lib/docker/containers mountPath
Nov 21, 2024
@reakaleek the best option for you is to not use the preset and to configure the filelog receiver and the corresponding kubernetes settings yourself to meet your needs. The preset is a best attempt for most situations, but cannot cover all scenarios.
Details
When using
logsCollection.enabled: true
on a GKE Autopilot cluster I get the following error.Request
Allow to disable the mounting of the mountPath
/var/lib/docker/containers
The text was updated successfully, but these errors were encountered: