Giter Club home page Giter Club logo

skaffold-nodejs-project's Introduction

Skaffold: Local development with Kubernetes

Skaffold is amazing for local development with kubernetes. I can locally test my changes without having to deploy remotely. Helping speed up local feature development and giving me more confidence in my changes. I started using Skaffold for all new projects in my current position, well for any new microservice in our ETL data pipeline and it works pretty well on a minikube cluster.

Getting Started with tooling

Let’s get our minikube cluster setup. Install minikube locally by using homebrew:

$ brew install minikube

Make sure it was installed successfully:

$ minikube version

Output:

minikube version: v1.27.1
commit: fe869b5d4da11ba318eb84a3ac00f336411de7ba

Start minikube:

$ minikube start --feature-gates=EphemeralContainers=true

Use the minikube addon to enable the ingress nginx controller:

$ minikube addons enable ingress

Install skaffold on your machine:

$ brew install skaffold

Validate that the install was successful:

$ skaffold version

Now run the init command:

$ skaffold init 

The init command tries to bootstrap your projects and setting it up to deploy with cli tools such as:

kubectl & kustomize

Bringing up your local cluster:

$ skaffold dev --port-forward

skaffold-nodejs-project's People

Contributors

zhaque44 avatar

Watchers

 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.