mongoose-os / mos

The Mongoose OS Command Line Tool - https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md
Other
45 stars 31 forks source link

FR: helm chart to deploy private build server in k8s cluster #71

Open daadu opened 2 years ago

daadu commented 2 years ago

While current docker-compose is great for local/small setup, it is not useful for production setup - like in k8s cluster. I recommend having a helm chart that can be used to easily deploy build server.

If the mongoose-os team is ok with it, I would like to contribute to this.

rojer commented 2 years ago

sure, send a PR

daadu commented 2 years ago

@rojer Can you give an idea what are these volumes for?

      -  /var/tmp/fwbuild-volumes:/var/tmp/fwbuild-volumes
      - /var/run/docker.sock:/var/run/docker.sock
      - /tmp/acme-challenge:/acme-challenge
daadu commented 2 years ago

also is docker socket mandatory - does the service require docker? can the other 2 volumes be ephemeral?

rojer commented 2 years ago

fwbuild-volumes is where all the build directories go. docker socket is required because the manager itself starts docker containers for builds. acme-challene is for letsencrypt certificate provisioning.