Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
daily-scripts
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
daily-scripts
Commits
470a4cbc
There was an error fetching the commit references. Please try again later.
Commit
470a4cbc
authored
1 month ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
bf36c997
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
srv-deps/azv-plugin-slb
+3
-3
3 additions, 3 deletions
srv-deps/azv-plugin-slb
with
3 additions
and
3 deletions
srv-deps/azv-plugin-slb
+
3
−
3
View file @
470a4cbc
...
...
@@ -56,10 +56,10 @@ function plugin_after_vm_creat () {
# Redirects 8888 to ANY_MACHINE:22. Backend machine selected randomly. (replacement to inbound-nat-rule as workaround)
debugexec az network lb rule create
--resource-group
$resgrp
--lb-name
$LB_NAME
--name
lb_rule_a
--protocol
All
--frontend-port
8888
--backend-port
22
--backend-pool-name
$BE_PL
--frontend-ip
$FE_IP
--protocol
Tcp
--disable-outbound-snat
1
||
exit
if
[[
$vmcount
!=
1
]]
;
then
echo
"
$COLOR_RED_BLD
Warning: PublicIp:8888 is mapped to RANDOM_MACHINE:22. Add inbound-nat-rule on az portal manually if required.
$COLOR_CLR
"
1>&2
echo
-e
"
$COLOR_RED_BLD
Warning: PublicIp:8888 is mapped to RANDOM_MACHINE:22. Add inbound-nat-rule on az portal manually if required.
$COLOR_CLR
"
1>&2
fi
if
[[
$outbound_ports_per_vm
!=
1000
]]
;
then
echo
"
$COLOR_RED_BLD
Known-Bug: If you use this script, outbound_ports_per_vm limit doesn't work
$COLOR_CLR
"
1>&2
echo
"
$COLOR_RED_BLD
But if you delete & manually recreate SLB, inbound SLB doesn't work
$COLOR_CLR
"
1>&2
echo
-e
"
$COLOR_RED_BLD
Known-Bug: If you use this script, outbound_ports_per_vm limit doesn't work
$COLOR_CLR
"
1>&2
echo
-e
"
$COLOR_RED_BLD
But if you delete & manually recreate SLB, inbound SLB doesn't work
$COLOR_CLR
"
1>&2
fi
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment