exec failed: unable to start container process: read init-p: connection reset by peer
Gitlab runner fails to execute and I have got below error
level=error msg="exec failed: unable to start container process: read init-p: connection reset by peer"
ERROR: Job failed: prepare environment: setting up trapping scripts on emptyDir: command terminated with exit code 255. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information.
I have been facing issue post my rosa cluster upgrade from 4.12.27 to 4.14.20
Helm Version -> 16.0.0, 16.11.0 -> both didn't work out.
Here is my values.yaml manifest
image:
registry: registry.gitlab.com
image: gitlab-org/gitlab-runner
imagePullPolicy: Always
gitlabUrl: <url>
rbac:
create: true
serviceAccountAnnotations:
eks.amazonaws.com/role-arn: <arn:aws:iam::<account-id>:role/role-name>
runnerToken: ******
sessionServer:
enabled: false
runners:
config: |
[[runners]]
[runners.kubernetes]
image = "alpine"
service_account = "gitlab-runner"
privileged = true
[runners.kubernetes.volumes]
[[runners.kubernetes.volumes.empty_dir]]
name = "docker-certs"
mount_path = "/certs/client"
medium = "Memory"
Edited by SelvadharaniSaravanan