Host prewarms

cua.env.v1 SetHostWarm: the warm pool a host keeps for a prewarm, so the next creates of a shape start at once.

A prewarm's warm pool on a host (HostSpacesService.SetHostWarm): Spaces of one shape kept ready, claimed by the next creates of that shape, ended at the TTL or when the count is 0.

Source: libs/cua/proto/cua/env/v1/warm.proto.

Types in cua/env/v1/warm.proto#

SetHostWarmRequest#

Request for HostSpacesService.SetHostWarm.

Field#TypeDescription
name1stringThe pool (prewarm-<id>).
image2stringImage of its members, as CreateHostSpaceRequest.image gives it.
kind3stringKind of its members (container, vm, microvm; empty: the image's).
runtime4stringEngine of its members (empty: the host's default).
cpus5uint32vCPUs of each member (0: the default).
memory_mb6uint64Memory of each member, MiB (0: the default).
count7uint32Members kept ready; 0 removes the pool.
ttl_secs8uint64The pool keeps none after this long without a claim (0: one hour).

SetHostWarmResponse#

Response for HostSpacesService.SetHostWarm.

Field#TypeDescription
ready1uint32Members ready now.
starting2uint32Members starting now.
reason3stringWhy it keeps fewer than asked (memory, the image), for people.