Skip to content
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 r5dn #656

Merged
merged 2 commits into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pkg/awsutils/vpc_ip_resource_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ var InstanceENIsAvailable = map[string]int{
"r5d.16xlarge": 15,
"r5d.24xlarge": 15,
"r5d.metal": 15,
"r5dn.large": 3,
"r5dn.xlarge": 4,
"r5dn.2xlarge": 4,
"r5dn.4xlarge": 8,
"r5dn.8xlarge": 8,
"r5dn.12xlarge": 8,
"r5dn.16xlarge": 15,
"r5dn.24xlarge": 15,
"t1.micro": 2,
"t2.nano": 2,
"t2.micro": 2,
Expand Down Expand Up @@ -425,6 +433,14 @@ var InstanceIPsAvailable = map[string]int{
"r5d.16xlarge": 50,
"r5d.24xlarge": 50,
"r5d.metal": 50,
"r5dn.large": 10,
"r5dn.xlarge": 15,
"r5dn.2xlarge": 15,
"r5dn.4xlarge": 30,
"r5dn.8xlarge": 30,
"r5dn.12xlarge": 30,
"r5dn.16xlarge": 50,
"r5dn.24xlarge": 50,
"t1.micro": 2,
"t2.nano": 2,
"t2.micro": 2,
Expand Down
4 changes: 2 additions & 2 deletions pkg/networkutils/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ func GetEthernetMTU() int {
if envMTUValue := os.Getenv(envMTU); envMTUValue != "" {
mtu, err := strconv.Atoi(envMTUValue)
if err != nil {
log.Errorf("Failed to parse %s will use %d: %v", envMTU, maximumMTU, err.Error())
log.Errorf("Failed to parse %s will use %d: %v", envMTU, maximumMTU, err.Error())
return maximumMTU
}
// Restrict range between jumbo frame and the maximum required size to assemble.
Expand All @@ -951,7 +951,7 @@ func GetEthernetMTU() int {
log.Errorf("%s is too low: %d. Will use %d", envMTU, mtu, minimumMTU)
return minimumMTU
}
if mtu > maximumMTU {
if mtu > maximumMTU {
log.Errorf("%s is too high: %d. Will use %d", envMTU, mtu, maximumMTU)
return maximumMTU
}
Expand Down
63 changes: 0 additions & 63 deletions vendor/github.com/golang/protobuf/proto/deprecated.go

This file was deleted.