Created
April 28, 2020 18:31
-
-
Save suprith-s-reddy/8335104439cea9f88f9687ce8b60204c to your computer and use it in GitHub Desktop.
Kubernetes ingress service for vue application
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 | |
namespace: default | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
nginx.ingress.kubernetes.io/enable-cors: "true" | |
nginx.ingress.kubernetes.io/ssl-redirect: "true" | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: / | |
backend: | |
serviceName: web | |
servicePort: 3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment