mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 23:57:07 +00:00
Fix service splitter example weight sum
Weight sum must be equal to 100.
This commit is contained in:
parent
1822b80ef3
commit
8dae08e30e
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user