summaryrefslogtreecommitdiff
path: root/f3s/example-apache-volume-claim/apache-ingress.yaml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-27 09:59:55 +0300
committerPaul Buetow <paul@buetow.org>2025-07-27 09:59:55 +0300
commite7eddc9a306e5d66451ef82efbeddc5196435703 (patch)
treea221d82e6b87f953d94c8d190e114e18b2acc775 /f3s/example-apache-volume-claim/apache-ingress.yaml
parent4eb23e409a376320a4c00fbf128604cb5f148e09 (diff)
persistent volume example
Diffstat (limited to 'f3s/example-apache-volume-claim/apache-ingress.yaml')
-rw-r--r--f3s/example-apache-volume-claim/apache-ingress.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/f3s/example-apache-volume-claim/apache-ingress.yaml b/f3s/example-apache-volume-claim/apache-ingress.yaml
new file mode 100644
index 0000000..b26f95b
--- /dev/null
+++ b/f3s/example-apache-volume-claim/apache-ingress.yaml
@@ -0,0 +1,41 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: apache-ingress
+ namespace: test
+ 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