Skip to content

(Configuring DinD) Unable to set MTU in gha-runner-scale-set #2993

Discussion options

You must be logged in to vote

I was able to get this working by creating a configmap like

apiVersion: v1
kind: ConfigMap
metadata:
  name: docker-daemon-config
  namespace: arc-runner
data:
  daemon.json: |
    {
      "mtu": 1460
    }

and mounting it into the dind container in the EphemeralRunnerSet

    - name: dind
      image: docker:dind
      securityContext:
        privileged: true
      volumeMounts:
        - name: work
          mountPath: /home/runner/_work
        - name: dind-cert
          mountPath: /certs/client
        - name: dind-externals
          mountPath: /home/runner/externals
        - name: daemon-json
          mountPath: /etc/docker/daemon.json
          subPath: daemon.json
          re…

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nikola-jokic
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mirobertod
Comment options

@petertiedemann
Comment options

@sami-shakir
Comment options

Comment options

You must be logged in to vote
5 replies
@sami-shakir
Comment options

@bo0tzz
Comment options

@kholisrag
Comment options

@bo0tzz
Comment options

@kholisrag
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
documentation Improvements or additions to documentation gha-runner-scale-set Related to the gha-runner-scale-set mode
8 participants
Converted from issue

This discussion was converted from issue #2939 on October 16, 2023 10:05.