Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kubernetes ingress service for vue application
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