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
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.CreateWarmPoolRequest
Response
gitpod.v1.CreateWarmPoolResponse
Related types
WarmPool
WarmPool
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.WarmPoolWarmPoolMetadata
WarmPoolMetadata
WarmPoolMetadata contains metadata about the warm pool
gitpod.v1.WarmPoolMetadataWarmPoolSpec
WarmPoolSpec
WarmPoolSpec contains the desired configuration for a warm pool
gitpod.v1.WarmPoolSpecWarmPoolStatus
WarmPoolStatus
WarmPoolStatus contains the current status of a warm pool as reported by the runner
gitpod.v1.WarmPoolStatusWarmPoolPhase
WarmPoolPhase
WarmPoolPhase represents the lifecycle phase of a warm pool