Policy-based application workload placement
As you may recall, the concept of policy-based microservices deployment was introduced in Chapter 5, in the Policy-based management is key to deployment at scale section. It would be a good idea to revisit that.
As described in that section, the Service policy, Deployment policy, and Node policy work together to determine how microservices are deployed on the target Edge node.
Properties are user-defined arbitrary sets of name-value pairs, where name can be any valid string and value can be typically one of the primitive types: int
, string
, float
, or boolean
. You may not need to specify the type of the property if the type can be determined by inspecting the specified property value.
Constraints are logical expressions that are specified in terms of conditions and expressed as a set of properties. For a constraint to be valid and to deploy a qualifying service or model, it must evaluate to true
for the given Edge node, as specified...