it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

feat(new-tool): Docker Compose to Kubernetes manifests

Open sharevb opened this issue 1 year ago • 6 comments

Fix #883

sharevb avatar Feb 18 '24 19:02 sharevb

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview Feb 25, 2024 1:39pm

vercel[bot] avatar Feb 18 '24 19:02 vercel[bot]

However the actual conversion takes place, there's a mistake. The command directive in docker does something different than when used in Kubernetes. In docker compose, the directive specifies additional arguments passed to the ENTRYPOINT of the image. In Kubernetes, it overrides the ENTRYPOINT of the image.

args should be used instead of command.

TheAnachronism avatar Feb 18 '24 20:02 TheAnachronism

Hi @TheAnachronism, made a PR in https://github.com/dohsimpson/docker2kube/pull/1

sharevb avatar Feb 18 '24 21:02 sharevb

Sick! Let's hope it gets merged soon.

TheAnachronism avatar Feb 18 '24 21:02 TheAnachronism

PR has been merged FYI

teambvd avatar Feb 22 '24 12:02 teambvd

Hi @teambvd, docker2kube updated

sharevb avatar Feb 25 '24 13:02 sharevb