Skip to main content
Unary · Prebuilds Creates a warm pool for a project and environment class. A warm pool maintains pre-created environment instances from a prebuild snapshot so that new environments can start near-instantly. Only one warm pool is allowed per <project, environment_class> pair. The environment class must have prebuilds enabled on the project. The pool’s snapshot is managed automatically: when a new prebuild completes for the same project and environment class, the pool’s snapshot is updated and the runner rotates instances.

Examples

  • Create warm pool: Creates a warm pool with 2 instances for a project and environment class.

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.CreateWarmPoolRequest

Response

gitpod.v1.CreateWarmPoolResponse
WarmPool maintains pre-created environment instances from a prebuild snapshot for near-instant environment startup. One warm pool exists per <project, environment_class> pair.gitpod.v1.WarmPool
WarmPoolMetadata contains metadata about the warm poolgitpod.v1.WarmPoolMetadata
WarmPoolSpec contains the desired configuration for a warm poolgitpod.v1.WarmPoolSpec
WarmPoolStatus contains the current status of a warm pool as reported by the runnergitpod.v1.WarmPoolStatus
WarmPoolPhase represents the lifecycle phase of a warm pool