Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
554b7010
Commit
554b7010
authored
Jun 20, 2016
by
k8s-merge-robot
Committed by
GitHub
Jun 20, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27677 from justinsb/fix_24254
Automatic merge from submit-queue AWS: Enable ICMP Type 3 Code 4 for ELBs This enables MTU discovery. Fixes #24254
parents
d82c3023
fddc9d61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
aws.go
pkg/cloudprovider/providers/aws/aws.go
+13
-0
No files found.
pkg/cloudprovider/providers/aws/aws.go
View file @
554b7010
...
@@ -2313,6 +2313,19 @@ func (s *AWSCloud) EnsureLoadBalancer(apiService *api.Service, hosts []string) (
...
@@ -2313,6 +2313,19 @@ func (s *AWSCloud) EnsureLoadBalancer(apiService *api.Service, hosts []string) (
permissions
.
Insert
(
permission
)
permissions
.
Insert
(
permission
)
}
}
// Allow ICMP fragmentation packets, important for MTU discovery
{
permission
:=
&
ec2
.
IpPermission
{
IpProtocol
:
aws
.
String
(
"icmp"
),
FromPort
:
aws
.
Int64
(
3
),
ToPort
:
aws
.
Int64
(
4
),
IpRanges
:
[]
*
ec2
.
IpRange
{{
CidrIp
:
aws
.
String
(
"0.0.0.0/0"
)}},
}
permissions
.
Insert
(
permission
)
}
_
,
err
=
s
.
setSecurityGroupIngress
(
securityGroupID
,
permissions
)
_
,
err
=
s
.
setSecurityGroupIngress
(
securityGroupID
,
permissions
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment