Skip to content

Commit

Permalink
docs: kong global rate limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
subnetmarco committed Dec 9, 2020
1 parent 521a24f commit 48c6205
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,18 @@ minikube service -n kong kong-proxy --url | head -1

# And consume!

# You can also apply some plugins, like rate-limiting
# (applied globally in this example)

echo "apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: global-rate-limiting
annotations:
kubernetes.io/ingress.class: kong
labels:
global: \"true\"
config:
minute: 5
policy: local
plugin: rate-limiting" | kubectl apply -f -

0 comments on commit 48c6205

Please sign in to comment.