@dmgnr/kuber 2.3.4 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +15 -2
  2. package/dist/index.js +162 -162
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -83,8 +83,8 @@ days; `logout` revokes the server-side session. `readSession` falls back to the
83
83
  persistent file when no runtime session exists.
84
84
 
85
85
  The default login is scoped to the current user and the authenticated identity
86
- is available to every v2 command. `login`, `logout`, and `whoami` are the only
87
- commands that run without a loaded project configuration.
86
+ is available to every v2 command. `login`, `logout`, `whoami`, and global
87
+ `maintenance` are the only commands that run without a loaded project configuration.
88
88
 
89
89
  ### Roles and Authorization
90
90
 
@@ -253,6 +253,19 @@ variables:
253
253
  registry access.
254
254
  - `KUBER_BUILDKIT_IMAGE`: override the BuildKit runner image used for builds.
255
255
  - `KUBER_BUILD_DATA_CLAIM`: the PVC claim backing builds.
256
+ - `KUBER_BUILD_RECONCILE_MS` (default `30000`): the background build
257
+ reconciliation interval in milliseconds. Values must be greater than zero and
258
+ no greater than `2147483647` (the JavaScript timer maximum); invalid values
259
+ use the default.
260
+ - `KUBER_BUILD_RECONCILE_TIMEOUT_MS` (default `20000`, maximum `25000`): the
261
+ deadline for one background build-reconciliation scan in milliseconds. The
262
+ maximum leaves time within the 30-second reconciliation lease for normal
263
+ renewal or release. The reconciler renews both its workspace and per-build
264
+ leases every 10 seconds for the lifetime of a generation, including while an
265
+ observation, log read, or store call is pending. On timeout its abort signal
266
+ is cancelled and logged, but Kubernetes requests may be unabortable; the
267
+ generation remains active and continues its lease heartbeat until that request
268
+ settles, so a later scan cannot overlap it.
256
269
 
257
270
  See [Server Deployment](#server-deployment) for how `compose.yml` wires the
258
271
  internal registry variables for the kuber-server pod.