this post was submitted on 24 Jun 2023
11 points (100.0% liked)

Kubernetes

898 readers
1 users here now

founded 1 year ago
MODERATORS
 

I'd love to hear some stories about how you or your organization is using Kubernetes for development! My team is experimenting with using it because our "platform" is getting into the territory of too large to run or manage on a single developer machine. We've previously used Docker Compose to enable starting things up locally, but that started getting complicated.

The approach we're trying now is to have a Helm chart to deploy the entire platform to a k8s namespace unique to each developer and then using Telepresence to connect a developer's laptop to the cluster and allow them to run specific services they're working on locally.

This seems to be working well, but now I'm finding myself concerned with resource utilization in the cluster as devs don't remember to uninstall or scale down their workloads when they're not active any more, leading to inflation of the cluster size.

Would love to hear some stories from others!

you are viewing a single comment's thread
view the rest of the comments
[–] Sheldan 2 points 1 year ago

You can look into tilt for local deployment and potentially into some kind of cron job that deletes obsolete namespaces.