-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add public ips with service tags for LBs during cluster creation #2821
Conversation
This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days |
hack/aks/Makefile
Outdated
$(AZCLI) network public-ip create --name $(PUBLIC_IP) \ | ||
--resource-group $(GROUP) \ | ||
--allocation-method Static \ | ||
--ip-tags $(IP_TAG) \ | ||
--location $(REGION) \ | ||
--sku Standard \ | ||
--tier Regional \ | ||
--version IPv4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of copy/pasting these 8 lines in to every cluster target, creating the public IP should be it's own target that can be reused like the set-kubeconf
target
public-ip: rg-up
$(AZCLI) network public-ip create --name $(PUBLIC_IP) \
--resource-group $(GROUP) \
--allocation-method Static \
--ip-tags $(IP_TAG) \
--location $(REGION) \
--sku Standard \
--tier Regional \
--version IPv4
...
...
swiftv2-multitenancy-cluster-up: rg-up
@$(MAKE) public-ip // <- calls the new public ip target
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
--network-plugin azure \
--network-plugin-mode overlay \
--kubernetes-version 1.28 \
--nodepool-name "mtapool" \
--node-vm-size $(VM_SIZE) \
--node-count 2 \
--load-balancer-outbound-ips /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/publicIPAddresses/$(PUBLIC_IP) \
--nodepool-tags fastpathenabled=true \
--no-ssh-key \
--yes
@$(MAKE) set-kubeconf
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the PR to reflect this
This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days |
Pull request closed due to inactivity. |
opening PR |
Signed-off-by: Keerthana Routhu <[email protected]>
location: |
General Notes:
Testing: CNI Release Test Cilium Private Test on v1.14 as suggested by John Payne Cilium Private Test on v1.16 as suggested by John Payne ACN PR Pipeline |
@k-routhu This will not be merged since the author of the PR has not agreed to the CLA (and likely won't). You will need to fork off of this branch and open a new PR. |
Reason for Change:
As per the new security requirements, all traffic for our services must be under a service tag. Cluster creation under ACN repo creates load balancers and the associated ips use default service tags provided by Microsoft. This change creates new public ips and attaches it with LBs during cluster creation phase.
Requirements:
Notes: