Created
May 13, 2020 01:17
-
-
Save helloitsjoe/13c419d2dbc2f6281043a539d485aeb9 to your computer and use it in GitHub Desktop.
Ingress for Sentiment Analysis tutorial: https://rinormaloku.com/introduction-application-architecture/
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: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: sa-ingress | |
annotations: | |
nginx.ingress.kubernetes.io/ssl-redirect: 'false' | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: / | |
backend: | |
serviceName: sa-frontend-lb | |
servicePort: 80 | |
- path: /sentiment | |
backend: | |
serviceName: sa-web-app-lb | |
servicePort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment