@@ -69,7 +69,6 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
69
69
# Whether run subprocesses in main pid namespace or not, this is useful for
70
70
# running rootless buildkit inside a container.
71
71
noProcessSandbox = false
72
-
73
72
# gc enables/disables garbage collection
74
73
gc = true
75
74
# reservedSpace is the minimum amount of disk space guaranteed to be
@@ -87,7 +86,6 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
87
86
# collector will attempt to leave - however, it will never be bought below
88
87
# reservedSpace.
89
88
minFreeSpace = " 20GB"
90
-
91
89
# alternate OCI worker binary name(example 'crun'), by default either
92
90
# buildkit-runc or runc binary is used
93
91
binary = " "
@@ -116,7 +114,6 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
116
114
# collector will attempt to leave - however, it will never be bought below
117
115
# reservedSpace.
118
116
minFreeSpace = " 10GB"
119
-
120
117
# keepDuration can be an integer number of seconds (e.g. 172800), or a
121
118
# string duration (e.g. "48h")
122
119
keepDuration = " 48h"
@@ -148,7 +145,8 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
148
145
# collector will attempt to leave - however, it will never be bought below
149
146
# reservedSpace.
150
147
minFreeSpace = " 20GB"
151
-
148
+ # limit the number of parallel build steps that can run at the same time
149
+ max-parallelism = 4
152
150
# maintain a pool of reusable CNI network namespaces to amortize the overhead
153
151
# of allocating and releasing the namespaces
154
152
cniPoolSize = 16
@@ -195,7 +193,6 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
195
193
196
194
[frontend ."gateway .v0" ]
197
195
enabled = true
198
-
199
196
# If allowedRepositories is empty, all gateway sources are allowed.
200
197
# Otherwise, only the listed repositories are allowed as a gateway source.
201
198
#
@@ -208,5 +205,4 @@ insecure-entitlements = [ "network.host", "security.insecure", "device" ]
208
205
[system ]
209
206
# how often buildkit scans for changes in the supported emulated platforms
210
207
platformsCacheMaxAge = " 1h"
211
-
212
208
```
0 commit comments