Skip to content

Commit 81537f3

Browse files
authored
add cilium overlay to hackfile (#1840)
Signed-off-by: Evan Baker <[email protected]>
1 parent 37684cb commit 81537f3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

hack/swift/Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@ overlay-byocni-up: rg-up overlay-net-up ## Brings up an Overlay BYO CNI cluster
9292
--yes
9393
@$(MAKE) set-kubeconf
9494

95+
overlay-cilium-up: rg-up overlay-net-up ## Brings up an Overlay AzCNI cluster
96+
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
97+
--node-count 2 \
98+
--node-vm-size $(VM_SIZE) \
99+
--load-balancer-sku basic \
100+
--network-plugin azure \
101+
--enable-cilium-dataplane \
102+
--network-plugin-mode overlay \
103+
--pod-cidr 192.168.0.0/16 \
104+
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
105+
--no-ssh-key \
106+
--yes
107+
@$(MAKE) set-kubeconf
108+
95109
overlay-up: rg-up overlay-net-up ## Brings up an Overlay AzCNI cluster
96110
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
97111
--node-count 2 \

0 commit comments

Comments
 (0)