This chart deploys a three tier application. reactapp is used as front-end, nodeapp as back-end along with mongodb StatefulSet
. This chart also exposes Ingress service for nodeapp
. The chart manages depdendency between different pods using pod-dependency-init-container.
Prerequisites
- Kubernetes 1.8+
- helm 2.10+
To install the chart with the release name my-release:
$ helm install . -n my-release
After modifying app images/tags in yaml below can be used to upgrade app
$ helm upgrade my-release .
To uninstall/delete the my-release deployment:
$ helm delete my-release
Chart whill create StorageClass
, PersistanceVolume
and PersistanceVolumeClaim
.
- Mongodb urls will be
templatized
in_helper.tpl
which is injected as env innodeapp
containers - Note: uninstalling chart will not remove
PersistanceVolume
andPersistanceVolumeClaim
, They need to be manually removed.
service-account.yaml
creates a service account which is used by pod-dependency-init-container
to resolve pod dependecies.