node-react-chart
, and then we’ll create some templates inside of
the chart.
templates-bak
. You might need them later for reference or you can remove them.
values.yaml
values.yaml
file in the root directory created by Helm
with sample content. Let’s clear the contents and update them with the following to specify the images and the tag to be
used for deployments.
PORT
environment variable. It also creates a service to expose the frontend application.
PORT
environment variable. It also creates a service to expose the backend application.
helm install
command would pick the values from values.yaml
and spin up the cluster. Alternatively, you
can create another file called `local-values.yamlwhich contains the local images, and
values.yaml` can have actual default values.values.yaml
for local development, run:
http://127.0.0.1:<PORT>/
http://127.0.0.1:<PORT>/api/
gateway.service.type
in the gateway from NodePort
to LoadBalancer
:
http://localhost:4000/
http://localhost:4000/api/
NodePort
.imagePullPolicy: IfNotPresent
from the deployment scripts. This is needed only to test the local images.Replace the repository in your values.yaml
with actual registry images or use the custom YAML via the -f
flag in the
Helm CLI.node-todo-example
is a full-stack application that uses Node.js
for the backend, PostgreSQL
for the database, and
React
for the frontend. The FrontEnd application is built seperarely, the node app uses the images published by
js-example-spa
from public ECR to complete a full stack application
This project is dockerized and the images are published to Amazon Elastic Container Registry (ECR). A Helm chart is also
prepared and published to ECR.