Okteto build / deploy fails with "buildkit service not available for 4s" (DeadlineExceeded)

okteto build / okteto deploy fails with Failed to get BuildKit service info: DeadlineExceeded and buildkit service not available for 4s. What’s wrong?

The CLI’s BuildKit readiness check timed out over the port-forward (common with VPNs or high latency).

  1. Upgrade the Okteto CLI: the default readiness timeout is now 6s.
  2. If it still happens, raise it: export OKTETO_BUILDKIT_READINESS_TIMEOUT=15s

Temporary workaround on old CLIs: OKTETO_BUILD_QUEUE_ENABLED=false (disables the build queue).

See Feature flags.