Skip to content

Instantly share code, notes, and snippets.

@wzhliang
Created November 6, 2020 05:57
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 wzhliang/585a0027d6ce20081e0c04e8f6f8799f to your computer and use it in GitHub Desktop.
Save wzhliang/585a0027d6ce20081e0c04e8f6f8799f to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: ingress-myservicea
annotations:
# use the shared ingress-nginx
kubernetes.io/ingress.class: "nginx"
spec:
rules:
- host: myservicea.foo.org
http:
paths:
- path: /
backend:
serviceName: myservicea
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment