kompose

Dev tools

deployment config converter

SHOW HN2017

kompose

Go from Docker-Compose to Kubernetes with a simple tool

kompose.io

#docker compose#kubernetes#migration#manifests

249points
45comments
#105of 2,242 in 2017
Top 5%of 2017 by points

How HN took it

MixedNo clear lean

4 positive, 8 neutral or asking, 3 mixed, 4 critical, out of 19 comments about the project. Thread score -0.05.

Idea: 0 for, 3 againstExecution: 0 for, 1 againstDesign: 1 for, 0 againstDocs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Helpful for getting started with Kubernetes and learning its primitives.

    From 3 comments
    • This tool kompose helped me when I did my first POC on kubernetes since it allowed me to get up and running with something without having to study all the new abstractions and…
      dlandis on HN
    • I used this to get an idea how K8s looked when I wanted to migrate ~500 lines of docker compose YAML config to k8s. The result was sufficiently confusing that we threw it away,…
      codebeaker on HN
    • I was part of the team that started kompose. The main idea was to help developers who had adopted docker-compose moved to Kubernetes. We understand that this is not a perfect…
      sebgoa on HN
  • Well put together and easy to understand.

    From 1 comment
    • This looks really well put together and easy to understand. A lot of the people I've worked with understand Docker-Compose well. The Compose model seems to stick well in the…
      Dangeranger on HN

Objections

  • Compose-to-Kubernetes mapping is incomplete; secrets and links differ, so output needs hand editing.

    From 3 comments
    • While I appreciate the effort, as a Kubernetes user I can't really recommend this tool. As a migration tool, it might save some time building your YAML files, but the differences…
      lobster_johnson on HN
    • I used this to get an idea how K8s looked when I wanted to migrate ~500 lines of docker compose YAML config to k8s. The result was sufficiently confusing that we threw it away,…
      codebeaker on HN
    • This tool kompose helped me when I did my first POC on kubernetes since it allowed me to get up and running with something without having to study all the new abstractions and…
      dlandis on HN
  • Kubernetes complexity makes simple Compose files harder, and the tool adds to it.

    From 2 comments
    • Now you can take a really simple Docker compose file and make it complicated with Kubernetes, happy day! Seriously, the complexity and learning curve of Kubernetes will…
      dollar on HN
    • This. GP comment was downvoted into oblivion, but he had a point. Compose (at least, v3/v3.1) is a reasonably simple system, that can describe a fairly complex setup. Kubernetes…
      drdaeman on HN
  • Learning by writing YAML yourself is better than using a generator.

    From 2 comments
    • While I appreciate the effort, as a Kubernetes user I can't really recommend this tool. As a migration tool, it might save some time building your YAML files, but the differences…
      lobster_johnson on HN
    • Of course. I personally prefer learning by copying from examples rather than reasoning through reference documentation. But that doesn't mean you need a tool to generate…
      lobster_johnson on HN

Requests

  • Write a blog post or more detail on the migration experience.

    From 1 comment
    • Very interesting, as we're looking into doing essentially exactly the same very soon. seems even more urgent with docker just having announced free/enterprise editions. Would be…
      ricw on HN
  • Better export handling in kubectl-style output.

    From 1 comment

Questions

  • Why move from docker-compose to Kubernetes at all?

    From 2 comments
    • Is there a reason to go from docker-compose to kubernetes?
      algesten on HN
    • The typical use case is when a dev team uses docker compose while the ops team has chosen docker+kube. It creates an impedance mismatch which complicates the dev/ops handoff.…
      shykes on HN
  • How to handle app code: mount or copy?

    From 1 comment
    • I'm still pretty new to docker and docker-compose. I've setup a few dev environments but how do you all deal with your app code? Do you mount it or do you copy it. I'm having…
      exclusiv on HN

Alternatives named

  • Helm for managing Kubernetes YAML.

    From 1 comment
    • This looks neat! I'd mirror what codebreaker said and probably in the long term you want to use something like helm.sh to manage your kubernetes yaml, but this may help get…
      bglusman on HN
  • Docker stack deploy with compose files in swarm mode.

    From 1 comment
    • Quick correction, Docker 17.03 supports compose files out of the box, in swarm mode. Two commands to deploy and scale.…
      shykes on HN
  • Micro-PaaS tools like Dokku and Nanobox.

    From 1 comment
    • I actually just wrote an article that talks about all these complexities, and how micro-PaaS (things like hyper.sh, dokku, and nanobox.io) address a lot of them.…
      sdomino on HN
  • AWS ECS compose support.

    From 1 comment
    • One of the nice things about AWS ECS is that the command line lets you create services via compose files (usually with some small modifications)
      bdcravens on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/13783546)