Get desktop application:
View/edit binary Protocol Buffers messages
FilterHint includes hints provided to host manager to decide which hosts to return for filtering hosts. The hint is provided as an optimization and host manager can ignore them if hint cannot be satisfied.
Used in:
Hint for which host to return.
Used in:
Return the host if it satisfies constraints.
Indicates for which pod the host is for.
HostFilter can be used to control whether a given host should be returned to placement engine to use.
Used in:
Resource constraint which must be satisfied.
Attribute based affinity/anti-affinity scheduling constraints. Only constraint with kind == HOST will be considered.
Optional maximum number of hosts to return. Default zero value is no-op.
Provides hint to about which hosts should return, host manager may ignore the hint.
HostFilterResult describes result of filtering hosts.
Filter is invalid.
Host is matched by filter and returned in HostLease.
Host has enough total resources but offered resources is insufficient (signal for fragmentation).
Host is filtered out because of mismatched pod -> host constraint.
Host has GPU so reserved for GPU only pod.
Host is in mismatch status (i.e, another placement engine) has a hold of the host.
Host is filtered out because maxHosts limit is reached.
The structure holding lease_id and corresponding host_summary.
Used in:
Summary of available host resources and metadata.
The lease_id assigned to this host after it is locked for placement.
LaunchablePod describes the pod to be launched by host manager. It includes PodID and PodSpec.
Used in:
PodID for the pod to be launched.
PodSpec for the pod to be launched.
Ports allocated to this pod.
A unique lease ID created when a host is locked for placement.
Used in:
, ,Resource allocation for a resource to be consumed by resmgr.
Used in:
,Type of the resource.
capacity of the resource.
ResourceConstraint describes a condition for which aggregated resources from a host must meet in order for it to be returned in `AcquireHosts`.
Minimum amount of resources. NOTE: gpu resources are specially protected in the following way: - if `gpuLimit` is specified, only hosts with enough gpu resources are returned. - if `gpuLimit` is not specified, only hosts without gpu resource will be returned.
Used in:
Number of dynamic ports available.