Helm managing a collection of services

前端 未结 2 365
广开言路
广开言路 2021-01-19 21:43

I have a Kubernetes cluster that runs a number of independent, discrete services. I want to use helm to deploy them, and I have made a helm chart for every individual resour

相关标签:
2条回答
  • 2021-01-19 21:55

    We also have similar scenarios wherein we have independent applications that we either need to deploy together to address features that span across them or individually deployed to address bugs. We end up using helmfile (https://github.com/roboll/helmfile). Each application still maintain their own charts, using helmfile, we can deploy them altogether if need to.

    0 讨论(0)
  • 2021-01-19 22:02

    Use helm subcharts

    You'd need to have something like a meta-chart, myapps. Then you'd add a requirements.yaml file like so:

    # myapp/requirements.yaml
    dependencies:
      - name: Service1
        repository: http://localhost:10191
        version: 0.1.0
      - name: Service2
        repository: http://localhost:10191
        version: 0.1.0
      - name: Service3
        repository: http://localhost:10191
        version: 0.1.0
    
    0 讨论(0)
提交回复
热议问题