Developing a Deployment policy
As mentioned previously, to deploy a service on an Edge node, in addition to a Service policy, we also need a Deployment policy.
The Deployment policy works very similarly to a Service policy and has a similar concept of Properties and Constraints. Once again, we’ll create a deploy policy file in JSON format to specify name-value pairs with logical expressions. Here, the goal is to use name-value pairs with target deployment scenarios in perspective. Note that the deployment policy has more details in addition to Properties and Constraints.
Note
In practice, the Service policy and Deployment policy are combined internally by the Open Horizon Management Hub while evaluating the Agreement that results in the actual deployment of services on the qualifying nodes. Some software developers just use the Deployment policy and combine Service policy constraints in the Deployment policy itself. Understanding the semantics of a Service policy versus...