Skip to content

Commit

Permalink
add ingress for prefect
Browse files Browse the repository at this point in the history
  • Loading branch information
otosky committed Oct 28, 2024
1 parent 071625d commit 65e0219
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions kubernetes/apps/dev/prefect/server/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: prefect-ui
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`prefect.toskbot.xyz`)
kind: Rule
services:
- name: prefect-server
port: server-svc-port
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prefect-ui
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: prefect.toskbot.xyz
1 change: 1 addition & 0 deletions kubernetes/apps/dev/prefect/server/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- ./externalsecret.yaml
- ./initdb-job.yaml
- ./helmrelease.yaml
- ./ingress.yaml
labels:
- pairs:
app.kubernetes.io/name: prefect-server
Expand Down

0 comments on commit 65e0219

Please sign in to comment.