quota Config

Package quota

Index

Template

Quota 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.mixer.v1.config.descriptor.ValueType, then the expression’s inferred type must match the datatype of the field.

Example config:

apiVersion: "config.istio.io/v1alpha2"
kind: quota
metadata:
  name: requestcount
  namespace: istio-config-default
spec:
  dimensions:
    source: source.labels["app"] | source.service | "unknown"
    sourceVersion: source.labels["version"] | "unknown"
    destination: destination.labels["app"] | destination.service | "unknown"
    destinationVersion: destination.labels["version"] | "unknown"
FieldTypeDescription
dimensionsrepeated map<string, ValueType>The unique identity of the particular quota to manipulate.