From 2575f51f9499eba6e7bb51070c8126435ae938c6 Mon Sep 17 00:00:00 2001 From: rasswanth-s <43314053+rasswanth-s@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:04:43 +0530 Subject: [PATCH] explicit set k3d context --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 937f6050fe7..27122b38c2f 100644 --- a/justfile +++ b/justfile @@ -254,7 +254,7 @@ create-cluster cluster port *args='': start-registry && (apply-coredns cluster) # Since k3d adds k3d- prefix to the cluster name # we create a new context without the prefix - kubectl config rename-context k3d-{{cluster}} {{cluster}} + kubectl config set-context {{ cluster }} --cluster=k3d-{{ cluster}} --user=admin@k3d-{{ cluster}} [group('cluster')] [private]