Skip to content

Commit

Permalink
used variable cluster name
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Oct 23, 2024
1 parent f394f48 commit 7cd74b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ secret: ## Generate a secret hex key

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

.PHONY: cluster-rm
cluster-rm: ## Remove a K3D Kubernetes cluster
Expand Down

0 comments on commit 7cd74b0

Please sign in to comment.