Air-gapped Kubernetes Coder Set-Up

There will be 2 separate kubernetes cluster, in the same subnet, one to deploy coder and the other for user workspaces. In such a set-up, will I need to have a reverse proxy (like NGINX), or can I simply have a DNS with SSL/TLS, that points to my Coder's ingress IP directly? How will the difference in the set-up impact speed / latency / performance of coder_apps?
6 Replies
Codercord
Codercord2w ago
<#1337342650734612480>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys2w ago
hey @joelynnnnn, I am not sure what you mean. the way Coder works to access apps is through the agent, the agent connects to the control plane and communicates with it. then whenever a user accesses an app, they send requests to the control plane, which forwards them to the agent, essentially acting as a reverse-proxy. so as long as your workspace pods in the second cluster can reach your control plane that's in the first one you're good does this help answer your question?
joelynnnnn
joelynnnnnOP2w ago
yup it does answer. just that i was reading up the documentations and there were several pages on reverse proxies, so i was confused on whether these reverse proxies are necessary for a coder deployment
Phorcys
Phorcys2w ago
they usually are for the control-plane so you can have certs + wildcard subdomain but since you're using k8s the ingress is already taking care of that
joelynnnnn
joelynnnnnOP2w ago
okay understand, thanks!
Codercord
Codercord2w ago
@joelynnnnn closed the thread.

Did you find this page helpful?