Skip to content

Commit

Permalink
add ingress for dagster webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
otosky committed Aug 14, 2023
1 parent 0f146cf commit e1d948f
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/dagster/app/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: dagster
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`dagster.toskbot.xyz`)
kind: Rule
services:
- name: dagster-dagster-webserver
port: http
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dagster
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: dagster.toskbot.xyz
1 change: 1 addition & 0 deletions kubernetes/apps/dev/dagster/app/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- ./externalsecret.yaml
- ./initdb-job.yaml
- ./release.yaml
- ./ingress.yaml
labels:
- pairs:
app.kubernetes.io/name: dagster
Expand Down

0 comments on commit e1d948f

Please sign in to comment.