diff --git a/charts/gha-runner-scale-set/templates/_helpers.tpl b/charts/gha-runner-scale-set/templates/_helpers.tpl index 53b1c2b3..659c1e96 100644 --- a/charts/gha-runner-scale-set/templates/_helpers.tpl +++ b/charts/gha-runner-scale-set/templates/_helpers.tpl @@ -115,6 +115,7 @@ args: - dockerd - --host=unix:///var/run/docker.sock - --group=$(DOCKER_GROUP_GID) + - --mtu={{ default 1450 (dig "dind" "mtu" 1450 .Values.containerMode) }} env: - name: DOCKER_GROUP_GID value: "123" diff --git a/charts/gha-runner-scale-set/values.yaml b/charts/gha-runner-scale-set/values.yaml index 4b4640cf..359106bc 100644 --- a/charts/gha-runner-scale-set/values.yaml +++ b/charts/gha-runner-scale-set/values.yaml @@ -118,6 +118,8 @@ githubConfigSecret: ## empty, and configuration should be applied to the template. # containerMode: # type: "dind" ## type can be set to "dind", "kubernetes", or "kubernetes-novolume" +# dind: +# mtu: 1450 ## Optional, for DinD mode only. Defaults to 1450. # ## the following is required when containerMode.type=kubernetes # kubernetesModeWorkVolumeClaim: # accessModes: ["ReadWriteOnce"]