Skip to content

build: buildkit-root-volume-memory opt for kubernetes driver #22865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/manuals/build/builders/drivers/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
| `limits.cpu` | CPU units | | Sets the limit CPU value specified in units of Kubernetes CPU. For example `requests.cpu=100m` or `requests.cpu=2` |
| `limits.memory` | Memory size | | Sets the limit memory value specified in bytes or with a valid suffix. For example `requests.memory=500Mi` or `requests.memory=4G` |
| `limits.ephemeral-storage` | Storage size | | Sets the limit ephemeral-storage value specified in bytes or with a valid suffix. For example `requests.ephemeral-storage=100M` |
| `buildkit-root-volume-memory`| Memory size | Using regular file system | Mounts /var/lib/buildkit on an emptyDir Memory volume, with SizeLimit as the value. For example `buildkit-root-folder-memory=6G` |

Check failure on line 45 in content/manuals/build/builders/drivers/kubernetes.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'emptyDir'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'emptyDir'?", "location": {"path": "content/manuals/build/builders/drivers/kubernetes.md", "range": {"start": {"line": 45, "column": 122}}}, "severity": "ERROR"}

Check failure on line 45 in content/manuals/build/builders/drivers/kubernetes.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'BuildKit' instead of 'buildkit'. Raw Output: {"message": "[Vale.Terms] Use 'BuildKit' instead of 'buildkit'.", "location": {"path": "content/manuals/build/builders/drivers/kubernetes.md", "range": {"start": {"line": 45, "column": 107}}}, "severity": "ERROR"}
| `nodeselector` | CSV string | | Sets the pod's `nodeSelector` label(s). See [node assignment][2]. |
| `annotations` | CSV string | | Sets additional annotations on the deployments and pods. |
| `labels` | CSV string | | Sets additional labels on the deployments and pods. |
Expand Down