• Quota
    • Template

    Quota

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

    Example config:

    1. apiVersion: "config.istio.io/v1alpha2"
    2. kind: instance
    3. metadata:
    4. name: requestcount
    5. namespace: istio-system
    6. spec:
    7. compiledTemplate: quota
    8. params:
    9. dimensions:
    10. source: source.name | "unknown"
    11. sourceVersion: source.labels["version"] | "unknown"
    12. destination: destination.labels["app"] | destination.service.host | "unknown"
    13. 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 aliteral 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