Skip to content

Instantly share code, notes, and snippets.

@t-mart
Created November 10, 2018 05:32
Show Gist options
  • Save t-mart/b9b0d0455319c970940f8a18a60941de to your computer and use it in GitHub Desktop.
Save t-mart/b9b0d0455319c970940f8a18a60941de to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: frontend
servicePort: 8080
- path: /search
backend:
serviceName: backend
servicePort: 5000
- path: /login
backend:
serviceName: backend
servicePort: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment