mirror of https://github.com/hashicorp/consul
Backport of docs: Fix example control-plane-request-limit HCL and JSON into release/1.17.x (#19255)
backport of commit e5b6120abb
Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
pull/19259/head
parent
aa942066f7
commit
a0e0f50cdf
|
@ -40,48 +40,48 @@ When every field is defined, a control plane request limit configuration entry h
|
||||||
<CodeTabs>
|
<CodeTabs>
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
kind = "control-plane-request-limit"
|
Kind = "control-plane-request-limit"
|
||||||
name = "<name-for-the-entry>"
|
Name = "<name-for-the-entry>"
|
||||||
|
|
||||||
mode = "permissive"
|
Mode = "permissive"
|
||||||
|
|
||||||
read_rate = 100
|
ReadRate = 100
|
||||||
write_rate = 100
|
WriteRate = 100
|
||||||
|
|
||||||
kv = {
|
KV = {
|
||||||
read_rate = 100
|
ReadRate = 100
|
||||||
write_rate = 100
|
WriteRate = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
acl = {
|
ACL = {
|
||||||
read_rate = 100
|
ReadRate = 100
|
||||||
write_rate = 100
|
WriteRate = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
catalog = {
|
Catalog = {
|
||||||
read_rate = 100
|
ReadRate = 100
|
||||||
write_rate = 100
|
WriteRate = 100
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"kind": "control-plane-request-limit",
|
"Kind": "control-plane-request-limit",
|
||||||
"name": "<name-for-the-entry>",
|
"Name": "<name-for-the-entry>",
|
||||||
"mode": "permissive",
|
"Mode": "permissive",
|
||||||
"read_rate": 100,
|
"ReadRate": 100,
|
||||||
"write_rate": 100,
|
"WriteRate": 100,
|
||||||
"kv": {
|
"KV": {
|
||||||
"read_rate": 100,
|
"ReadRate": 100,
|
||||||
"write_rate": 100
|
"WriteRate": 100
|
||||||
},
|
},
|
||||||
"acl": {
|
"ACL": {
|
||||||
"read_rate": 100,
|
"ReadRate": 100,
|
||||||
"write_rate": 100
|
"WriteRate": 100
|
||||||
},
|
},
|
||||||
"catalog": {
|
"Catalog": {
|
||||||
"read_rate": 100,
|
"ReadRate": 100,
|
||||||
"write_rate": 100
|
"WriteRate": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue