From e523febf0c85bec5da3d6c23dbe9e711ce7f005a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20CHABERNAUD?= Date: Tue, 24 Sep 2019 18:30:31 +0200 Subject: [PATCH] Fix name var for creating --- cheats/k3d.cheat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cheats/k3d.cheat b/cheats/k3d.cheat index abd48c1..b7ad490 100644 --- a/cheats/k3d.cheat +++ b/cheats/k3d.cheat @@ -7,25 +7,25 @@ k3d check-tools k3d shell # Create a single k3s cluster in docker containers -k3d create --name +k3d create --name # Create a multi-node k3s cluster in docker containers -k3d create --name --workers +k3d create --name --workers # Delete cluster -k3d delete --name +k3d delete --name # Stop cluster -k3d stop --name +k3d stop --name # Start a stopped cluster -k3d start --name +k3d start --name # List all clusters k3d list # Get kubeconfig location for cluster -k3d get-kubeconfig --name +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 @@ -33,4 +33,4 @@ k3d import-images # Show a list of commands or help for one command k3d help -$ name: k3d list |awk '{print $2}' | awk 'NF {print $0}' | tail -n +2 +$ cluster_name: k3d list |awk '{print $2}' | awk 'NF {print $0}' | tail -n +2