Closed gpadmesh closed 2 months ago
Pod description
Defaulted container "runner" out of: runner, dind, init-dind-externals (init) Error from server (BadRequest): container "runner" in pod "det-ubuntu-latest-sf84t-runner-2kph9" is waiting to start: PodInitializing
% k describe pod det-ubuntu-latest-sf84t-runner-2kph9 -n det-ubuntu-latest
Name: det-ubuntu-latest-sf84t-runner-2kph9
Namespace: det-ubuntu-latest
Priority: 0
Service Account: det-ubuntu-latest-gha-rs-no-permission
Node: gha-dev-vs-cc-cluster-md-0-tfkjk-f8gbk/10.124.66.101
Start Time: Wed, 17 Apr 2024 14:00:03 -0400
Labels: actions-ephemeral-runner=True
actions.github.com/organization=es-det
actions.github.com/scale-set-name=det-ubuntu-latest
actions.github.com/scale-set-namespace=det-ubuntu-latest
app.kubernetes.io/component=runner
app.kubernetes.io/part-of=gha-runner-scale-set
app.kubernetes.io/version=0.9.1
pod-template-hash=ff8579457
Annotations: actions.github.com/patch-id: 0
actions.github.com/runner-group-name: det-ubuntu-latest
actions.github.com/runner-scale-set-name: det-ubuntu-latest
actions.github.com/runner-spec-hash: 74f74cc7bc
Status: Failed
IP: 10.0.0.0
IPs:
IP: 10.0.0.0
Controlled By: EphemeralRunner/det-ubuntu-latest-sf84t-runner-2kph9
Init Containers:
init-dind-externals:
Container ID: containerd://95af60d993affc18d118670b66519f6c280fa5747797690bdf4b878c7112c401
Image: githubactions-docker.artifactory.org.com/org-runner-new:latest
Image ID: githubactions-docker.artifactory.org.com/org-runner-new@sha256:1dd522346b21b80ac1967fd8fb74cb89acdd70498ed2273e9198dd2e3227a020
Port:
Image: githubactions-docker.artifactory.org.com/org-runner-new:latest
Image ID:
Port:
Image: docker:dind
Image ID:
Port:
SizeLimit:
SizeLimit:
SizeLimit:
Hey @gpadmesh,
We documented how to customize container modes here. Since this issue is a question, I will close it now. Please use discussions for questions.
Checks
Controller Version
0.9.1
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
We have the challenge of customizing the init container. How do we solve it? Can we get good documentation? If you solve this problem, I will help create a step-by-step documentation.
Bug: Pod shows as init/error message
Describe the expected behavior
We want init container to with our own docker compose image built from https://github.com/actions/runner/blob/main/images/Dockerfile with few additional packages on 11th line i.e RUN apt update -y && apt install curl unzip git zip -y
Additional Context
Controller Logs
Runner Pod Logs