Created
November 7, 2018 12:16
-
-
Save kaizenlabs/aa712cdc3d64e5907703b7858dd8019d to your computer and use it in GitHub Desktop.
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: 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