apiVersion:"config.istio.io/v1alpha2"kind:memquotametadata:name:handlernamespace:istio-systemspec:quotas: - name:requestcount.quota.istio-systemmaxAmount:5000validDuration:1s# The first matching override is applied.# A requestcount instance is checked against override dimensions.overrides:# The following override applies to 'ratings' when# the source is 'reviews'. - dimensions:destination:ratingssource:reviewsmaxAmount:1validDuration:1s# The following override applies to 'ratings' regardless# of the source. - dimensions:destination:ratingsmaxAmount:100validDuration:1s---apiVersion:"config.istio.io/v1alpha2"kind:quotametadata:name:requestcountnamespace:istio-systemspec: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"---apiVersion:"config.istio.io/v1alpha2"kind:rulemetadata:name:quotanamespace:istio-systemspec:actions: - handler:handler.memquotainstances: - requestcount.quota---apiVersion:config.istio.io/v1alpha2kind:QuotaSpecmetadata:name:request-countnamespace:istio-systemspec:rules: - quotas: - charge:1quota:requestcount---apiVersion:config.istio.io/v1alpha2kind:QuotaSpecBindingmetadata:name:request-countnamespace:istio-systemspec:quotaSpecs: - name:request-countnamespace:istio-systemservices: - name:ratings - name:reviews - name:details - name:productpage