Attempting to run coder in k8s (im running a k3s on my server)
just a quick question, im currently running coder with docker compose, and tls is managed by traefik (also with docker)
I'm in progress of transitioning from docker to k8s for all my apps, is the helm installation works well with traefik run in k8s? Or is this attempt not worth it?
Just seeking some advice while I'm bricking it in the meantime:)
10 Replies
<#1400357126408503326>
Category
Other
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
yes! that is a supported use-case
just a quick question, are you familiar with the concept of ingress controllers and ingress objects in k8s at all?
first I've heard of it, just switching to k8s not too long ago, lots of stuff I dont know about
is that something has to be setup for coder to run?
oh so it's like configuring traefik, but with k8s ingress,
i may not need to touch it at all as my use case is only me:) im the only one who use it
it's not necessarily needed but highly recommended
yes, so even then, it'll make your life way easier
an Ingress controller is just a reverse-proxy that has been modified to pick up Kubernetes Ingress objects.
the way Ingresses work on Kubernetes, is that instead of manually configuring a reverse proxy, you are able to create an
Ingress
resource, and the Ingress controller will pick that up, and automatically configure itself
you can also configure the Ingress controller to automatically issue certificates for any new domains
makes sense :), that is why i asked in the first place
the reason you'll want to use this is because instead of configuring your reverse-proxy, you can just set ingress.enable
when importing the helm chart and it'll automatically configure your reverse-proxy
(https://artifacthub.io/packages/helm/coder-v2/coder?modal=values&path=coder.ingress)
k3s has a built-in traefik ingress controller but you'll want to configure it to use valid certificatesthanks! i'll have a look at it, since my case is a bit odd (i'm behind cgnat and cant port forward), im running behin cloudflare tunnel for now
@Phorcys sorry for the ping, just a quick question, im trying to setup k8s template, I need some help here:
in k8s there is this resource, but I cant find docs anywhere on how to install extensions with code-server, while in module we have options to:
so I tried to delete resource and use this module instead, isthat what I should do? but without healthcheck imgoing to meet with this (see picture), I need some help to set k8s template up please

oh hey nvm I fixed it, have a good day, sorry for the ping
no worries you're good!
i'll close the thread then :)
@Phorcys closed the thread.