Skip to content

Instantly share code, notes, and snippets.

@timothyclifford
Created January 30, 2019 12:56
Show Gist options
  • Save timothyclifford/c5c06f77729498cd569d1f7a25bd30e8 to your computer and use it in GitHub Desktop.
Save timothyclifford/c5c06f77729498cd569d1f7a25bd30e8 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