SAT Policy Specification
Spec
The specification for Policy has the following fields.
The specification is not entirely finalised or fixed. Field names and types may change over the course of the project.
targets-
list
Present on all policies that target specific Microservices. A list of Microservice names to target with this policy.
Types
ApplicationPolicy-
Base policy type for targeting an entire application.
MicroservicePolicy-
Base policy type for targeting specific microservices.
Scheduling-
Policy type for scheduling.
Scheduling.Colocation-
Policy type for colocating multiple microservices on a specific host.
Reconfiguration-
Policy type for reconfiguring an application at runtime.
constants-
map
Constant values that can be used in the reconfiguration policy. rule-
string (required)
The reconfiguration rule, expressed as a multi-line string.
RegistryLogin-
Policy type for logging into a container registry.
username-
string (required)
The username for the container registry. password-
string (required)
The password or token for the container registry. registry_url-
string (required)
The URL of the container registry.
QoS-
Quality of Service (QoS) policies for applications. Cannot target a specific Microservice.
priority-
float
Priority level of the application (higher number means higher priority). target-
integer
Target value for the QoS metric.
QoS.Energy.Budget-
Energy policy type
QoS.Cost.Budget-
Cost policy type
QoS.Performance.Bandwidth-
Bandwidth policy type
QoS.Performance.Latency-
Latency policy type