Quota

The quota template represents an item for which to check quota.

Example config:

apiVersion: "config.istio.io/v1alpha2"
kind: instance
metadata:
  name: requestcount
  namespace: istio-system
spec:
  compiledTemplate: quota
  params:
    dimensions:
      source: source.name | "unknown"
      sourceVersion: source.labels["version"] | "unknown"
      destination: destination.labels["app"] | destination.service.host | "unknown"
      destinationVersion: destination.labels["version"] | "unknown"

Template

The quota template represents a piece of data to check Quota for.

When writing the configuration, the value for the fields associated with this template can either be a literal or an expression. Please note that if the datatype of a field is not istio.policy.v1beta1.Value, then the expression’s inferred type must match the datatype of the field.

FieldTypeDescriptionRequired
dimensionsmap<string, Value>

The unique identity of the particular quota to manipulate.

No
Was this information useful?
Do you have any suggestions for improvement?

Thanks for your feedback!