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
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: addprefix
|
name: test-maxconn
|
||||||
spec:
|
spec:
|
||||||
addPrefix:
|
maxConn:
|
||||||
prefix: /bar
|
amount: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
```json tab="Marathon"
|
```json tab="Marathon"
|
||||||
|
|
|
@ -32,15 +32,16 @@ metadata:
|
||||||
name: test-ratelimit
|
name: test-ratelimit
|
||||||
spec:
|
spec:
|
||||||
rateLimit:
|
rateLimit:
|
||||||
extractorfunc = "client.ip"
|
extractorFunc: client.ip
|
||||||
rate0:
|
rateset:
|
||||||
period = "10s"
|
rate0:
|
||||||
average = 100
|
period: 10s
|
||||||
burst = 200
|
average: 100
|
||||||
rate1:
|
burst: 200
|
||||||
period = "3s"
|
rate1:
|
||||||
average = 5
|
period: 3s
|
||||||
burst = 10
|
average: 5
|
||||||
|
burst: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
```json tab="Marathon"
|
```json tab="Marathon"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# StripPrefix
|
# StripPrefixRegex
|
||||||
|
|
||||||
Removing Prefixes From the Path Before Forwarding the Request (Using a Regex)
|
Removing Prefixes From the Path Before Forwarding the Request (Using a Regex)
|
||||||
{: .subtitle }
|
{: .subtitle }
|
||||||
|
|
Loading…
Reference in a new issue