default backend for ingress

This commit is contained in:
Edward Viaene
2022-04-20 16:22:53 -04:00
parent 895ec819b4
commit 3a2e04546c

View File

@@ -6,6 +6,12 @@ metadata:
annotations:
kubernetes.io/ingress.class: k8s.io/ingress-nginx
spec:
#To specify a default backend, uncomment the following lines:
#defaultBackend:
# service:
# name: echoheaders-default
# port:
# number: 80
rules:
- host: helloworld-v1.example.com
http: