Skip to content

Instantly share code, notes, and snippets.

@screamingworld
Created February 28, 2021 23:13
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 screamingworld/746d36104ad918c02e68e230b9ce395d to your computer and use it in GitHub Desktop.
Save screamingworld/746d36104ad918c02e68e230b9ce395d to your computer and use it in GitHub Desktop.
Notifier - k8s web api ingress
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: notifier-webapi-ingress
labels:
area: Notifier
component: WebApi
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- http:
paths:
- backend:
serviceName: notifier-webapi
servicePort: 8080
path: /(.*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment