Skip to content

Commit 952a1f7

Browse files
committed
Check that AWS CNI supports instance type
1 parent 535e47b commit 952a1f7

File tree

4 files changed

+97
-2
lines changed

4 files changed

+97
-2
lines changed

dev/versions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
## AWS CNI
1717

1818
1. Update the version in `eks_cluster.yaml`
19+
1. Update the go module version (see `Go > Non-versioned modules` section below)
20+
1. If new instances types were added, check if `pkg/lib/aws/servicequotas.go` needs to be updated for the new instances
1921

2022
note: once the default AWS CNI version is >= 1.5.5 this may no longer be necessary (1.5.5 added support for new instance types)
2123

@@ -60,6 +62,7 @@ note: once the default AWS CNI version is >= 1.5.5 this may no longer be necessa
6062
1. `go mod init`
6163
1. `go clean -modcache`
6264
1. `go get k8s.io/client-go@v12.0.0`
65+
1. `go get github.com/aws/amazon-vpc-cni-k8s/pkg/awsutils@v1.5.5`
6366
1. `go get github.com/cortexlabs/yaml@v2.2.4`
6467
1. `echo -e '\nreplace github.com/docker/docker => github.com/docker/engine v19.03.4' >> go.mod`
6568
1. `go mod tidy`

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ go 1.12
55
require (
66
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
77
github.com/Microsoft/go-winio v0.4.14 // indirect
8+
github.com/aws/amazon-vpc-cni-k8s v1.5.5
89
github.com/aws/aws-sdk-go v1.25.31
910
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
1011
github.com/containerd/containerd v1.3.0 // indirect
1112
github.com/cortexlabs/yaml v0.0.0-20190626164117-202ab3a3d475
1213
github.com/davecgh/go-spew v1.1.1
1314
github.com/docker/distribution v2.7.1+incompatible // indirect
14-
github.com/docker/docker v0.0.0-00010101000000-000000000000
15-
github.com/docker/go-connections v0.4.0 // indirect
15+
github.com/docker/docker v1.13.1
1616
github.com/docker/go-units v0.4.0 // indirect
1717
github.com/fatih/color v1.7.0
1818
github.com/getsentry/sentry-go v0.3.1

0 commit comments

Comments
 (0)