You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20
Original file line number
Diff line number
Diff line change
@@ -559,6 +559,26 @@ Sidecar containers can be added to your job by specifying them under the top-lev
559
559
560
560
There is no guarantee that your sidecars will have started before your job, so using retries or a tool like [wait-for-it](https://github.com/vishnubob/wait-for-it) is a good idea to avoid flaky tests.
561
561
562
+
### The workspace volume
563
+
564
+
By default the workspace directory (`/workspace`) is mounted as an `emptyDir` ephemeral volume. Other volumes may be more desirable (e.g. a volume claim backed by an NVMe device).
565
+
The default workspace volume can be set as stack configuration, e.g.
566
+
567
+
```yaml
568
+
# values.yaml
569
+
config:
570
+
workspace-volume:
571
+
name: workspace-2-the-reckoning
572
+
ephemeral:
573
+
volumeClaimTemplate:
574
+
spec:
575
+
accessModes: ["ReadWriteOnce"]
576
+
storageClassName: my-special-storage-class
577
+
resources:
578
+
requests:
579
+
storage: 1Gi
580
+
```
581
+
562
582
### Extra volume mounts
563
583
564
584
In some situations, for example if you want to use [git mirrors](https://buildkite.com/docs/agent/v3#promoted-experiments-git-mirrors) you may want to attach extra volume mounts (in addition to the `/workspace` one) in all the pod containers.
Copy file name to clipboardExpand all lines: charts/agent-stack-k8s/values.schema.json
+3
Original file line number
Diff line number
Diff line change
@@ -262,6 +262,9 @@
262
262
"title": "Causes the controller to prohibit the kubernetes plugin specified within jobs (pipeline YAML) - enabling this causes jobs with a kubernetes plugin to fail, preventing the pipeline YAML from having any influence over the podSpec",
0 commit comments