NestJS Kubernetes example
NestJS Kubernetes example
git clone https://github.com/svtslv/nestjs-kubernetes
cd nestjs-kubernetes
kubectl apply -f kubernetes/_local-path-provisioner.yaml
kubectl apply -f kubernetes/01-namespaces.yaml
kubectl apply -f kubernetes/02-volumes.yaml
skaffold dev --port-forward
stringData..dockerconfigjson
-> kubernetes/03-secrets.yaml
...template.containers.image
-> kubernetes/08-nestjs.yaml
build.artifacts.-image
-> skaffold.yaml
skaffold dev --port-forward
Star it, open http://localhost:3000
change the code and enjoy!
MIT