Skip to content

Instantly share code, notes, and snippets.

@screamingworld
Created February 28, 2021 23:13
Embed
What would you like to do?
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