Skip to content

Commit 7cd74b0

Browse files
committed
used variable cluster name
1 parent f394f48 commit 7cd74b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ secret: ## Generate a secret hex key
6464

6565
.PHONY: cluster
6666
cluster: ## Create a K3D Kubernetes cluster with load balancer and registry
67-
$(info Creating Kubernetes cluster with a registry and 1 worker node...)
68-
k3d cluster create nyu-devops --agents 1 --registry-create cluster-registry:0.0.0.0:5000 --port '8080:80@loadbalancer'
67+
$(info Creating Kubernetes cluster $(CLUSTER) with a registry and 1 worker node...)
68+
k3d cluster create $(CLUSTER) --agents 1 --registry-create cluster-registry:0.0.0.0:5000 --port '8080:80@loadbalancer'
6969

7070
.PHONY: cluster-rm
7171
cluster-rm: ## Remove a K3D Kubernetes cluster

0 commit comments

Comments
 (0)