Skip to content

Instantly share code, notes, and snippets.

@helloitsjoe
Created May 13, 2020 01:17
Ingress for Sentiment Analysis tutorial: https://rinormaloku.com/introduction-application-architecture/
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