To create private cluster in GKE, run
export GOOGLE_APPLICATION_CREDENTIALS=<Path to your Google credentials json file>
./auto/create_private_gke_cluster.sh
By default, it will take the default values in the script, you can also add the values to the environment variables below and run:
export PROJECT=
export REGION=
export ZONE=
export SUBNETWORK=
export SUBNETWORK_SECONDARY_RANGE_NAME=
export SERVICE_ACCOUNT_EMAIL=
export GOOGLE_APPLICATION_CREDENTIALS=<Path to your Google credentials json file>
./auto/create_private_gke_cluster.sh
To Build application and push the image to GCR, run :
./auto/build
To deploy application using Helm in Dev:
helm install ./infra -f infra/dev.yaml
Note: pass the environment file such as dev.yaml, staging.yaml, prod.yaml to deploy the application in Dev, Staging and production environments.
To run the application locally,run :
./auto/run