Live data from Hacker News

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

github.com

1–10 of 33 posts

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#2
This is a personal project that im open-sourcing. Its one of those projects-that-should-exist-but-nobody-wants-to-kill-their-business.

It takes ur standard docker compose file and runs it transparently in kubernetes (k3s actually). So ur devs don't have cognitive dissonance between testing ur stack locally on ur laptop and making it work on kubernetes in production.

It is primarily meant as a dev tool on ur laptop, and as a replacement for docker compose.

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#6
Could I use this for running the same docker compose stack multiple times in parallel? I wrote a lot of bash glue code to make this happen (without kubernetes) for integration and acceptance testing on a single server. Managing envs and networking was a pain, but mostly, I struggle to keep it up to date with infrastructure changes in my platform.

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#7
post #6

Could I use this for running the same docker compose stack multiple times in parallel? I wrote a lot of bash glue code to make this happen (without kubernetes) for integration and acceptance testing on a single server. Managing envs and networking was a pain, but mostly, I struggle to keep it up to date with infrastructure changes in my platform.

Have you tried Tilt? https://tilt.dev/

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#8
post #6

Could I use this for running the same docker compose stack multiple times in parallel? I wrote a lot of bash glue code to make this happen (without kubernetes) for integration and acceptance testing on a single server. Managing envs and networking was a pain, but mostly, I struggle to keep it up to date with infrastructure changes in my platform.

yes. fixing this right now. you will have it in a day or two.

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#9

I've just moved on from docker compose. Instead I have a K8s like yaml file and use podman kube play. The learning curve is pretty small in my opinion and at least it is a little closer to production.

fair. however, i do genuinely find docker compose yml and dev-experience to be much more pleasant and intuitive.

if you ever wanna try it again - use kappal. you will get a full k8s but with the UX of docker compose.

Re: Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

#10
post #5

Looks promising and really interesting to see and it's a very good idea. But when I saw the test folder however, it is completely empty. [0] So is any of this tested? [0] https://github.com/sandys/kappal/tree/main/test

the test folder is for a large real project that i test on (and actually use in real life myself). it has a deliberate gitignore. plenty of tests in https://github.com/sandys/kappal/tree/main/testdata and https://github.com/sandys/kappal/tree/main/scripts
Post reply on HN