From 55412647d21cab2bc31f93de6ec4bf5ba546118b Mon Sep 17 00:00:00 2001 From: Camryn Lee Date: Mon, 18 Jul 2022 12:22:02 -0700 Subject: [PATCH 1/2] fix net-up target --- hack/swift/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/swift/Makefile b/hack/swift/Makefile index 37f8e581b6..89d8dc9a90 100644 --- a/hack/swift/Makefile +++ b/hack/swift/Makefile @@ -52,7 +52,7 @@ vars: ## Show the env vars configured for the swift command @echo VNET=$(VNET) @echo CLUSTER=$(CLUSTER) -net-up: azcfg ## Create required swift vnet/subnets +swift-net-up: azcfg ## Create required swift vnet/subnets $(AZCLI) network vnet create -g $(GROUP) -l $(REGION) --name $(VNET) --address-prefixes 10.0.0.0/8 -o none $(AZCLI) network vnet subnet create -g $(GROUP) --vnet-name $(VNET) --name nodenet --address-prefixes 10.240.0.0/16 -o none $(AZCLI) network vnet subnet create -g $(GROUP) --vnet-name $(VNET) --name podnet --address-prefixes 10.241.0.0/16 -o none From af27d35b3391ff8d8d047a3c6849748c21a63788 Mon Sep 17 00:00:00 2001 From: Camryn Lee Date: Mon, 18 Jul 2022 12:29:47 -0700 Subject: [PATCH 2/2] space fix --- hack/swift/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/swift/Makefile b/hack/swift/Makefile index 89d8dc9a90..24da0ac3be 100644 --- a/hack/swift/Makefile +++ b/hack/swift/Makefile @@ -73,7 +73,7 @@ swift-up: azcfg swift-net-up ## Brings up a swift cluster $name in $SUB/$REGION @$(MAKE) set-kubeconf byocni-up: azcfg swift-net-up ## Brings up a swift cluster $name in $SUB/$REGION - $(AZCLI) aks create -n $(CLUSTER)-g $(GROUP) -l $(REGION) \ + $(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \ --max-pods 250 \ --node-count 3 \ --network-plugin none \