Fix service splitter example weight sum

Weight sum must be equal to 100.
This commit is contained in:
Jared Kirschner 2021-06-29 07:01:55 -04:00
parent 1822b80ef3
commit 8dae08e30e

View File

@ -100,7 +100,7 @@ Splits = [
# will default to service with same name as config entry ("web") # will default to service with same name as config entry ("web")
}, },
{ {
Weight = 10 Weight = 50
Service = "web-rewrite" Service = "web-rewrite"
}, },
] ]
@ -120,7 +120,7 @@ spec:
splits: splits:
- weight: 50 - weight: 50
# will default to service with same name as config entry ("web") # will default to service with same name as config entry ("web")
- weight: 10 - weight: 50
service: web-rewrite service: web-rewrite
``` ```