-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- I've already read https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors and I'm sure my issue is not covered in the troubleshooting guide.
- I am using charts that are officially provided
Controller Version
0.11.0
Deployment Method
Helm
Checks
- This isn't a question or user support case (For Q&A and community support, go to Discussions).
- I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
services:
redis1:
image: redis:8.0.3-alpine
ports:
- 6379:6379
redis2:
image: redis:8.0.3-alpine
ports:
- 6380:6380
Describe the bug
in kubernetes mode, services create containers inside the pod based on the image name (redis
) resulting in this error:
Run '/home/runner/k8s/index.js'
Error: Error: failed to create job pod: Pod "self-hosted-jffdf-runner-m2pr4-workflow" is invalid: spec.containers[2].name: Duplicate value: "redis"
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
the container name should be based on the service label, i.e redis1
or redis2
Describe the expected behavior
the container name should be based on the service label, i.e redis1
or redis2
Additional Context
NA
Controller Logs
un '/home/runner/k8s/index.js'
Error: Error: failed to create job pod: Pod "self-hosted-jffdf-runner-m2pr4-workflow" is invalid: spec.containers[2].name: Duplicate value: "redis"
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
Runner Pod Logs
un '/home/runner/k8s/index.js'
Error: Error: failed to create job pod: Pod "self-hosted-jffdf-runner-m2pr4-workflow" is invalid: spec.containers[2].name: Duplicate value: "redis"
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working