File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed
charts/gha-runner-scale-set Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ securityContext:
108108 privileged: true
109109{ {- if (ge (.Capabilities.KubeVersion.Minor | int) 29) } }
110110restartPolicy: Always
111+ startupProbe:
112+ exec:
113+ command:
114+ - docker
115+ - info
116+ initialDelaySeconds: 0
117+ failureThreshold: 24
118+ periodSeconds: 5
111119{ {- end } }
112120volumeMounts:
113121 - name: work
Original file line number Diff line number Diff line change @@ -286,18 +286,6 @@ template:
286286 # # volumeMounts:
287287 # # - name: dind-externals
288288 # # mountPath: /home/runner/tmpDir
289- # # containers:
290- # # - name: runner
291- # # image: ghcr.io/actions/actions-runner:latest
292- # # command: ["/home/runner/run.sh"]
293- # # env:
294- # # - name: DOCKER_HOST
295- # # value: unix:///var/run/docker.sock
296- # # volumeMounts:
297- # # - name: work
298- # # mountPath: /home/runner/_work
299- # # - name: dind-sock
300- # # mountPath: /var/run
301289 # # - name: dind
302290 # # image: docker:dind
303291 # # args:
@@ -309,13 +297,29 @@ template:
309297 # # value: "123"
310298 # # securityContext:
311299 # # privileged: true
300+ # # restartPolicy: Always
301+ # # startupProbe:
302+ # # exec:
303+ # # command:
304+ # # - docker
305+ # # - info
306+ # # initialDelaySeconds: 0
307+ # # failureThreshold: 24
308+ # # periodSeconds: 5
309+ # # containers:
310+ # # - name: runner
311+ # # image: ghcr.io/actions/actions-runner:latest
312+ # # command: ["/home/runner/run.sh"]
313+ # # env:
314+ # # - name: DOCKER_HOST
315+ # # value: unix:///var/run/docker.sock
316+ # # - name: RUNNER_WAIT_FOR_DOCKER_IN_SECONDS
317+ # # value: "120"
312318 # # volumeMounts:
313319 # # - name: work
314320 # # mountPath: /home/runner/_work
315321 # # - name: dind-sock
316322 # # mountPath: /var/run
317- # # - name: dind-externals
318- # # mountPath: /home/runner/externals
319323 # # volumes:
320324 # # - name: work
321325 # # emptyDir: {}
You can’t perform that action at this time.
0 commit comments