Skip to content

Commit

Permalink
feat(eks): update Kubernetes AMIs and latest version (#3331)
Browse files Browse the repository at this point in the history
update the AMI table with the latest AMI ID from the document and set LATEST_KUBERNETES_VERSION to 1.13
https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
  • Loading branch information
pahud authored and rix0rrr committed Jul 18, 2019
1 parent 305fed6 commit 3fcdb45
Showing 1 changed file with 57 additions and 21 deletions.
78 changes: 57 additions & 21 deletions packages/@aws-cdk/aws-eks/lib/ami.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class EksOptimizedAmi extends ec2.GenericLinuxImage implements ec2.IMachi
}
}

const LATEST_KUBERNETES_VERSION = '1.11';
const LATEST_KUBERNETES_VERSION = '1.13';

/**
* Whether the worker nodes should support GPU or just normal instances
Expand Down Expand Up @@ -62,28 +62,64 @@ export function nodeTypeForInstanceType(instanceType: ec2.InstanceType) {
*/
const EKS_AMI: {[version: string]: {[type: string]: {[region: string]: string}}} = {
'1.10': parseTable(`
US West (Oregon) (us-west-2) ami-09e1df3bad220af0b ami-0ebf0561e61a2be02
US East (N. Virginia) (us-east-1) ami-04358410d28eaab63 ami-0131c0ca222183def
US East (Ohio) (us-east-2) ami-0b779e8ab57655b4b ami-0abfb3be33c196cbf
EU (Frankfurt) (eu-central-1) ami-08eb700778f03ea94 ami-000622b1016d2a5bf
EU (Stockholm) (eu-north-1) ami-068b8a1efffd30eda ami-cc149ab2
EU (Ireland) (eu-west-1) ami-0de10c614955da932 ami-0dafd3a1dc43781f7
Asia Pacific (Tokyo) (ap-northeast-1) ami-06398bdd37d76571d ami-0afc9d14b2fe11ad9
Asia Pacific (Seoul) (ap-northeast-2) ami-08a87e0a7c32fa649 ami-0d75b9ab57bfc8c9a
Asia Pacific (Singapore) (ap-southeast-1) ami-0ac3510e44b5bf8ef ami-0ecce0670cb66d17b
Asia Pacific (Sydney) (ap-southeast-2) ami-0d2c929ace88cfebe ami-03b048bd9d3861ce9
US East (Ohio) (us-east-2) ami-0523ec257fff1261d ami-006382264ad5fc773
US East (N. Virginia) (us-east-1) ami-01c1c96b9aa69de37 ami-0f1b9925c9ace2043
US West (Oregon) (us-west-2) ami-021dd1fb7ba7e6e51 ami-0c3c59a4a7bea5678
Asia Pacific (Mumbai) (ap-south-1) ami-04c2ed5ff15a580f4 ami-0ea42cc96a8375851
Asia Pacific (Tokyo) (ap-northeast-1) ami-02ffa4511b4baa5fa ami-00f64026212ad62c0
Asia Pacific (Seoul) (ap-northeast-2) ami-06295f3e6390dae00 ami-060b7aed71dfaa5f5
Asia Pacific (Singapore) (ap-southeast-1) ami-07f8ccb046b3ce697 ami-029b65710f075da3d
Asia Pacific (Sydney) (ap-southeast-2) ami-03ebcd449b224e0a3 ami-0f13220d49a34e787
EU (Frankfurt) (eu-central-1) ami-0c40973ffcf8bca40 ami-08d32cef88aa48343
EU (Ireland) (eu-west-1) ami-06a96b4cfd627430b ami-058a8eec818dc3910
EU (London) (eu-west-2) ami-03356e704fb004162 ami-0cd6f7f1f7ceedc27
EU (Paris) (eu-west-3) ami-0eb77a4ca7135122b ami-01e3c54f23b6b02b3
EU (Stockholm) (eu-north-1) ami-028df8ba9b8603bdd ami-0d1ee923abbb8cf6c
`),
'1.11': parseTable(`
US West (Oregon) (us-west-2) ami-0a2abab4107669c1b ami-0c9e5e2d8caa9fb5e
US East (N. Virginia) (us-east-1) ami-0c24db5df6badc35a ami-0ff0241c02b279f50
US East (Ohio) (us-east-2) ami-0c2e8d28b1f854c68 ami-006a12f54eaafc2b1
EU (Frankfurt) (eu-central-1) ami-010caa98bae9a09e2 ami-0d6f0554fd4743a9d
EU (Stockholm) (eu-north-1) ami-06ee67302ab7cf838 ami-0b159b75
EU (Ireland) (eu-west-1) ami-01e08d22b9439c15a ami-097978e7acde1fd7c
Asia Pacific (Tokyo) (ap-northeast-1) ami-0f0e8066383e7a2cb ami-036b3969c5eb8d3cf
Asia Pacific (Seoul) (ap-northeast-2) ami-0b7baa90de70f683f ami-0b7f163f7194396f7
Asia Pacific (Singapore) (ap-southeast-1) ami-019966ed970c18502 ami-093f742654a955ee6
Asia Pacific (Sydney) (ap-southeast-2) ami-06ade0abbd8eca425 ami-05e09575123ff498b
US East (Ohio) (us-east-2) ami-03c6648b74285020f ami-0b87186dda80931ee
US East (N. Virginia) (us-east-1) ami-0a5f5d5b0f6f58199 ami-07207754196c1a8fc
US West (Oregon) (us-west-2) ami-057d1c0dcb254a878 ami-052da6a4e0ae156ad
Asia Pacific (Mumbai) (ap-south-1) ami-00f1adebe5ab9a431 ami-04645af6384529c5d
Asia Pacific (Tokyo) (ap-northeast-1) ami-0a0b6606652f9b3b9 ami-0a8f4e1f9bf09a81f
Asia Pacific (Seoul) (ap-northeast-2) ami-0c84b3f055cda1afb ami-01db6bb089f6adfcf
Asia Pacific (Singapore) (ap-southeast-1) ami-05e92412054db3f87 ami-0e001196bd450aa0c
Asia Pacific (Sydney) (ap-southeast-2) ami-07eb76498b1ba6cd6 ami-0c7132a332aa55aa6
EU (Frankfurt) (eu-central-1) ami-0234bc9c2b341aa02 ami-05cb4f6e8be8b83f1
EU (Ireland) (eu-west-1) ami-06902949103360023 ami-02f337476a5c33f1b
EU (London) (eu-west-2) ami-0db100ad46c7966d2 ami-0aa2208dbb9bb7cc5
EU (Paris) (eu-west-3) ami-052046d313576d0ba ami-0f6ea479cb4e7a4d2
EU (Stockholm) (eu-north-1) ami-02ebf24da505128f9 ami-078c260b9a737fc35
`),
'1.12': parseTable(`
US East (Ohio) (us-east-2) ami-0fe61ae4c397e710d ami-067d88fb64d3d7990
US East (N. Virginia) (us-east-1) ami-0e380e0a62d368837 ami-06e46a15650294dfa
US West (Oregon) (us-west-2) ami-0355c210cb3f58aa2 ami-084e8e620163aa50e
Asia Pacific (Mumbai) (ap-south-1) ami-01b6a163133c31994 ami-09ad3a49fb13389a0
Asia Pacific (Tokyo) (ap-northeast-1) ami-0a9b3f8b4b65b402b ami-0cd09d7293f31df8a
Asia Pacific (Seoul) (ap-northeast-2) ami-069f6a654a8795f72 ami-006549812c03748cb
Asia Pacific (Singapore) (ap-southeast-1) ami-03737a1ac334a5767 ami-01be8fddd9b16320c
Asia Pacific (Sydney) (ap-southeast-2) ami-07580768e8538626f ami-0a1bf783357dd8492
EU (Frankfurt) (eu-central-1) ami-0ee5ca4231511cafc ami-0ae5976723472b6d4
EU (Ireland) (eu-west-1) ami-0404d23c7e8188740 ami-042f9abf2f96a0097
EU (London) (eu-west-2) ami-07346d8553f83f9d6 ami-0b87e9246afd42760
EU (Paris) (eu-west-3) ami-038cb36289174bac4 ami-0d9405868a6e9ee11
EU (Stockholm) (eu-north-1) ami-03e60b5a990893129 ami-0122b7e2a6736e3c5
`),
'1.13': parseTable(`
US East (Ohio) (us-east-2) ami-0485258c2d1c3608f ami-0ccac9d9b57864000
US East (N. Virginia) (us-east-1) ami-0f2e8e5663e16b436 ami-0017d945a10387606
US West (Oregon) (us-west-2) ami-03a55127c613349a7 ami-08335952e837d087b
Asia Pacific (Mumbai) (ap-south-1) ami-0a9b1c1807b1a40ab ami-005b754faac73f0cc
Asia Pacific (Tokyo) (ap-northeast-1) ami-0fde798d17145fae1 ami-04cf69bbd6c0fae0b
Asia Pacific (Seoul) (ap-northeast-2) ami-07fd7609df6c8e39b ami-0730e699ed0118737
Asia Pacific (Singapore) (ap-southeast-1) ami-0361e14efd56a71c7 ami-07be5e97a529cd146
Asia Pacific (Sydney) (ap-southeast-2) ami-0237d87bc27daba65 ami-0a2f4c3aeb596aa7e
EU (Frankfurt) (eu-central-1) ami-0b7127e7a2a38802a ami-0fbbd205f797ecccd
EU (Ireland) (eu-west-1) ami-00ac2e6b3cb38a9b9 ami-0f9571a3e65dc4e20
EU (London) (eu-west-2) ami-0147919d2ff9a6ad5 ami-032348bd69c5dd665
EU (Paris) (eu-west-3) ami-0537ee9329c1628a2 ami-053962359d6859fec
EU (Stockholm) (eu-north-1) ami-0fd05922165907b85 ami-0641def7f02a4cac5
`),
};

Expand Down

0 comments on commit 3fcdb45

Please sign in to comment.