Skip to content

Commit 95c0891

Browse files
committed
resolve merge conflict
2 parents 8a67717 + cdf97b3 commit 95c0891

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

hack/aks/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,23 @@ azcfg: ## Set the $AZCLI to use aks-preview
4848
@$(AZCLI) extension add --name aks-preview --yes
4949
@$(AZCLI) extension update --name aks-preview
5050

51+
ip:
52+
$(AZCLI) network public-ip create --name $(IP_PREFIX)-$(CLUSTER)-$(IPVERSION) \
53+
--resource-group $(GROUP) \
54+
--allocation-method Static \
55+
--ip-tags $(IP_TAG) \
56+
--location $(REGION) \
57+
--sku Standard \
58+
--tier Regional \
59+
--version IP$(IPVERSION)
60+
61+
ipv4:
62+
@$(MAKE) ip IPVERSION=v4
63+
64+
ipv6:
65+
@$(MAKE) ip IPVERSION=v6
66+
67+
5168
set-kubeconf: ## Adds the kubeconf for $CLUSTER
5269
$(AZCLI) aks get-credentials -n $(CLUSTER) -g $(GROUP)
5370

0 commit comments

Comments
 (0)