Created
February 28, 2021 23:13
-
-
Save screamingworld/746d36104ad918c02e68e230b9ce395d to your computer and use it in GitHub Desktop.
Notifier - k8s web api ingress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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