gruberdev / infrastructure-fivem

A series of CI/CD using Drone, Terraform, Docker and Kubernetes scripts to deploy a Fivem server on-demand.
http://fivem.gruber.dev.br
MIT License
25 stars 8 forks source link

Simple Kubernetes chart for testing #18

Open gruberdev opened 3 years ago

aetaric commented 3 years ago

👀 Are you only interested in helm charts for this? If simple kubectl compat yaml files would do, you could use kompose to convert the docker-compose.yaml into the definition files.

kompose convert via https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/

Edit: It seems you can just use kompose convert -c to make a helm chart as well 🙂

gruberdev commented 3 years ago

👀 Are you only interested in helm charts for this? If simple kubectl compat yaml files would do, you could use kompose to convert the docker-compose.yaml into the definition files.

kompose convert via https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/

Edit: It seems you can just use kompose convert -c to make a helm chart as well 🙂

Thank you for your contribution! I am interested indeed. kompose is a great tool that I often use, but I was planning on deploying this server using Agones, thus it would be more appropriate for me to write the yaml files manually as they can be mishandled by kompose when we're dealing with k8s integrated APIs AFAIK.