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!

  • darkmugglet@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    il y a 1 an

    If the complete deployment will run on a high end laptop, I would suggest it’s cheaper and easier to make the devs us local development on kind and Docker Desktop. The licenses for Docker will pay for itself, and you will be able to control costs. Also, you will incentize devs to optimize the stack to run in local dev. For the Mac users, it means a $4k laptop.

    As a developer, I really like the local dev experience vs deploying everything. On my Mac M2 Ultra, it’s more than fast enough for my env.

      • darkmugglet@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        il y a 1 an

        Honestly didn’t know this existed, thanks for the tip.

        Also, there is limactl, which works for 99% of the cases.

        Truthfully I only use Docker Desktop because Corp pays for it and it’s the supported environment.