Skip to content

Instantly share code, notes, and snippets.

@mokua
Created July 8, 2020 11:41
Show Gist options
  • Save mokua/720bd1a130735afea65358e6ac8cfcba to your computer and use it in GitHub Desktop.
Save mokua/720bd1a130735afea65358e6ac8cfcba to your computer and use it in GitHub Desktop.
k8s local build workflow
install kind https://kind.sigs.k8s.io/
get k8s source code : go get -d k8s.io/kubernetes
build the k8s image: kind build node-image --image=local:master
create a cluster using the image: kind create cluster --config kind-config.yaml --image=local:master
test the cluster : kubectl create deployment nginx --image=nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment