Skip to content

Commit

Permalink
Add basic kind commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ruivieira committed Nov 7, 2020
1 parent c308c3f commit 2ae1940
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions k8s.cheat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
% k8s, kind

# create a kind k8s cluster
kind create cluster

# create a kind k8s cluster named <name>
kind create cluster --name <name>

# list kind k8s clusters
kind get clusters

# get information on cluster <name>
kubectl cluster-info --context <name>

# delete the kind k8s default cluster
kind delete cluster

# delete the kind k8s cluster named <name>
kind delete cluster --name <name>

# load custom docker image into kind k8s
kind load docker-image <custom-image>

0 comments on commit 2ae1940

Please sign in to comment.