https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
c

Charles Lariviere

01/27/2021, 2:45 PM
Hey folks 👋 I’m curious how you have handled making Dagit internally accessible to the team without port forwading? We’re considering putting it behind a load balancer on a custom domain and restricting access by IP since there’s no built-in authentication. Curious to hear what other people have set up!
s

schrockn

01/27/2021, 3:33 PM
cc: @Tobias Macey who I know set something up
🙏 1
s

szalai1

01/27/2021, 3:41 PM
hey, we use a public DNS record (private IP), so the instance is only available from VPN. we generate the TLS cert with certmanager on k8s via Let's encrypt.
🙏 1
s

Simon Späti

01/27/2021, 4:13 PM
We’re also in discussion how to achieve similar things (multi-tendency for different customer). Atm we probably go for deploying dagster for each customer as I didn’t see any other way. But curious what other ways are possible
t

Tobias Macey

01/27/2021, 4:14 PM
I've got my Dagit instance set up behind a Caddy proxy that is using the caddy-auth plugin to require a username/password to access it.
a

alex

01/27/2021, 4:39 PM
we use google IAP for the dagit hosted in our GKE cluster https://cloud.google.com/iap/docs/enabling-kubernetes-howto
👀 1
c

Charles Lariviere

01/27/2021, 5:34 PM
Awesome, this is super helpful — thanks everyone! 🙏
b

Blaise Pabon

01/27/2021, 8:32 PM
Hi @Charles Lariviere, I'm glad you brought this up because I ran into trouble configuring dagit to talk to the local traefik2 on my laptop cluster (https://enclave.do.controlplane.info/00.html#install-k8s-the-easy-way is basically what I'm doing) Does anyone run clusters on their local machine? What's your favorite reverse proxy setup? DMs ok.
If you use ingress-nginx it has a similar system too, look at Pomerium or oauth2_proxy to plug into it
b

Blaise Pabon

01/27/2021, 8:51 PM
This is great!, It has all my favorite side dishes, thank you @Noah K
4 Views