Skip to content

Instantly share code, notes, and snippets.

@vamsijakkula
Created January 2, 2022 11:17
Show Gist options
  • Save vamsijakkula/36612b5ebc1e8757ab6fdc443bb11a79 to your computer and use it in GitHub Desktop.
Save vamsijakkula/36612b5ebc1e8757ab6fdc443bb11a79 to your computer and use it in GitHub Desktop.
echo '
apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: global-rate-limit
annotations:
kubernetes.io/ingress.class: kong
labels:
global: "true"
config:
minute: 5
policy: local
plugin: rate-limiting
' | kubectl apply -f -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment