Comments (5)
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.
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.
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.
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.
The changes in the upcoming beta of common lib 2 should cover this.
from helm-charts.
Related Issues (20)
- Probe ports chosen from services at random HOT 2
- [v3.0.3] Probe with no service causes template error HOT 6
- All probes use port of first container. HOT 8
- Add support for `resourceFieldRef` in env `valuesFrom` HOT 2
- inconsistent deployment naming in multi-controller vs single-controller scenarios HOT 1
- Support secrets for servicemonitor in app-template HOT 3
- Why is the main controller section commented ? (common library values.yaml) HOT 3
- Issue with imagePullSecrets after upgrading to version 3.X HOT 2
- Role and RoleBinding support HOT 6
- port is required when set the enabled to false. HOT 2
- Cannot use 0 (zero) for `revisionHistoryLimit` HOT 1
- serviceMonitor missing job labels and namespace selectors HOT 2
- Add support for list of pure resources HOT 3
- Flipped validations for `ServiceMonitor.spec.selector.match{Label,Expression}s` HOT 2
- Horizontal Pod Autoscaler HOT 1
- Add activeDeadlineSeconds to job and cronjob HOT 1
- Generate schemas for HelmRelease v2 HOT 1
- Networkpolicies not working in v3 HOT 1
- Allow setting `nodePort` for non-nodeport services
- Can't assign existing PVC to custom path on the container HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.