python-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/<YOUR_PATH>
gateway.service.type
in the gateway from NodePort
to LoadBalancer
:
http://localhost:4000/
http://localhost:4000/api/<YOUR_PATH>
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.