There was an error while loading. Please reload this page.
In the following we show how you can create a new application consisting of a React frontend, a Python Flask backend and a MongoDB.
We assume that you are running a local K8s cluster with minikube and set up kubectl.
kubectl
Create a new application awesomeapp and select the templates webapp (frontend + backend) and mongo:
awesomeapp
webapp
mongo
harness-application awesomeapp -t webapp -t mongo
Create a deployment which generates the helm chart for your new application:
harness-deployment . -l -b -i awesomeapp
-l creates a local deployment, -b builds the docker images and -i awesomeapp specifies that we only want to deploy awesomeapp.
-l
-b
-i awesomeapp
Once completed, you can install the application on your local minikube cluster:
helm install ch deployment/helm -n ch --dependency-update
If the namespace ch is not present, it will be automatically created.
ch