earthlyhas been tested with the all-in-one
earthly/earthlymode, and works as long as the pod runs in a
privilegedmode, and an
earthly/earthlypod running without any additional security concerns. This configuration is considered experimental. See these additional instructions.
earthly/buildkitdconfigurations are currently unsupported.
privelegedmode pods. It's possible to use a separate instance group, along with Taints and Tolerations to effectively segregate these pods.
CNI_MTUenvironment variable to force a match.
earthly/earthlycurrently requires the use of privileged mode. Use this in your container spec to enable it:
earthly/earthlycontainer will operate best when provided with decent storage for intermediate operations. Mount a volume like this:
earthly/earthlyimage will expect to find the source code (with
Earthfile) rooted in
/workspace. To configure this, ensure that the
SRC_DIRenvironment variable is set correctly. In the case of the example, we are building a remote target, so mounting a dummy volume is needed.
earthly/buildkitdinstances in Kubernetes, for larger deployments. Follow the configuration instructions for using the
kubectlto be installed on your system. Here are some links to installation instructions:
jobthat runs an