kheiakiyama / gke-pubsub-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Up

Mac

brew install kustomize

Deployment

Staging

kubectl create secret generic subscriber-key --from-file=key.json=<PATH-TO-KEY-FILE>.json
kubectl create secret generic scheduled-job-key --from-file=key.json=<PATH-TO-KEY-FILE>.json

kustomize build ./kustomization/overlays/staging | kubectl apply -f -

Production

kustomize build ./kustomization/overlays/production | kubectl apply -f -

Debug

Confirm inside nodes

kubectl run -it --rm --restart=Never busybox --image=busybox sh

Check logs

About

License:Apache License 2.0


Languages

Language:JavaScript 92.7%Language:Dockerfile 7.3%