Skip to content

Commit 13d3cad

Browse files
authored
add cilium dualstack hackfile targets (#2366)
cilium dualstack cluster creation
1 parent ba3a5a6 commit 13d3cad

File tree

2 files changed

+51
-17
lines changed

2 files changed

+51
-17
lines changed

hack/aks/Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,38 @@ dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Over
272272
--yes
273273
@$(MAKE) set-kubeconf
274274

275+
cilium-dualstack-up: rg-up overlay-net-up ## Brings up a Cilium Dualstack Overlay cluster with Linux node only
276+
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
277+
--auto-upgrade-channel $(AUTOUPGRADE) \
278+
--node-os-upgrade-channel $(NODEUPGRADE) \
279+
--node-count $(NODE_COUNT) \
280+
--node-vm-size $(VM_SIZE) \
281+
--network-plugin azure \
282+
--network-plugin-mode overlay \
283+
--network-dataplane cilium \
284+
--subscription $(SUB) \
285+
--ip-families ipv4,ipv6 \
286+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
287+
--no-ssh-key \
288+
--yes
289+
@$(MAKE) set-kubeconf
290+
291+
dualstack-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up a Dualstack overlay BYOCNI cluster with Linux node only and no kube-proxy
292+
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
293+
--auto-upgrade-channel $(AUTOUPGRADE) \
294+
--node-os-upgrade-channel $(NODEUPGRADE) \
295+
--node-count $(NODE_COUNT) \
296+
--node-vm-size $(VM_SIZE) \
297+
--network-plugin none \
298+
--network-plugin-mode overlay \
299+
--subscription $(SUB) \
300+
--ip-families ipv4,ipv6 \
301+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
302+
--no-ssh-key \
303+
--kube-proxy-config ./kube-proxy.json \
304+
--yes
305+
@$(MAKE) set-kubeconf
306+
275307
windows-nodepool-up: ## Add windows node pool
276308
$(AZCLI) aks nodepool add -g $(GROUP) -n npwin \
277309
--node-count $(NODE_COUNT) \

hack/aks/README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,23 @@ SWIFT Infra
2121
net-up Create required swift vnet/subnets
2222

2323
AKS Clusters
24-
byocni-up Alias to swift-byocni-up
25-
cilium-up Alias to swift-cilium-up
26-
up Alias to swift-up
27-
overlay-byocni-up Bring up a Overlay BYO CNI cluster
28-
overlay-byocni-nokubeproxy-up Bring up a Overlay BYO CNI cluster without kube-proxy
29-
overlay-cilium-up Bring up a Overlay Cilium cluster
30-
overlay-up Bring up a Overlay AzCNI cluster
31-
swift-byocni-up Bring up a SWIFT BYO CNI cluster
32-
swift-byocni-nokubeproxy-up Bring up a SWIFT BYO CNI cluster without kube-proxy
33-
swift-cilium-up Bring up a SWIFT Cilium cluster
34-
swift-up Bring up a SWIFT AzCNI cluster
35-
windows-cniv1-up Bring up a Windows AzCNIv1 cluster
36-
linux-cniv1-up Bring up a Linux AzCNIv1 cluster
37-
dualstack-overlay-byocni-up Bring up an dualstack overlay cluster without CNS and CNI installed
38-
windows-nodepool-up Add windows node pool
39-
down Delete the cluster
40-
vmss-restart Restart the nodes of the cluster
24+
byocni-up Alias to swift-byocni-up
25+
cilium-up Alias to swift-cilium-up
26+
up Alias to swift-up
27+
overlay-byocni-up Bring up a Overlay BYO CNI cluster
28+
overlay-byocni-nokubeproxy-up Bring up a Overlay BYO CNI cluster without kube-proxy
29+
overlay-cilium-up Bring up a Overlay Cilium cluster
30+
overlay-up Bring up a Overlay AzCNI cluster
31+
swift-byocni-up Bring up a SWIFT BYO CNI cluster
32+
swift-byocni-nokubeproxy-up Bring up a SWIFT BYO CNI cluster without kube-proxy
33+
swift-cilium-up Bring up a SWIFT Cilium cluster
34+
swift-up Bring up a SWIFT AzCNI cluster
35+
windows-cniv1-up Bring up a Windows AzCNIv1 cluster
36+
linux-cniv1-up Bring up a Linux AzCNIv1 cluster
37+
dualstack-overlay-byocni-up Bring up an dualstack overlay cluster without CNS and CNI installed
38+
cilium-dualstack-up Brings up a Cilium Dualstack Overlay cluster with Linux node only
39+
dualstack-byocni-nokubeproxy-up Brings up a Dualstack overlay BYOCNI cluster with Linux node only and no kube-proxy
40+
windows-nodepool-up Add windows node pool
41+
down Delete the cluster
42+
vmss-restart Restart the nodes of the cluster
4143
```

0 commit comments

Comments
 (0)