Get desktop application:
View/edit binary Protocol Buffers messages
HostManagerService interface to be used by JobManager, PlacementEngine and ResourceManager for scheduling and managing pods and hosts in the cluster.
AcquireHosts acquires a set of hosts from the host manager. Each host will only be used by one client at a given time.
AcquireHostsRequest contains host filter used to acquire hosts for placement based on filter constraints.
AcquireHostsResponse contains the list of host leases acquired as a result of the filtering operation.
The list of hosts that have been acquired for placement.
Used for debugging purpose. key: HostFilterResult's string form, value: count.
TerminateLeases terminates the leases for a set of hosts, effectively releasing the lock that host manager had on those hosts.
TerminateLeasesRequest contains the host leases that need to be terminated so that host manager can release the locks on those hosts.
The lease pairs of the acquired hosts who's leases need to be terminated. Each lease pair contains the lease id and the hostname for the lease.
TerminateLeasesResponse is a placeholder response structure.
(message has no fields)
LaunchPods launches pods on the cluster.
LaunchPodsRequest contains the lease_id of acquired host and list of pods to be launched on that host.
The lease_id of the acquired host on which pods should be launched.
The hostname of the acquired host on which pods should be launched.
List of pods to be launched which contains podID and podSpec for each pod.
LaunchPodsResponse is a placeholder response structure.
(message has no fields)
KillPods kills pods on the cluster.
KillPodsRequest contains the list of podIDs to be killed.
List of podIDs to be killed.
KillPodsResponse is a placeholder response structure.
(message has no fields)
KillAndHoldPods kills a list of pods on the cluster and hold previous hosts for in place upgrade.
KillAndHoldPodRequest contains a list of podIDs and hosts to hold for in place upgrade.
KillAndHoldPodsResponse is a placeholder response structure.
(message has no fields)
ClusterCapacity fetches the actual capacity and allocated resources from the framework.
ClusterCapacityRequest is a request for getting cluster capacity.
(message has no fields)
ClusterCapacityResponse is the response structure describing the cluster capacity.
Resources allocated.
Represents total cluster capacity.
Represents alloacted slack resources.
Represents total slack capacity of the cluster.
GetEvents returns all the outstanding podevents in the event stream. For debug purpose only.
Request to get all outstanding podevents in the event stream.
(message has no fields)
Response of all outstanding podevents in the event stream.
GetHostCache dumps the contents of the host cache. Should only be used for debugging the internal state of the host cache.
GetHostCacheRequest is the request to dump the hostcache.
(message has no fields)
GetHostCacheResponse is the dump of the hostcache inside host manager.
Used in:
The hostname that this summary belongs to.
The status of this host.
Resources allocated.
Represents total cluster capacity.
Used in:
A LeasePair is a structure holding a hostname and its lease id.
Used in:
The lease id of the lease pair.
The hostname of the lease pair.