Skip to content

Instantly share code, notes, and snippets.

@tomaustin700
Created February 2, 2020 14:18
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 tomaustin700/b78d07137dcc92d3bf57c274e14c5139 to your computer and use it in GitHub Desktop.
Save tomaustin700/b78d07137dcc92d3bf57c274e14c5139 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress
namespace: ingress-basic
annotations:
kubernetes.io/ingress.class: nginx
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/use-regex: "true"
# nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
rules:
- host: selenium.yourdomain.com
http:
paths:
- path: /
backend:
serviceName: selenium-hub
servicePort: 4444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment