Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svtslv/skaffold-nestjs-angular
Skaffold NestJS Angular example with local remote and kaniko configurations
https://github.com/svtslv/skaffold-nestjs-angular
angular docker kaniko kubernetes nestjs skaffold
Last synced: 2 months ago
JSON representation
Skaffold NestJS Angular example with local remote and kaniko configurations
- Host: GitHub
- URL: https://github.com/svtslv/skaffold-nestjs-angular
- Owner: svtslv
- Created: 2020-03-10T04:58:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T04:16:12.000Z (11 months ago)
- Last Synced: 2024-02-21T05:26:51.929Z (11 months ago)
- Topics: angular, docker, kaniko, kubernetes, nestjs, skaffold
- Language: TypeScript
- Homepage:
- Size: 1.99 MB
- Stars: 15
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skaffold NestJS Angular
Skaffold NestJS Angular example with local remote and kaniko configurations
## How to use
```sh
git clone https://github.com/svtslv/skaffold-nestjs-angular
``````sh
cd skaffold-nestjs-angular/skaffold-kubernetes
``````sh
kubectl create ns skaffold-nestjs-angular-namespace
```Update `deploy.kubeContext` -> `skaffold-kubernetes/skaffold-(local|remote|kaniko).yaml`
### Skaffold Local
Local docker and local kubernetes
```sh
skaffold dev -f skaffold-local.yaml --port-forward
```Open `http://localhost:3000` and `http://localhost:4200` change the code and enjoy.
### Skaffold Remote
Local docker and remote kubernetes
```
skaffold dev \
-f skaffold-remote.yaml \
--port-forward \
--default-repo=registry.gitlab.com/USERNAME/PROJECT
```### Skaffold Kaniko
Remote builder and remote kubernetes
1. Update `AUTH_SECRET_KEY` -> `skaffold-kubernetes/_secret-example.yaml`
2. 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
```### Generate auth from username and password
```sh
echo -n 'username:password' | base64
```# License
MIT