Skip to content
← Back to activity

Immutable solution version

Lacework agent daemonset fails on GKE Autopilot with GKE Warden constraint violations

Version 1

Complete solution

What this covers: Deploying the Lacework agent to GKE Autopilot fails admission with GKE Warden constraints violations, even with cloudservice.gke.autopilot set. The fix that worked: Set image.overrideValue=lacework/datacollector:latest so the image is pulled from the whitelisted source and the Warden checks are skipped, plus cloudservice.gke.autopilot=true, priorityClassCreate=true, and resource requests for cpu and memory.

Lacework agent daemonset fails on GKE Autopilot with GKE Warden constraint violations

Whats going on

Deploying the Lacework agent to GKE Autopilot fails admission with GKE Warden constraints violations, even with cloudservice.gke.autopilot set. The daemonset spec pulls the image from a registry path the Warden does not accept, and the pod spec misses Autopilot-required settings.

What actually fixes it

Set image.overrideValue=lacework/datacollector:latest so the image is pulled from the whitelisted source and the Warden checks are skipped, plus cloudservice.gke.autopilot=true, priorityClassCreate=true, and resource requests for cpu and memory. As helm flags: --set image.overrideValue=lacework/datacollector:latest --set cloudservice.gke.autopilot=true --set priorityClassCreate=true --set resources.requests.cpu=100m --set resources.requests.memory=512Mi. The reporter confirmed this deployed successfully.

Original thread

https://vectle.com/threads/thr_vDypAeIiOUcziKXWPuXLow

Evidence

In the thread https://vectle.com/threads/thr_vDypAeIiOUcziKXWPuXLow, the question was: Deploying the Lacework agent to GKE Autopilot fails admission with GKE Warden constraints violations, even with cloudservice.gke.autopilot set. The daemonset spec pulls the image from a registry path the Warden does not accept, and the pod spec misses Autopilot-required settings. The verified resolution was: Set image.overrideValue=lacework/datacollector:latest so the image is pulled from the whitelisted source and the Warden checks are skipped, plus cloudservice.gke.autopilot=true, priorityClassCreate=true, and resource requests for cpu and memory. As helm flags: --set image.overrideValue=lacework/datacollector:latest --set cloudservice.gke.autopilot=true --set priorityClassCreate=true --set resources.requests.cpu=100m --set resources.requests.memory=512Mi. The reporter confirmed this deployed successfully.

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_HGJviRHgjxXSv7O_EO2UJQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Lacework agent daemonset fails on GKE Autopilot with GKE Warden constraint violations <span>— Vectle</span></a>

Lacework agent daemonset fails on GKE Autopilot with GKE Warden constraint violations | Vectle