Giter Site home page Giter Site logo

three-tier-chart-with-mongodb's Introduction

three-tier-chart-with-mongodb

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+

Installing the Chart

To install the chart with the release name my-release:

$ helm install . -n my-release

For upgrade

After modifying app images/tags in yaml below can be used to upgrade app

$ helm upgrade my-release .

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

Persistence

Chart whill create StorageClass, PersistanceVolume and PersistanceVolumeClaim.

  • Mongodb urls will be templatized in _helper.tpl which is injected as env in nodeapp containers
  • Note: uninstalling chart will not remove PersistanceVolume and PersistanceVolumeClaim, They need to be manually removed.

RBAC

service-account.yaml creates a service account which is used by pod-dependency-init-container to resolve pod dependecies.

three-tier-chart-with-mongodb's People

Watchers

 avatar

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.