Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created June 1, 2020 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xximjasonxx/8376eb5bd7db859bc025019457cf77bf to your computer and use it in GitHub Desktop.
Save xximjasonxx/8376eb5bd7db859bc025019457cf77bf to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: weather-api-ingress
namespace: weather-api
annotations:
kubernetes.io/ingress.class: kong
konghq.com/regex-priority: "GET"
konghq.com/path: /
plugins.konghq.com: weather-rate-limit
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: weather-service
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment