Skip to content

Instantly share code, notes, and snippets.

@d-nishi
Created September 27, 2018 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-nishi/f00d12cd113e8df234fe61f17e1c2c8e to your computer and use it in GitHub Desktop.
Save d-nishi/f00d12cd113e8df234fe61f17e1c2c8e to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /testpath
backend:
serviceName: test
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment