Attributes
Istio has a predefined dictionary of attributes that it uses. You can consider an attribute similar to a key-value pair such as source.ip, whose value can be 10.0.0.10. These attributes are used to fill the configuration for a particular handler. For example, an attribute can be a label that we assign to a particular pod or service. This label could be used to trigger some rules when we map this label to an instance of a template. Another example of an attribute could be the IP address of the request, the size of the request, the response code of the operation, and so on.
The sidecar proxy invokes Mixer for every request, and it gives Mixer a set of attributes that describe the request and the environment. Mixer then processes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access