forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request istio#285 from istio/mixer_yamls
bookinfo yaml config files for mixer tasks
- Loading branch information
Showing
4 changed files
with
13 additions
and
46 deletions.
There are no files selected for viewing
42 changes: 0 additions & 42 deletions
42
samples/apps/bookinfo/mixer-rule-additional-telemetry.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rules: | ||
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3" | ||
aspects: | ||
- kind: denials | ||
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3" | ||
aspects: | ||
- kind: denials |
9 changes: 9 additions & 0 deletions
9
samples/apps/bookinfo/mixer-rule-ratings-ratelimit-conditional.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rules: | ||
- selector: source.labels["app"]=="reviews" && source.labels["version"] == "v3" | ||
aspects: | ||
- kind: quotas | ||
params: | ||
quotas: | ||
- descriptorName: RequestCount | ||
maxAmount: 1 | ||
expiration: 1s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ rules: | |
params: | ||
quotas: | ||
- descriptorName: RequestCount | ||
maxAmount: 5 | ||
maxAmount: 1 | ||
expiration: 1s |