https://github.com/arpit2438735/helm-generic-app
Helm Chart for Kubernetes to deploy an app
https://github.com/arpit2438735/helm-generic-app
Last synced: about 2 months ago
JSON representation
Helm Chart for Kubernetes to deploy an app
- Host: GitHub
- URL: https://github.com/arpit2438735/helm-generic-app
- Owner: arpit2438735
- Created: 2018-08-19T12:47:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T12:56:33.000Z (over 6 years ago)
- Last Synced: 2025-01-14T08:32:15.993Z (4 months ago)
- Language: Smarty
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Helm Generic App: An advanced example chart
This Helm chart provides examples of some of Helm's more powerful
features.**This is not a production-grade chart. It is an example.**
The chart installs a docker image of your choice according to the following
pattern:- A `Deployment` is used to create a Replica Set of nginx pods.
([templates/deployment.yaml](templates/deployment.yaml))
- A `Service` is used to create a gateway to the pods running in the
replica set ([templates/service.yaml](templates/service.yaml))The [values.yaml](values.yaml) exposes a few of the configuration options in the
charts, though there are some that are not exposed there (like
`.image`).The [templates/_helpers.tpl](templates/_helpers.tpl) file contains helper templates. The leading
underscore (`_`) on the filename is semantic. It tells the template renderer
that this file does not contain a manifest. That file declares some
templates that are used elsewhere in the chart.Helpers (usually called "partials" in template languages) are an
advanced way for developers to structure their templates for optimal
reuse.You can deploy this chart with `helm install --set image.repository=nginx image.tag=latest`. Or
you can see how this chart would render with `helm install --dry-run --set image.repository=nginx image.tag=latest
--`.