File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# These can be overidden with env vars.
2- REGISTRY ?= cluster-registry:32000
2+ REGISTRY ?= cluster-registry:5000
33IMAGE_NAME ?= hitcounter
44IMAGE_TAG ?= 1.0
55IMAGE ?= $(REGISTRY ) /$(IMAGE_NAME ) :$(IMAGE_TAG )
@@ -65,7 +65,7 @@ secret: ## Generate a secret hex key
6565.PHONY : cluster
6666cluster : # # Create a K3D Kubernetes cluster with load balancer and registry
6767 $(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:32000 --port ' 8080:80@loadbalancer'
68+ k3d cluster create nyu-devops --agents 1 --registry-create cluster-registry:0.0.0.0:5000 --port ' 8080:80@loadbalancer'
6969
7070.PHONY : cluster-rm
7171cluster-rm : # # Remove a K3D Kubernetes cluster
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ registries:
1111 create :
1212 name : cluster-registry
1313 host : " 0.0.0.0"
14- hostPort : " 32000 "
14+ hostPort : " 5000 "
1515 config : |
1616 mirrors:
17- "cluster-registry:32000 ":
17+ "cluster-registry:5000 ":
1818 endpoint:
19- - http://cluster-registry:32000
19+ - http://cluster-registry:5000
Original file line number Diff line number Diff line change 2222 restartPolicy : Always
2323 containers :
2424 - name : hitcounter
25- image : cluster-registry:32000 /hitcounter:1.0
25+ image : cluster-registry:5000 /hitcounter:1.0
2626 # image: hitcounter
2727 imagePullPolicy : IfNotPresent
2828 ports :
Original file line number Diff line number Diff line change 1- SKAFFOLD_DEFAULT_REPO = cluster-registry:32000
1+ SKAFFOLD_DEFAULT_REPO = cluster-registry:5000
You can’t perform that action at this time.
0 commit comments