Closed alucryd closed 9 months ago
@alucryd : We have add some documentation here to help with DinD. Can you validate it help, if not, please reopen, we will add more documentation
I tried these instructions on a GKE cluster in Autopilot mode, but unfortunately it is failing as privileged containers are not allowed. Here's the error that we get:
Error: 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-disallow-privilege]":["container kestra-standalone-docker-dind is privileged; not allowed in Autopilot"]}
yes GKE autopilot is not compatible with docker dind, we don't have any solution since it's a limitation of GKE Autopilot, but you can disable the dind container and use task runners now to have some scripting experience than dind and that should be working on autopilot
Having the task runners elsewhere could be an option, but is there a way to run the core part of Kestra on GKE without having to create a non-autopilot cluster? That option has already been removed from the Google Cloud console, and while it's still possible to create such clusters through terraform I would rather not rely on it.
Expected Behavior
Trying to install the chart in a standard GKE cluster (Autopilot is out because of DIND, and potentially ES which requires a privileged pod) with basically all default values should run out of the box.
Actual Behaviour
However the worker pod is stuck in a boot loop.
I deactivated DIND for now so that I can test Kestra, but I can reactivate it to provide logs in a better format if needed.
Steps To Reproduce
Environment Information
values.yaml