Kubernetes CRD documentation fixes

This commit is contained in:
Orhan Hirsch 2019-06-18 12:20:04 +02:00 committed by Traefiker Bot
parent 31614bebc4
commit 346ff96de2
3 changed files with 14 additions and 13 deletions

View file

@ -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"

View file

@ -32,15 +32,16 @@ metadata:
name: test-ratelimit name: test-ratelimit
spec: spec:
rateLimit: rateLimit:
extractorfunc = "client.ip" extractorFunc: client.ip
rateset:
rate0: rate0:
period = "10s" period: 10s
average = 100 average: 100
burst = 200 burst: 200
rate1: rate1:
period = "3s" period: 3s
average = 5 average: 5
burst = 10 burst: 10
``` ```
```json tab="Marathon" ```json tab="Marathon"

View file

@ -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 }