Kubernetes CRD documentation fixes
This commit is contained in:
parent
31614bebc4
commit
346ff96de2
3 changed files with 14 additions and 13 deletions
|
@ -19,10 +19,10 @@ labels:
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: addprefix
|
||||
name: test-maxconn
|
||||
spec:
|
||||
addPrefix:
|
||||
prefix: /bar
|
||||
maxConn:
|
||||
amount: 10
|
||||
```
|
||||
|
||||
```json tab="Marathon"
|
||||
|
|
|
@ -32,15 +32,16 @@ metadata:
|
|||
name: test-ratelimit
|
||||
spec:
|
||||
rateLimit:
|
||||
extractorfunc = "client.ip"
|
||||
extractorFunc: client.ip
|
||||
rateset:
|
||||
rate0:
|
||||
period = "10s"
|
||||
average = 100
|
||||
burst = 200
|
||||
period: 10s
|
||||
average: 100
|
||||
burst: 200
|
||||
rate1:
|
||||
period = "3s"
|
||||
average = 5
|
||||
burst = 10
|
||||
period: 3s
|
||||
average: 5
|
||||
burst: 10
|
||||
```
|
||||
|
||||
```json tab="Marathon"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# StripPrefix
|
||||
# StripPrefixRegex
|
||||
|
||||
Removing Prefixes From the Path Before Forwarding the Request (Using a Regex)
|
||||
{: .subtitle }
|
||||
|
|
Loading…
Add table
Reference in a new issue