Skip to content

mpielvitori/k8s-skaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developing using local k8s cluster

Linux and macOS:

curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-darwin-amd64 && \
sudo install skaffold /usr/local/bin/

With Homebrew

brew install skaffold

Linux and macOS:

Linux

curl -L https://github.com/kubernetes/kompose/releases/download/v1.19.0/kompose-linux-amd64 -o kompose

macOS

curl -L https://github.com/kubernetes/kompose/releases/download/v1.19.0/kompose-darwin-amd64 -o kompose

Give executable permissions

chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose

With Homebrew

brew install kompose

The easy way, just enable Kubernetes on your docker-desktop

Install MiniKube

brew install hyperkit
brew install minikube

Skaffolding k8s config(just the first time)

skaffold init --compose-file docker-compose.yml

Usage

Start MiniKube

minikube start --driver=hyperkit

Run project with hot reload

skaffold dev --port-forward -p minikube

For monitoring use Lens or run the following command

minikube dashboard

K8s Skaffold alternatives

About

Kubernetes Skaffold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published