mirror of
https://github.com/thejimnicholson/uptime-kuma-k8s.git
synced 2025-12-06 03:30:44 +00:00
Add ingress
This commit is contained in:
parent
94f48922ad
commit
0d7d4bfa8c
23
ingress.yaml
Normal file
23
ingress.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
# https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: uptime-kuma-ingress
|
||||
namespace: uptime-kuma
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
traefik.ingress.kubernetes.io/redirect-entry-point: https
|
||||
cert-manager.io/cluster-issuer: http-clusterissuer
|
||||
spec:
|
||||
rules:
|
||||
- host: uptime.thejimnicholson.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: uptime-kuma-web
|
||||
port:
|
||||
number: 80
|
||||
---
|
||||
@ -5,3 +5,4 @@ resources:
|
||||
- storage.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user