Scott
Scott
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
If yes, for what purpose?
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
@WBR_K - Are you wanting something like a dev server of the app you are developing to be a available on a subdomain?
13 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
I fixed the issue with the password via git config credential.helper store, even though I'm not storing anything in it, it seems something with VSCode and the Coder extension needs it to be there so the password isn't requested. 🤷🏻
14 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
Ok. I got everything fixed, sort of. Using Git in VSCode to push to origin always requests a password entry. Do you by chance know how to fix that? It seems to be the Coder extension calling for the password. I can do the same git command in the terminal and everything works as expected.
14 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
Thanks once more @Phorcys
14 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
Oof. 🤦🏻‍♂️ It's very old. I'll update tomorrow and yeah, that is more than likely the problem.
14 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
Ahh... Provider. Hmm.. wait.
14 replies
CCoder.com
Created by Scott on 1/17/2025 in #help
Auth with Github
You mean the Coder server? If yes, it's the latest.
14 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
Even if you have both prod and staging in the same cluster, which is possible, you'd still need to get the code into the production path. And it aint easy at all. So, I guess what I'm trying to say is, you might want to rethink k8s, unless you absolutely are certain your app needs "auto-scaling and stuffs".
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
There is also the added realm of CI/CD for microservices/ apps in k8s. It's a huge realm on its own. Imagine you have an app and are developing it in a staging cluster. How do you get it into the production cluster? This is a HUGE process with a good number of working parts and possibilities. Once you get into it, it seems like a much bigger problem than just writing your code. 🙂 Believe me, I know. It's something I've been working to learn for about 3 years now (as a hobby) and I'm still learning.
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
I'd also highly suggest you set up a k8s cluster and work with it for some time. A k8s cluster should be a long running set of processes. It's definitely not something you would just fire up on occasion to work with, despite all the solutions given out there to do so.
Once you have a production k8s cluster, it runs for life!
(you can quote me on that) When you have a production cluster running, then you can use smaller clusters as staging setups for development and whatever else you need to work on your apps/ microservices (and that is where Coder can help). k8s is a huge realm of knowledge to gather and a lot of cognitive load, especially just to get "auto-scaling and stuffs". I don't want to be disrespectful, but I believe you are going into this rabbit hole rather naively.
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
Docker compose is only an orchestration process for Docker. And Docker isn't made for running production applications. It's made to containerize apps and theoretically develop on them. But, if your application needs k8s to run, you should be developing in k8s. And that is what Coder can do. But, the clusters should be "up and running" and not generated on the fly.
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
What is your project? Is it a web application? A k8s specific service? k8s does handle loadbalancing and scaling, but are you running your app now in k8s?
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
What is it your devs need to do? Or what is your intentions with Coder to begin with? Why is k8s needed, when you obviously have only a small bit of experience with k8s? It seems you are on a path to a solution, which might not even be good for what your intentions are. I see this all the time. So, a little more background into what it is you expect to achieve and do can help us help you.
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
KinD is built to use k8s inside of Docker. I'd look into that. But, I'd also suggest this is a backwards way to work with k8s, unless you are actually developing apps to work with k8s.
45 replies
CCoder.com
Created by prakhar_driller on 1/10/2025 in #help
Workspace build failed for Kubernetes (DevConntainer) as a starter template
@prakhar_driller - Don't cross-post. You are getting help in your other thread.
8 replies
CCoder.com
Created by NikitaD on 1/9/2025 in #help
Support microservices environment
I personally have the supporting services, database, cache, mail server, etc. as standing services for development. In other words, the workspace containers are created in their own namespace, and are given "slices" of the resources. So, for instance, if I need a database to run a workspace, I have a new database (not a whole server, just a database), created and the workspace fires up. Currently, this is a manual process of creating the database or other resource "slices". I intend to create a service application to allocate databases and other service slices automatically. I just haven't gotten to that part of my project yet. 😛 I've looked at attempting what you are expecting to do, and it is a nightmare. It would also slow down workspace container creation to minutes, instead of seconds (with the automation I spoke of in place). In fact, I believe a resource allocation app (service) for k8s to create these "slices" of service resources is a market gap. I have yet to find any application specific to this kind of work inside k8s. My intention is to make sure it isn't bespoke for my purposes, but it can employ plugins for any "service slicing". 🙂 I hope that made sense.
4 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
Ok. So AFAIK, the kubeconfigs are for external clusters only. If you want the coderd (its service account) to have access to other namespaces inside the k8s cluster it is installed in, you have to give it the proper permissions in that cluster. The kubeconfig won't be used. For my single cluster, I just gave the coder service account full cluster admin permissions.
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
Hmm.. let me back up and ask. Are you firing up workspaces in an external k8s cluster to where you installed Coder?
45 replies
CCoder.com
Created by joelynnnnn on 1/6/2025 in #help
Workspace build failed for Kubernetes (Devcontainers)
Yes, you'll need to expand the coder service account's permissions to go outside its own namespace.
45 replies