Coder Social home page Coder Social logo

svtslv / skaffold-nestjs-angular Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 0.0 2.41 MB

Skaffold NestJS Angular example with local remote and kaniko configurations

Dockerfile 4.26% JavaScript 17.94% TypeScript 74.22% HTML 2.98% SCSS 0.59%
skaffold nestjs angular kubernetes kaniko docker

skaffold-nestjs-angular's Introduction

Skaffold NestJS Angular

Skaffold NestJS Angular example with local remote and kaniko configurations

How to use

git clone https://github.com/svtslv/skaffold-nestjs-angular
cd skaffold-nestjs-angular/skaffold-kubernetes
kubectl create ns skaffold-nestjs-angular-namespace

Update deploy.kubeContext -> skaffold-kubernetes/skaffold-(local|remote|kaniko).yaml

Skaffold Local

Local docker and local kubernetes

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

echo -n 'username:password' | base64

License

MIT

skaffold-nestjs-angular's People

Contributors

dependabot[bot] avatar svtslv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.