Skaffold NestJS Angular example with local remote and kaniko configurations
git clone https://github.com/svtslv/skaffold-nestjs-angularcd skaffold-nestjs-angular/skaffold-kuberneteskubectl create ns skaffold-nestjs-angular-namespaceUpdate deploy.kubeContext -> skaffold-kubernetes/skaffold-(local|remote|kaniko).yaml
Local docker and local kubernetes
skaffold dev -f skaffold-local.yaml --port-forwardOpen http://localhost:3000 and http://localhost:4200 change the code and enjoy.
Local docker and remote kubernetes
skaffold dev \
-f skaffold-remote.yaml \
--port-forward \
--default-repo=registry.gitlab.com/USERNAME/PROJECT
Remote builder and remote kubernetes
- Update
AUTH_SECRET_KEY->skaffold-kubernetes/_secret-example.yaml - Update
build.cluster.dockerConfig.path->skaffold-kubernetes/skaffold-kaniko.yaml
skaffold dev \
-f skaffold-kaniko.yaml \
--port-forward \
--default-repo=registry.gitlab.com/USERNAME/PROJECT
echo -n 'username:password' | base64MIT