-
Notifications
You must be signed in to change notification settings - Fork 437
Load Balancer: Add better support for privateLB #1089
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
68e18a9
Establishing the LB for internal LB
MariusStorhaug 414a136
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
MariusStorhaug e2bcab9
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
MariusStorhaug 43f8abb
Test loadbalancer update
MariusStorhaug b18c0f5
Update readme
MariusStorhaug 990a36e
Test
MariusStorhaug e3dac30
Test with && !empty()
MariusStorhaug 6fe046a
test deployment without backend child
MariusStorhaug d4152ad
Update with using backend child
MariusStorhaug ea0ea20
Fix for tunnelInterface
MariusStorhaug 81dfeef
Fix backendAddressPool.loadBalancerBackendAddresses
MariusStorhaug 34d0315
fix privateIPAllocationMethod when subnet is blank
MariusStorhaug d047a0b
Fix internal LB and full param files
MariusStorhaug 85372cf
Test
MariusStorhaug b5e513a
Deploy LB for testing with VMs
MariusStorhaug c255fcb
update dependency pipeline
MariusStorhaug fa282ab
deploy dependency lb
MariusStorhaug 4e728b0
Uncomment dependency pipeline
MariusStorhaug 3c12c1d
Merge branch 'main' of https://github.com/Azure/ResourceModules into …
MariusStorhaug 5c12885
Update arm/Microsoft.Network/loadBalancers/.parameters/internal.param…
63cedae
Update utilities/pipelines/dependencies/Microsoft.Network/loadBalance…
85aa9cd
simplify dependency params
MariusStorhaug e79244d
Update .github/workflows/platform.dependencies.yml
a244960
Update .azuredevops/platformPipelines/platform.dependencies.yml
5476e13
Update .azuredevops/platformPipelines/platform.dependencies.yml
73acaf8
Update .azuredevops/platformPipelines/platform.dependencies.yml
720bc13
remove dependencies on workflow file as its no longer required by the…
MariusStorhaug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
arm/Microsoft.Network/loadBalancers/.parameters/internal.parameters.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| { | ||
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
| "contentVersion": "1.0.0.0", | ||
| "parameters": { | ||
| "name": { | ||
| "value": "<<namePrefix>>-az-lb-internal-001" | ||
| }, | ||
| "loadBalancerSku": { | ||
| "value": "Standard" | ||
| }, | ||
| "frontendIPConfigurations": { | ||
| "value": [ | ||
| { | ||
| "name": "privateIPConfig1", | ||
| "subnetId": "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<<namePrefix>>-az-vnet-x-001/subnets/<<namePrefix>>-az-subnet-x-001" | ||
| } | ||
| ] | ||
| }, | ||
| "backendAddressPools": { | ||
| "value": [ | ||
| { | ||
| "name": "servers" | ||
| } | ||
| ] | ||
| }, | ||
| "probes": { | ||
| "value": [ | ||
| { | ||
| "name": "probe1", | ||
| "protocol": "Tcp", | ||
| "port": "62000", | ||
| "intervalInSeconds": 5, | ||
| "numberOfProbes": 2 | ||
| } | ||
| ] | ||
| }, | ||
| "loadBalancingRules": { | ||
| "value": [ | ||
| { | ||
| "name": "privateIPLBRule1", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 0, | ||
| "backendPort": 0, | ||
| "enableFloatingIP": true, | ||
| "idleTimeoutInMinutes": 4, | ||
| "protocol": "All", | ||
| "loadDistribution": "Default", | ||
| "probeName": "probe1", | ||
| "disableOutboundSnat": true, | ||
| "enableTcpReset": false, | ||
| "backendAddressPoolName": "servers" | ||
| } | ||
| ] | ||
| }, | ||
| "inboundNatRules": { | ||
| "value": [ | ||
| { | ||
| "name": "inboundNatRule1", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 443, | ||
| "backendPort": 443, | ||
| "enableFloatingIP": false, | ||
| "idleTimeoutInMinutes": 4, | ||
| "protocol": "Tcp", | ||
| "enableTcpReset": false | ||
| }, | ||
| { | ||
| "name": "inboundNatRule2", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 3389, | ||
| "backendPort": 3389 | ||
| } | ||
| ] | ||
| }, | ||
| "roleAssignments": { | ||
| "value": [ | ||
| { | ||
| "roleDefinitionIdOrName": "Reader", | ||
| "principalIds": [ | ||
| "<<deploymentSpId>>" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "diagnosticLogsRetentionInDays": { | ||
| "value": 7 | ||
| }, | ||
| "diagnosticStorageAccountId": { | ||
| "value": "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adp<<namePrefix>>azsax001" | ||
| }, | ||
| "diagnosticWorkspaceId": { | ||
| "value": "/subscriptions/<<subscriptionId>>/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-<<namePrefix>>-az-law-x-001" | ||
| }, | ||
| "diagnosticEventHubAuthorizationRuleId": { | ||
| "value": "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.EventHub/namespaces/adp-<<namePrefix>>-az-evhns-x-001/AuthorizationRules/RootManageSharedAccessKey" | ||
| }, | ||
| "diagnosticEventHubName": { | ||
| "value": "adp-<<namePrefix>>-az-evh-x-001" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
...ipelines/dependencies/Microsoft.Network/loadBalancers/parameters/internal.parameters.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| { | ||
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
| "contentVersion": "1.0.0.0", | ||
| "parameters": { | ||
| "name": { | ||
| "value": "adp-<<namePrefix>>-az-lb-internal-001" | ||
| }, | ||
| "loadBalancerSku": { | ||
| "value": "Standard" | ||
| }, | ||
| "frontendIPConfigurations": { | ||
| "value": [ | ||
| { | ||
| "name": "privateIPConfig1", | ||
| "subnetId": "/subscriptions/<<subscriptionId>>/resourceGroups/validation-rg/providers/Microsoft.Network/virtualNetworks/adp-<<namePrefix>>-az-vnet-x-001/subnets/<<namePrefix>>-az-subnet-x-001" | ||
| } | ||
| ] | ||
| }, | ||
| "backendAddressPools": { | ||
| "value": [ | ||
| { | ||
| "name": "servers" | ||
| } | ||
| ] | ||
| }, | ||
| "probes": { | ||
| "value": [ | ||
| { | ||
| "name": "probe1", | ||
| "protocol": "Tcp", | ||
| "port": "62000", | ||
| "intervalInSeconds": 5, | ||
| "numberOfProbes": 2 | ||
| } | ||
| ] | ||
| }, | ||
| "loadBalancingRules": { | ||
| "value": [ | ||
| { | ||
| "name": "privateIPLBRule1", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 0, | ||
| "backendPort": 0, | ||
| "enableFloatingIP": true, | ||
| "idleTimeoutInMinutes": 4, | ||
| "protocol": "All", | ||
| "loadDistribution": "Default", | ||
| "probeName": "probe1", | ||
| "disableOutboundSnat": true, | ||
| "enableTcpReset": false, | ||
| "backendAddressPoolName": "servers" | ||
| } | ||
| ] | ||
| }, | ||
| "inboundNatRules": { | ||
| "value": [ | ||
| { | ||
| "name": "inboundNatRule1", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 443, | ||
| "backendPort": 443, | ||
| "enableFloatingIP": false, | ||
| "idleTimeoutInMinutes": 4, | ||
| "protocol": "Tcp", | ||
| "enableTcpReset": false | ||
| }, | ||
| { | ||
| "name": "inboundNatRule2", | ||
| "frontendIPConfigurationName": "privateIPConfig1", | ||
| "frontendPort": 3389, | ||
| "backendPort": 3389 | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.