Giter VIP home page Giter VIP logo

Comments (5)

bjw-s avatar bjw-s commented on May 31, 2024

In the current version of app-template it's not possible to run multiple Pods. It is however possible to run multiple containers in the same Pod, so depending on what your end goal is, you should look in to the sidecars key: https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/values.yaml#L213. Just as an FYI, this behavior will change in an upcoming version.

from helm-charts.

TheDarkula avatar TheDarkula commented on May 31, 2024

I am thinking of something simple like translating a docker-compose file that has two services, say, one web frontend, and one database.
Would the sidecars implementation be the best/correct way to accomplish this with the current template? If so, is there an example of it being used somewhere?

Also, what will the behaviour be in the new version?

from helm-charts.

onedr0p avatar onedr0p commented on May 31, 2024

I'm not sure if that was just an example but if not you should never put an app container and it's database container in the same pod.

from helm-charts.

TheDarkula avatar TheDarkula commented on May 31, 2024

I think I see the mechanic to use with the template.
As opposed to an all-in-one values file, I need to create multiple, one for each service.

from helm-charts.

bjw-s avatar bjw-s commented on May 31, 2024

The changes in the upcoming beta of common lib 2 should cover this.

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.