Skip to content

Instantly share code, notes, and snippets.

@kaizenlabs
Created November 7, 2018 12:16
Show Gist options
  • Save kaizenlabs/aa712cdc3d64e5907703b7858dd8019d to your computer and use it in GitHub Desktop.
Save kaizenlabs/aa712cdc3d64e5907703b7858dd8019d to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress-service
annotations:
kubernetes.io/ingress.class: 'nginx'
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: 'false'
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: client
servicePort: 8080
- path: /accounts/
backend:
serviceName: accounts
servicePort: 3002
- path: /uploader/
backend:
serviceName: uploader
servicePort: 3000
- path: /contracts/
backend:
serviceName: contracts
servicePort: 3001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment