Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to deploy application in GKE

When i try to deploy a statefulset application on GKE(created by Autopilot mode) using cloudshell, its throwing the below error, can someone help me to fix this?
```Error from server (GKE Warden constraints violations): error when creating "envs/local-env/": 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-disallow-privilege]":["container increase-the-vm-max-map-count is privileged; not allowed in Autopilot"]}
Requested by user: 'dhamodharan', groups: 'system:authenticated'.``` 

0 3 2,669
3 REPLIES 3

Autopilot does not allow you to run privileged containers.

Are you trying to run Elastic Search?

yes, there is an ES container on the stack, so you mean i have to use the standard mode??

Top Labels in this Space
Top Solution Authors