earthly
has been tested with the all-in-one earthly/earthly
mode, and works as long as the pod runs in a privileged
mode.earthly/buildkitd
running in privileged
mode, and an earthly/earthly
pod running without any additional security concerns. This configuration is considered experimental. See these additional instructions.earthly/buildkitd
configurations are currently unsupported.earthly/earthly
Only)priveleged
mode pods. It's possible to use a separate instance group, along with Taints and Tolerations to effectively segregate these pods.earthly/earthly
should be sufficient. If you need additional tools or configuration, you can create your own runner image.CNI_MTU
environment variable to force a match.earthly/earthly
currently requires the use of privileged mode. Use this in your container spec to enable it:earthly/earthly
container will operate best when provided with decent storage for intermediate operations. Mount a volume like this:EARTHLY_TMP_DIR
environment variable.earthly/earthly
image will expect to find the source code (with Earthfile
) rooted in /workspace
. To configure this, ensure that the SRC_DIR
environment variable is set correctly. In the case of the example, we are building a remote target, so mounting a dummy volume is needed.earthly/buildkitd
)earthly/buildkitd
instances in Kubernetes, for larger deployments. Follow the configuration instructions for using the earthly/earthly
image above.kind
and kubectl
to be installed on your system. Here are some links to installation instructions:ci-examples
repository, and then run (from the root of the repository):kind
cluster named earthlydemo-aio
job
that runs an earthly
build