From b8bf507d72775ea041eb26465db2753218ab2423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20CHABERNAUD?= Date: Sun, 22 Sep 2019 10:50:19 +0200 Subject: [PATCH] Add k3d cheat --- cheats/k3d.cheat | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 cheats/k3d.cheat diff --git a/cheats/k3d.cheat b/cheats/k3d.cheat new file mode 100644 index 0000000..2d07f2f --- /dev/null +++ b/cheats/k3d.cheat @@ -0,0 +1,34 @@ +% k3d + +# Check if docker is running +k3d check-tools + +# Start a subshell for a cluster +k3d shell + +# Create a single k3s cluster in docker containers +k3d create --name + +# Create a multi-node k3s cluster in docker containers +k3d create --name --workers + +# Delete cluster +k3d delete --name + +# Stop cluster +k3d stop --name + +# Start a stopped cluster +k3d start --name + +# List all clusters +k3d list + +# Get kubeconfig location for cluster +k3d get-kubeconfig --name + +# Import a comma- or space-separated list of container images from your local docker daemon into the cluster +k3d import-images + +# Show a list of commands or help for one command +k3d help