hasura / gitkube-example

An example repo to be used with gitkube: git push to deploy on to Kubernetes
MIT License
43 stars 19 forks source link

Add an example where multiple images are built/multiple microservices are deployed #6

Open naseemkullah opened 6 years ago

naseemkullah commented 6 years ago

This would be beneficial for new users to see how they could deploy multiple microservices with a single git push command. I noticed that the gitkube cli prompts you to add more containers, so we can definitely build multiple images, but we are only allowed to mention a single Manifests/Chart directory and a single Deployment name. An example would make it clear how to go about deploying multiple micro-services.

tirumaraiselvan commented 6 years ago

A single manifest/chart directory is just a design choice. However, you can keep as many yamls in there as you want. As for a helm chart: it only makes sense to keep one helm chart per application.

As for the Deployment, you can specify multiple deployments as well (just like multiple containers) through the cli.

Although I do agree that an example would make it clearer.