TLDR:
- Check
TEAM
in.github/workflows/build_deploy.yml
to see your team name - Try local dev
- Every push will do a redeploy
- You don't have to use this template, but it's a quickstart to just get something running.
try local dev, then try if deploy
cd api npm install npm run dev
cd my-app npm install npm run start:dev
Automatic deploy is done by .github/workflows/build_deploy.yml
-
after following command browser will be opened, where you should log into google cloud with Concise email to authenticate gcloud CLI
gcloud auth login
-
updates a kubeconfig file (~/.kube/config) with appropriate credentials and endpoint information to point kubectl at a specific cluster in Google Kubernetes Engine.
gcloud container clusters get-credentials j6uluh2kk --region europe-west1 --project j6uluh2kk
-
check that kubectl is properly installed (at least version 1.18)
kubectl version
-
get k8s nodes in the cluser to check that
kubectl
can communicate with the clusterkubectl get nodes
-
Configure your team namespace
kubectl config set-context $(kubectl config current-context) --namespace=teamname