mirror of
https://github.com/wardviaene/kubernetes-course.git
synced 2026-07-10 14:19:31 +00:00
default backend for ingress
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user