diff options
Diffstat (limited to 'f3s/example-apache/apache-ingress.yaml')
| -rw-r--r-- | f3s/example-apache/apache-ingress.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/f3s/example-apache/apache-ingress.yaml b/f3s/example-apache/apache-ingress.yaml new file mode 100644 index 0000000..aa575ed --- /dev/null +++ b/f3s/example-apache/apache-ingress.yaml @@ -0,0 +1,40 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: apache-ingress + namespace: test + annotations: + spec.ingressClassName: traefik + traefik.ingress.kubernetes.io/router.entrypoints: web +spec: + rules: + - host: f3s.buetow.org + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: apache-service + port: + number: 80 + - host: standby.f3s.buetow.org + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: apache-service + port: + number: 80 + - host: www.f3s.buetow.org + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: apache-service + port: + number: 80 |
