Merge ~codyshepherd/cloud-images/+git/aws-eks-website:update/1-11/20190814 into ~cloud-images-release-managers/cloud-images/+git/aws-eks-website:master
- Git
- lp:~codyshepherd/cloud-images/+git/aws-eks-website
- update/1-11/20190814
- Merge into master
Status: | Merged |
---|---|
Merged at revision: | 077a48b8989636900ba6ebd98ec381fe629f33b9 |
Proposed branch: | ~codyshepherd/cloud-images/+git/aws-eks-website:update/1-11/20190814 |
Merge into: | ~cloud-images-release-managers/cloud-images/+git/aws-eks-website:master |
Diff against target: |
1588 lines (+972/-555) 3 files modified
index.html (+913/-555) requirements.txt (+2/-0) update.py (+57/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Philip Roche | Approve | ||
Francis Ginther (community) | Approve | ||
David Krauser (community) | Approve | ||
Review via email: mp+371308@code.launchpad.net |
Commit message
Update 1.11 amis, standardize indentation, and add update script and requirements.
Description of the change
This MP alters the indentation formatting of the html file, bringing it in line with the standardized indentation that the BeautifulSoup python library (used by the update script to simplify parsing of the html) requires. The big diff generated by these indentation changes should be a one-time thing.
Cody Shepherd (codyshepherd) : | # |
David Krauser (davidkrauser) : | # |
Francis Ginther (fginther) wrote : | # |
AMI updates look good, the update script also looks good. I found one issue with the rendering of the 1.12/1.11 buttons. Both chrome and firefox now render these smooshed together when there was a gap before. The only change in the relevant code is the layout. I was able to get nearly identical results with the following:
$ git diff
diff --git a/index.html b/index.html
index f714f03..079140e 100644
--- a/index.html
+++ b/index.html
@@ -72,11 +72,11 @@
display: inline;
- margin-left: 0.5rem;
+ margin-left: 0.25rem;
}
- margin-right: 0;
+ margin-right: 0.25rem;
}
I don't know if that's the best way to solve the problem, but it works in both chrome and firefox. I do think the buttons should be separated, but if you want to address this with a follow-up MP instead of here, I'd be ok with that.
Preview Diff
1 | diff --git a/index.html b/index.html |
2 | index c126f1e..079140e 100644 |
3 | --- a/index.html |
4 | +++ b/index.html |
5 | @@ -1,21 +1,19 @@ |
6 | <!DOCTYPE html> |
7 | -<html lang="en" dir="ltr"> |
8 | - <head> |
9 | - <meta charset="utf-8"> |
10 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
11 | - <meta name="viewport" content="width=device-width, initial-scale=1"> |
12 | - |
13 | - <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/cb22ba5d-favicon-16x16.png" sizes="16x16" /> |
14 | - <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png" sizes="32x32" /> |
15 | - |
16 | - <title>Ubuntu on Amazon Elastic Kubernetes Service (EKS)</title> |
17 | - <meta name="description" content="Canonical and Amazon have collaborated on the launch of Amazon’s Elastic Container Service for Kubernetes (EKS) to make Ubuntu worker nodes available. Amazon EKS is a fully managed service that makes it easy for you to use Kubernetes on AWS without having to be an expert in managing Kubernetes clusters."> |
18 | - |
19 | - <!-- Stylesheet --> |
20 | - <link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla-framework-version-2.1.0.min.css"> |
21 | - |
22 | - <style> |
23 | - .p-accordion__panel { |
24 | +<html dir="ltr" lang="en"> |
25 | + <head> |
26 | + <meta charset="utf-8"/> |
27 | + <meta content="IE=edge" http-equiv="X-UA-Compatible"/> |
28 | + <meta content="width=device-width, initial-scale=1" name="viewport"/> |
29 | + <link href="https://assets.ubuntu.com/v1/cb22ba5d-favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/> |
30 | + <link href="https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/> |
31 | + <title> |
32 | + Ubuntu on Amazon Elastic Kubernetes Service (EKS) |
33 | + </title> |
34 | + <meta content="Canonical and Amazon have collaborated on the launch of Amazon’s Elastic Container Service for Kubernetes (EKS) to make Ubuntu worker nodes available. Amazon EKS is a fully managed service that makes it easy for you to use Kubernetes on AWS without having to be an expert in managing Kubernetes clusters." name="description"/> |
35 | + <!-- Stylesheet --> |
36 | + <link href="https://assets.ubuntu.com/v1/vanilla-framework-version-2.1.0.min.css" rel="stylesheet"/> |
37 | + <style> |
38 | + .p-accordion__panel { |
39 | padding-left: 0; |
40 | } |
41 | |
42 | @@ -74,11 +72,11 @@ |
43 | |
44 | .p-inline-list { |
45 | display: inline; |
46 | - margin-left: 0.5rem; |
47 | + margin-left: 0.25rem; |
48 | } |
49 | |
50 | .p-inline-list__item { |
51 | - margin-right: 0; |
52 | + margin-right: 0.25rem; |
53 | } |
54 | |
55 | .p-navigation a, |
56 | @@ -118,536 +116,898 @@ |
57 | padding-bottom: .7rem; |
58 | padding-top: calc(1rem - 1px); |
59 | } |
60 | - </style> |
61 | - </head> |
62 | - |
63 | - <body> |
64 | - <header id="navigation" class="p-navigation"> |
65 | - <div class="row"> |
66 | - <div class="p-navigation__banner"> |
67 | - <div class="p-navigation__logo"> |
68 | - <a class="p-navigation__link" href="http://cloud-images.ubuntu.com/"> |
69 | - <svg class="p-navigation__image" xmlns="http://www.w3.org/2000/svg" width="107" height="25" viewBox="0 0 107 25"><g><circle fill="#e95420" cx="100.596" cy="7.374" r="6.403"></circle><path fill="#fff" d="M96.6 6.605c-.424 0-.768.344-.768.77 0 .423.344.768.768.768.425 0 .772-.345.772-.768 0-.426-.347-.77-.772-.77zm5.494 3.498c-.365.21-.492.682-.282 1.047.214.372.685.497 1.05.284.37-.21.497-.682.282-1.05-.212-.37-.682-.495-1.05-.28zm-3.822-2.728c0-.76.378-1.434.956-1.84l-.562-.943c-.675.45-1.176 1.138-1.384 1.943.246.2.398.5.398.84 0 .337-.152.64-.398.838.208.805.71 1.492 1.384 1.94l.562-.94c-.578-.406-.956-1.08-.956-1.838zm2.246-2.25c1.177 0 2.14.902 2.24 2.052l1.098-.02c-.055-.845-.425-1.61-.994-2.165-.295.108-.634.093-.925-.078-.292-.168-.473-.452-.524-.76-.285-.078-.584-.12-.895-.12-.53 0-1.032.124-1.48.344l.535.958c.287-.135.61-.21.945-.21zm0 4.497c-.336 0-.658-.076-.945-.21l-.535.958c.447.22.95.344 1.48.344.312 0 .61-.04.895-.12.05-.31.232-.595.524-.762.294-.168.63-.186.925-.073.57-.563.938-1.324.994-2.17l-1.098-.016c-.1 1.147-1.063 2.048-2.24 2.048zm1.576-4.976c.368.213.838.088 1.05-.282.215-.367.088-.84-.28-1.052-.366-.21-.837-.085-1.05.283-.213.367-.086.838.28 1.05z"></path><path fill="#e95420" d="M12.807 24.177c-.65.162-1.51.337-2.577.518-1.068.184-2.304.276-3.704.276-1.222 0-2.247-.178-3.082-.534-.833-.355-1.503-.858-2.01-1.51-.51-.65-.875-1.418-1.098-2.3C.11 19.738 0 18.76 0 17.68V8.778h2.835v8.293c0 1.933.304 3.316.916 4.148.61.834 1.637 1.25 3.08 1.25.304 0 .62-.01.945-.032.326-.02.632-.045.914-.075.284-.03.544-.06.778-.09.234-.032.4-.065.504-.108V8.778h2.835v15.4zM19.728 9.478c.347-.222.87-.458 1.572-.7.7-.243 1.507-.367 2.424-.367 1.137 0 2.148.206 3.033.61.886.406 1.632.977 2.243 1.71.607.73 1.07 1.604 1.385 2.62.317 1.017.474 2.136.474 3.356 0 1.28-.188 2.433-.566 3.46-.377 1.026-.91 1.895-1.6 2.606-.692.714-1.524 1.26-2.502 1.647-.973.387-2.07.58-3.293.58-1.322 0-2.49-.093-3.507-.276-1.016-.183-1.85-.367-2.5-.55V1.46l2.836-.488v8.506h-.002zm0 12.684c.285.084.686.16 1.206.23.517.073 1.16.107 1.935.107 1.522 0 2.745-.505 3.658-1.51.915-1.007 1.373-2.435 1.373-4.284 0-.813-.08-1.575-.244-2.288-.163-.712-.428-1.326-.793-1.845-.366-.52-.84-.923-1.416-1.22-.582-.296-1.278-.443-2.09-.443-.774 0-1.484.133-2.135.395-.65.267-1.15.54-1.495.825v10.032zM46.684 24.177c-.65.162-1.51.337-2.576.518-1.067.184-2.303.276-3.707.276-1.218 0-2.245-.178-3.078-.534-.833-.355-1.504-.858-2.01-1.51-.512-.65-.876-1.418-1.1-2.3-.223-.887-.334-1.866-.334-2.945V8.78h2.835v8.293c0 1.933.304 3.316.914 4.148.61.834 1.636 1.25 3.08 1.25.305 0 .622-.01.947-.032.325-.02.63-.045.915-.075.283-.03.543-.06.778-.09.232-.033.4-.066.503-.11V8.78h2.836v15.4h-.002zM50.77 9.236c.65-.164 1.513-.335 2.592-.52 1.077-.18 2.316-.273 3.72-.273 1.262 0 2.307.178 3.14.533.835.356 1.5.853 1.998 1.494.498.64.85 1.408 1.053 2.3.202.898.304 1.882.304 2.96v8.904H60.74V16.34c0-.977-.066-1.81-.197-2.5-.132-.694-.35-1.25-.656-1.677-.303-.43-.712-.738-1.22-.93-.507-.197-1.14-.292-1.89-.292-.305 0-.62.013-.943.033-.326.02-.637.046-.93.076-.3.03-.56.066-.795.106-.236.04-.403.072-.504.09v13.387H50.77V9.236zM70.132 8.778h6.008v2.378h-6.008v7.32c0 .79.062 1.45.185 1.965.12.52.304.928.548 1.222.244.292.55.5.914.625.366.122.793.182 1.28.182.873 0 1.564-.097 2.075-.29.507-.194.853-.33 1.035-.413l.61 2.32c-.284.142-.788.324-1.51.547-.72.225-1.538.338-2.453.338-1.078 0-1.968-.137-2.67-.413-.7-.276-1.264-.686-1.69-1.235-.428-.548-.728-1.224-.9-2.027-.174-.805-.26-1.734-.26-2.79V4.356l2.834-.49V8.78h.002zM91.57 24.177c-.653.162-1.51.337-2.58.518-1.066.184-2.3.276-3.7.276-1.222 0-2.247-.178-3.08-.534-.837-.355-1.507-.858-2.014-1.51-.51-.65-.873-1.418-1.1-2.3-.22-.887-.335-1.866-.335-2.945V8.78h2.84v8.293c0 1.933.304 3.316.913 4.148.61.834 1.637 1.25 3.08 1.25.305 0 .62-.01.946-.032.322-.02.628-.045.913-.075.284-.03.546-.06.777-.09.234-.033.403-.066.505-.11V8.78h2.837v15.4h-.002z"></path></g></svg> |
70 | - cloud images |
71 | - </a> |
72 | - </div> |
73 | - </div> |
74 | + </style> |
75 | + </head> |
76 | + <body> |
77 | + <header class="p-navigation" id="navigation"> |
78 | + <div class="row"> |
79 | + <div class="p-navigation__banner"> |
80 | + <div class="p-navigation__logo"> |
81 | + <a class="p-navigation__link" href="http://cloud-images.ubuntu.com/"> |
82 | + <svg class="p-navigation__image" height="25" viewbox="0 0 107 25" width="107" xmlns="http://www.w3.org/2000/svg"> |
83 | + <g> |
84 | + <circle cx="100.596" cy="7.374" fill="#e95420" r="6.403"> |
85 | + </circle> |
86 | + <path d="M96.6 6.605c-.424 0-.768.344-.768.77 0 .423.344.768.768.768.425 0 .772-.345.772-.768 0-.426-.347-.77-.772-.77zm5.494 3.498c-.365.21-.492.682-.282 1.047.214.372.685.497 1.05.284.37-.21.497-.682.282-1.05-.212-.37-.682-.495-1.05-.28zm-3.822-2.728c0-.76.378-1.434.956-1.84l-.562-.943c-.675.45-1.176 1.138-1.384 1.943.246.2.398.5.398.84 0 .337-.152.64-.398.838.208.805.71 1.492 1.384 1.94l.562-.94c-.578-.406-.956-1.08-.956-1.838zm2.246-2.25c1.177 0 2.14.902 2.24 2.052l1.098-.02c-.055-.845-.425-1.61-.994-2.165-.295.108-.634.093-.925-.078-.292-.168-.473-.452-.524-.76-.285-.078-.584-.12-.895-.12-.53 0-1.032.124-1.48.344l.535.958c.287-.135.61-.21.945-.21zm0 4.497c-.336 0-.658-.076-.945-.21l-.535.958c.447.22.95.344 1.48.344.312 0 .61-.04.895-.12.05-.31.232-.595.524-.762.294-.168.63-.186.925-.073.57-.563.938-1.324.994-2.17l-1.098-.016c-.1 1.147-1.063 2.048-2.24 2.048zm1.576-4.976c.368.213.838.088 1.05-.282.215-.367.088-.84-.28-1.052-.366-.21-.837-.085-1.05.283-.213.367-.086.838.28 1.05z" fill="#fff"> |
87 | + </path> |
88 | + <path d="M12.807 24.177c-.65.162-1.51.337-2.577.518-1.068.184-2.304.276-3.704.276-1.222 0-2.247-.178-3.082-.534-.833-.355-1.503-.858-2.01-1.51-.51-.65-.875-1.418-1.098-2.3C.11 19.738 0 18.76 0 17.68V8.778h2.835v8.293c0 1.933.304 3.316.916 4.148.61.834 1.637 1.25 3.08 1.25.304 0 .62-.01.945-.032.326-.02.632-.045.914-.075.284-.03.544-.06.778-.09.234-.032.4-.065.504-.108V8.778h2.835v15.4zM19.728 9.478c.347-.222.87-.458 1.572-.7.7-.243 1.507-.367 2.424-.367 1.137 0 2.148.206 3.033.61.886.406 1.632.977 2.243 1.71.607.73 1.07 1.604 1.385 2.62.317 1.017.474 2.136.474 3.356 0 1.28-.188 2.433-.566 3.46-.377 1.026-.91 1.895-1.6 2.606-.692.714-1.524 1.26-2.502 1.647-.973.387-2.07.58-3.293.58-1.322 0-2.49-.093-3.507-.276-1.016-.183-1.85-.367-2.5-.55V1.46l2.836-.488v8.506h-.002zm0 12.684c.285.084.686.16 1.206.23.517.073 1.16.107 1.935.107 1.522 0 2.745-.505 3.658-1.51.915-1.007 1.373-2.435 1.373-4.284 0-.813-.08-1.575-.244-2.288-.163-.712-.428-1.326-.793-1.845-.366-.52-.84-.923-1.416-1.22-.582-.296-1.278-.443-2.09-.443-.774 0-1.484.133-2.135.395-.65.267-1.15.54-1.495.825v10.032zM46.684 24.177c-.65.162-1.51.337-2.576.518-1.067.184-2.303.276-3.707.276-1.218 0-2.245-.178-3.078-.534-.833-.355-1.504-.858-2.01-1.51-.512-.65-.876-1.418-1.1-2.3-.223-.887-.334-1.866-.334-2.945V8.78h2.835v8.293c0 1.933.304 3.316.914 4.148.61.834 1.636 1.25 3.08 1.25.305 0 .622-.01.947-.032.325-.02.63-.045.915-.075.283-.03.543-.06.778-.09.232-.033.4-.066.503-.11V8.78h2.836v15.4h-.002zM50.77 9.236c.65-.164 1.513-.335 2.592-.52 1.077-.18 2.316-.273 3.72-.273 1.262 0 2.307.178 3.14.533.835.356 1.5.853 1.998 1.494.498.64.85 1.408 1.053 2.3.202.898.304 1.882.304 2.96v8.904H60.74V16.34c0-.977-.066-1.81-.197-2.5-.132-.694-.35-1.25-.656-1.677-.303-.43-.712-.738-1.22-.93-.507-.197-1.14-.292-1.89-.292-.305 0-.62.013-.943.033-.326.02-.637.046-.93.076-.3.03-.56.066-.795.106-.236.04-.403.072-.504.09v13.387H50.77V9.236zM70.132 8.778h6.008v2.378h-6.008v7.32c0 .79.062 1.45.185 1.965.12.52.304.928.548 1.222.244.292.55.5.914.625.366.122.793.182 1.28.182.873 0 1.564-.097 2.075-.29.507-.194.853-.33 1.035-.413l.61 2.32c-.284.142-.788.324-1.51.547-.72.225-1.538.338-2.453.338-1.078 0-1.968-.137-2.67-.413-.7-.276-1.264-.686-1.69-1.235-.428-.548-.728-1.224-.9-2.027-.174-.805-.26-1.734-.26-2.79V4.356l2.834-.49V8.78h.002zM91.57 24.177c-.653.162-1.51.337-2.58.518-1.066.184-2.3.276-3.7.276-1.222 0-2.247-.178-3.08-.534-.837-.355-1.507-.858-2.014-1.51-.51-.65-.873-1.418-1.1-2.3-.22-.887-.335-1.866-.335-2.945V8.78h2.84v8.293c0 1.933.304 3.316.913 4.148.61.834 1.637 1.25 3.08 1.25.305 0 .62-.01.946-.032.322-.02.628-.045.913-.075.284-.03.546-.06.777-.09.234-.033.403-.066.505-.11V8.78h2.837v15.4h-.002z" fill="#e95420"> |
89 | + </path> |
90 | + </g> |
91 | + </svg> |
92 | + cloud images |
93 | + </a> |
94 | + </div> |
95 | + </div> |
96 | + </div> |
97 | + </header> |
98 | + <main class="main-content"> |
99 | + <section class="p-strip--light is-bordered"> |
100 | + <div class="row"> |
101 | + <div class="col-8"> |
102 | + <h1 style="font-weight: 100"> |
103 | + Ubuntu on Amazon Elastic Kubernetes Service (EKS) |
104 | + </h1> |
105 | + <p> |
106 | + Canonical and Amazon work together to make Ubuntu worker nodes available for Amazon’s Elastic Kubernetes Services (EKS). This fully-managed service makes it easy to use Kubernetes on AWS, without being an expert in managing Kubernetes clusters. |
107 | + </p> |
108 | + <p> |
109 | + These images are customised specifically for the EKS service, and are not intended as general OS images. To deploy an EKS cluster, follow the |
110 | + <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html"> |
111 | + EKS user guide |
112 | + </a> |
113 | + . |
114 | + </p> |
115 | + </div> |
116 | + </div> |
117 | + </section> |
118 | + <section class="p-strip is-bordered"> |
119 | + <div class="row"> |
120 | + <div class="col-12"> |
121 | + <h3 class="p-card__title"> |
122 | + Latest changes |
123 | + </h3> |
124 | + <dl class="p-card__content"> |
125 | + <dt> |
126 | + 20190730 |
127 | + </dt> |
128 | + <dd> |
129 | + Remove 1.10 images as part of Kubernetes 1.10 deprecation |
130 | + </dd> |
131 | + </dl> |
132 | + <div aria-multiselect="true" class="p-accordion" role="tablist"> |
133 | + <ul class="p-accordion__list u-no-margin--bottom"> |
134 | + <li class="p-accordion__group"> |
135 | + <button aria-controls="#tab1-section" aria-expanded="false" class="p-accordion__tab p-heading--four" id="tab1" role="tab" type="button"> |
136 | + Previous changes |
137 | + <i class="p-icon--contextual-menu"> |
138 | + </i> |
139 | + </button> |
140 | + <section aria-hidden="true" aria-labelledby="tab1-section" class="p-accordion__panel" id="tab1-section" role="tabpanel"> |
141 | + <dl> |
142 | + <dt> |
143 | + 20190628 |
144 | + </dt> |
145 | + <dd> |
146 | + Address remote denial of service (resource exhaustion) caused by TCP SACK scoreboard manipulation |
147 | + <a href="https://launchpad.net/bugs/1831638"> |
148 | + LP: #1831638 |
149 | + </a> |
150 | + </dd> |
151 | + <dt> |
152 | + 20190619 |
153 | + </dt> |
154 | + <dd> |
155 | + Address CVE-2019-11477 and CVE-2019-11478 CVEs collectively known as SACK Panic. Add EKS AMI IDs for Kubernetes 1.12 |
156 | + </dd> |
157 | + <dt> |
158 | + 20190514 |
159 | + </dt> |
160 | + <dd> |
161 | + Kernel updates to mitigate Michroarchitectural Data Sampling, 1.10 and 1.11 |
162 | + </dd> |
163 | + <dt> |
164 | + 20190430 |
165 | + </dt> |
166 | + <dd> |
167 | + Add EKS AMI IDs for Kubernetes 1.11 |
168 | + </dd> |
169 | + <dt> |
170 | + 20190418 |
171 | + </dt> |
172 | + <dd> |
173 | + Ensure snaps do not auto-refresh |
174 | + </dd> |
175 | + <dt> |
176 | + 20190212 |
177 | + </dt> |
178 | + <dd> |
179 | + Address snapd vulnerability |
180 | + <a href="https://usn.ubuntu.com/3887-1/"> |
181 | + CVE-2019-7304 |
182 | + </a> |
183 | + </dd> |
184 | + <dt> |
185 | + 20190207 |
186 | + </dt> |
187 | + <dd> |
188 | + Address runc container breakout vulnerability |
189 | + <a href="https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-5736.html"> |
190 | + CVE-2019-5736 |
191 | + </a> |
192 | + </dd> |
193 | + </dl> |
194 | + </section> |
195 | + </li> |
196 | + </ul> |
197 | </div> |
198 | - </header> |
199 | - |
200 | - <main class="main-content"> |
201 | - <section class="p-strip--light is-bordered"> |
202 | - <div class="row"> |
203 | - <div class="col-8"> |
204 | - <h1 style="font-weight: 100">Ubuntu on Amazon Elastic Kubernetes Service (EKS)</h1> |
205 | - <p>Canonical and Amazon work together to make Ubuntu worker nodes available for Amazon’s Elastic Kubernetes Services (EKS). This fully-managed service makes it easy to use Kubernetes on AWS, without being an expert in managing Kubernetes clusters.</p> |
206 | - |
207 | - <p>These images are customised specifically for the EKS service, and are not intended as general OS images. To deploy an EKS cluster, follow the <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html">EKS user guide</a>.</p> |
208 | - </div> |
209 | - </div> |
210 | - </section> |
211 | - |
212 | - <section class="p-strip is-bordered"> |
213 | - <div class="row"> |
214 | - <div class="col-12"> |
215 | - <h3 class="p-card__title">Latest changes</h3> |
216 | - |
217 | - <dl class="p-card__content"> |
218 | - <dt>20190730</dt> |
219 | - <dd>Remove 1.10 images as part of Kubernetes 1.10 deprecation</dd> |
220 | - </dl> |
221 | - |
222 | - <div class="p-accordion" role="tablist" aria-multiselect="true"> |
223 | - <ul class="p-accordion__list u-no-margin--bottom"> |
224 | - <li class="p-accordion__group"> |
225 | - <button type="button" class="p-accordion__tab p-heading--four" id="tab1" role="tab" aria-controls="#tab1-section" aria-expanded="false">Previous changes<i class="p-icon--contextual-menu"></i></button> |
226 | - |
227 | - <section class="p-accordion__panel" id="tab1-section" role="tabpanel" aria-hidden="true" aria-labelledby="tab1-section"> |
228 | - <dl> |
229 | - <dt>20190628</dt> |
230 | - <dd>Address remote denial of service (resource exhaustion) caused by TCP SACK scoreboard manipulation <a href="https://launchpad.net/bugs/1831638">LP: #1831638</a></dd> |
231 | - <dt>20190619</dt> |
232 | - <dd>Address CVE-2019-11477 and CVE-2019-11478 CVEs collectively known as SACK Panic. Add EKS AMI IDs for Kubernetes 1.12</dd> |
233 | - <dt>20190514</dt> |
234 | - <dd>Kernel updates to mitigate Michroarchitectural Data Sampling, 1.10 and 1.11</dd> |
235 | - <dt>20190430</dt> |
236 | - <dd>Add EKS AMI IDs for Kubernetes 1.11</dd> |
237 | - <dt>20190418</dt> |
238 | - <dd>Ensure snaps do not auto-refresh</dd> |
239 | - <dt>20190212</dt> |
240 | - <dd>Address snapd vulnerability <a href="https://usn.ubuntu.com/3887-1/">CVE-2019-7304</a></dd> |
241 | - <dt>20190207</dt> |
242 | - <dd>Address runc container breakout vulnerability <a href="https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-5736.html">CVE-2019-5736</a></dd> |
243 | - </dl> |
244 | - </section> |
245 | - </li> |
246 | - </ul> |
247 | - </div> |
248 | - </div> |
249 | - </div> |
250 | - </section> |
251 | - |
252 | - <section class="p-strip--light is-shallow u-no-padding--bottom"> |
253 | - <div class="row"> |
254 | - <div class="col-12"> |
255 | - <h3 class="p-heading--five u-no-margin--bottom">Show worker node images for: Kubernetes |
256 | - <ul class="p-inline-list" data-js="tablist" role="tablist"> |
257 | - <li class="p-inline-list__item p-tab-selector" id="tab1" role="tab" aria-controls="#kubernetes-1-12" aria-selected="true">1.12</li> |
258 | - <li class="p-inline-list__item p-tab-selector" id="tab2" role="tab" aria-controls="#kubernetes-1-11" aria-selected="false">1.11</li> |
259 | - </ul> |
260 | - </h3> |
261 | - </div> |
262 | - </div> |
263 | - </section> |
264 | - |
265 | - <div class="p-tab" role="tabpanel" aria-labelledby="tab1" id="kubernetes-1-12" aria-hidden="false"> |
266 | - <section class="p-strip--light is-shallow"> |
267 | - <div class="row"> |
268 | - <div class="col-12"> |
269 | - <p class="p-heading--five">Date:</p> |
270 | - |
271 | - <table> |
272 | - <thead> |
273 | - <tr> |
274 | - <th>Region</th> |
275 | - <th>Use this or later image</th> |
276 | - </tr> |
277 | - </thead> |
278 | - |
279 | - <tbody> |
280 | - <tr> |
281 | - <td>Asia Pacific (Hong Kong) (ap-east-1)</td> |
282 | - <td> |
283 | - <div class="p-code-copyable"> |
284 | - <a href="https://ap-east-1.console.aws.amazon.com/ec2/v2/home?region=ap-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-68631819</a> |
285 | - <input hidden class="p-code-copyable__input" value="ami-68631819" readonly="readonly"> |
286 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
287 | - </div> |
288 | - </td> |
289 | - </tr> |
290 | - <tr> |
291 | - <td>Asia Pacific (Tokyo) (ap-northeast-1)</td> |
292 | - <td> |
293 | - <div class="p-code-copyable"> |
294 | - <a href="https://ap-northeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-00d8bd06833bd20ae</a> |
295 | - <input hidden class="p-code-copyable__input" value="ami-00d8bd06833bd20ae" readonly="readonly"> |
296 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
297 | - </div> |
298 | - </td> |
299 | - </tr> |
300 | - <tr> |
301 | - <td>Asia Pacific (Seoul) (ap-northeast-2)</td> |
302 | - <td> |
303 | - <div class="p-code-copyable"> |
304 | - <a href="https://ap-northeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-01e7ab7cbd7f13972</a> |
305 | - <input hidden class="p-code-copyable__input" value="ami-01e7ab7cbd7f13972" readonly="readonly"> |
306 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
307 | - </div> |
308 | - </td> |
309 | - </tr> |
310 | - <tr> |
311 | - <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td> |
312 | - <td> |
313 | - <div class="p-code-copyable"> |
314 | - <a href="https://ap-northeast-3.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-07d2fb7e6dea4472f</a> |
315 | - <input hidden class="p-code-copyable__input" value="ami-07d2fb7e6dea4472f" readonly="readonly"> |
316 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
317 | - </div> |
318 | - </td> |
319 | - </tr> |
320 | - <tr> |
321 | - <td>Asia Pacific (Mumbai) (ap-south-1)</td> |
322 | - <td> |
323 | - <div class="p-code-copyable"> |
324 | - <a href="https://ap-south-1.console.aws.amazon.com/ec2/v2/home?region=ap-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-0618730e80e790739</a> |
325 | - <input hidden class="p-code-copyable__input" value="ami-0618730e80e790739" readonly="readonly"> |
326 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
327 | - </div> |
328 | - </td> |
329 | - </tr> |
330 | - <tr> |
331 | - <td>Asia Pacific (Singapore) (ap-southeast-1)</td> |
332 | - <td> |
333 | - <div class="p-code-copyable"> |
334 | - <a href="https://ap-southeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-01168bce413d4be53</a> |
335 | - <input hidden class="p-code-copyable__input" value="ami-01168bce413d4be53" readonly="readonly"> |
336 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
337 | - </div> |
338 | - </td> |
339 | - </tr> |
340 | - <tr> |
341 | - <td>Asia Pacific (Sydney) (ap-southeast-2)</td> |
342 | - <td> |
343 | - <div class="p-code-copyable"> |
344 | - <a href="https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-04377a3c7e37becb8</a> |
345 | - <input hidden class="p-code-copyable__input" value="ami-04377a3c7e37becb8" readonly="readonly"> |
346 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
347 | - </div> |
348 | - </td> |
349 | - </tr> |
350 | - <tr> |
351 | - <td>Canada (Central) (ca-central-1)</td> |
352 | - <td> |
353 | - <div class="p-code-copyable"> |
354 | - <a href="https://ca-central-1.console.aws.amazon.com/ec2/v2/home?region=ca-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-00190abe0098ffd4b</a> |
355 | - <input hidden class="p-code-copyable__input" value="ami-00190abe0098ffd4b" readonly="readonly"> |
356 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
357 | - </div> |
358 | - </td> |
359 | - </tr> |
360 | - <tr> |
361 | - <td>EU (Frankfurt) (eu-central-1)</td> |
362 | - <td> |
363 | - <div class="p-code-copyable"> |
364 | - <a href="https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-00a91197f921a229e</a> |
365 | - <input hidden class="p-code-copyable__input" value="ami-00a91197f921a229e" readonly="readonly"> |
366 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
367 | - </div> |
368 | - </td> |
369 | - </tr> |
370 | - <tr> |
371 | - <td>EU (Stockholm) (eu-north-1)</td> |
372 | - <td> |
373 | - <div class="p-code-copyable"> |
374 | - <a href="https://eu-north-1.console.aws.amazon.com/ec2/v2/home?region=eu-north-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-77d45f09</a> |
375 | - <input hidden class="p-code-copyable__input" value="ami-77d45f09" readonly="readonly"> |
376 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
377 | - </div> |
378 | - </td> |
379 | - </tr> |
380 | - <tr> |
381 | - <td>EU (Ireland) (eu-west-1)</td> |
382 | - <td> |
383 | - <div class="p-code-copyable"> |
384 | - <a href="https://eu-west-1.console.aws.amazon.com/ec2/v2/home?region=eu-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-07b83013f6e5cedf6</a> |
385 | - <input hidden class="p-code-copyable__input" value="ami-07b83013f6e5cedf6" readonly="readonly"> |
386 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
387 | - </div> |
388 | - </td> |
389 | - </tr> |
390 | - <tr> |
391 | - <td>EU (London) (eu-west-2)</td> |
392 | - <td> |
393 | - <div class="p-code-copyable"> |
394 | - <a href="https://eu-west-2.console.aws.amazon.com/ec2/v2/home?region=eu-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-0d0f4fcdc5039b796</a> |
395 | - <input hidden class="p-code-copyable__input" value="ami-0d0f4fcdc5039b796" readonly="readonly"> |
396 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
397 | - </div> |
398 | - </td> |
399 | - </tr> |
400 | - <tr> |
401 | - <td>EU (Paris) (eu-west-3)</td> |
402 | - <td> |
403 | - <div class="p-code-copyable"> |
404 | - <a href="https://eu-west-3.console.aws.amazon.com/ec2/v2/home?region=eu-west-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-09d0adc6c9e510dea</a> |
405 | - <input hidden class="p-code-copyable__input" value="ami-09d0adc6c9e510dea" readonly="readonly"> |
406 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
407 | - </div> |
408 | - </td> |
409 | - </tr> |
410 | - <tr> |
411 | - <td>South America (São Paulo) (sa-east-1)</td> |
412 | - <td> |
413 | - <div class="p-code-copyable"> |
414 | - <a href="https://sa-east-1.console.aws.amazon.com/ec2/v2/home?region=sa-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-024f401a421c1ae44</a> |
415 | - <input hidden class="p-code-copyable__input" value="ami-024f401a421c1ae44" readonly="readonly"> |
416 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
417 | - </div> |
418 | - </td> |
419 | - </tr> |
420 | - <tr> |
421 | - <td>US East (Virginia) (us-east-1)</td> |
422 | - <td> |
423 | - <div class="p-code-copyable"> |
424 | - <a href="https://us-east-1.console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-0629da185ca8e4e42</a> |
425 | - <input hidden class="p-code-copyable__input" value="ami-0629da185ca8e4e42" readonly="readonly"> |
426 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
427 | - </div> |
428 | - </td> |
429 | - </tr> |
430 | - <tr> |
431 | - <td>US East (Ohio) (us-east-2)</td> |
432 | - <td> |
433 | - <div class="p-code-copyable"> |
434 | - <a href="https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-0c0e2af39a486901a</a> |
435 | - <input hidden class="p-code-copyable__input" value="ami-0c0e2af39a486901a" readonly="readonly"> |
436 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
437 | - </div> |
438 | - </td> |
439 | - </tr> |
440 | - <tr> |
441 | - <td>US West (N. California) (us-west-1)</td> |
442 | - <td> |
443 | - <div class="p-code-copyable"> |
444 | - <a href="https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-023deb704351374bf</a> |
445 | - <input hidden class="p-code-copyable__input" value="ami-023deb704351374bf" readonly="readonly"> |
446 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
447 | - </div> |
448 | - </td> |
449 | - </tr> |
450 | - <tr> |
451 | - <td>US West (Oregon) (us-west-2)</td> |
452 | - <td> |
453 | - <div class="p-code-copyable"> |
454 | - <a href="https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name">ami-07d8b42a5f4c623f1</a> |
455 | - <input hidden class="p-code-copyable__input" value="ami-07d8b42a5f4c623f1" readonly="readonly"> |
456 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
457 | - </div> |
458 | - </td> |
459 | - </tr> |
460 | - </tbody> |
461 | - </table> |
462 | - </div> |
463 | - </div> |
464 | - </section> |
465 | - |
466 | - <section class="p-strip--light is-bordered is-shallow"> |
467 | - <div class="row"> |
468 | - <div class="col-12"> |
469 | - <h3 class="p-card__title">Kubernetes 1.12</h3> |
470 | - <p>The latest Ubuntu worker node AMIs for Kubernetes 1.12 (N.B. EKS may not be available in some of these regions, check the <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/">list of current EKS regions</a>):</p> |
471 | - <p><b>Important:</b> EKS images that support Kubernetes 1.12 use the default <a href="https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2019-02-11/amazon-eks-nodegroup.yaml">amazon-eks-nodegroup.yaml</a>, as specified in the <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html">AWS EKS user guide</a>.</p> |
472 | - |
473 | - <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p> |
474 | - </div> |
475 | - </div> |
476 | - </section> |
477 | + </div> |
478 | + </div> |
479 | + </section> |
480 | + <section class="p-strip--light is-shallow u-no-padding--bottom"> |
481 | + <div class="row"> |
482 | + <div class="col-12"> |
483 | + <h3 class="p-heading--five u-no-margin--bottom"> |
484 | + Show worker node images for: Kubernetes |
485 | + <ul class="p-inline-list" data-js="tablist" role="tablist"> |
486 | + <li aria-controls="#kubernetes-1-12" aria-selected="true" class="p-inline-list__item p-tab-selector" id="tab1" role="tab"> |
487 | + 1.12 |
488 | + </li> |
489 | + <li aria-controls="#kubernetes-1-11" aria-selected="false" class="p-inline-list__item p-tab-selector" id="tab2" role="tab"> |
490 | + 1.11 |
491 | + </li> |
492 | + </ul> |
493 | + </h3> |
494 | + </div> |
495 | + </div> |
496 | + </section> |
497 | + <div aria-hidden="false" aria-labelledby="tab1" class="p-tab" id="kubernetes-1-12" role="tabpanel"> |
498 | + <section class="p-strip--light is-shallow"> |
499 | + <div class="row"> |
500 | + <div class="col-12"> |
501 | + <p class="p-heading--five"> |
502 | + Date: |
503 | + </p> |
504 | + <table> |
505 | + <thead> |
506 | + <tr> |
507 | + <th> |
508 | + Region |
509 | + </th> |
510 | + <th> |
511 | + Use this or later image |
512 | + </th> |
513 | + </tr> |
514 | + </thead> |
515 | + <tbody> |
516 | + <tr> |
517 | + <td> |
518 | + Asia Pacific (Hong Kong) (ap-east-1) |
519 | + </td> |
520 | + <td> |
521 | + <div class="p-code-copyable"> |
522 | + <a href="https://ap-east-1.console.aws.amazon.com/ec2/v2/home?region=ap-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
523 | + ami-68631819 |
524 | + </a> |
525 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-68631819"/> |
526 | + <button class="p-code-copyable__action"> |
527 | + Copy to clipboard |
528 | + </button> |
529 | + </div> |
530 | + </td> |
531 | + </tr> |
532 | + <tr> |
533 | + <td> |
534 | + Asia Pacific (Tokyo) (ap-northeast-1) |
535 | + </td> |
536 | + <td> |
537 | + <div class="p-code-copyable"> |
538 | + <a href="https://ap-northeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
539 | + ami-00d8bd06833bd20ae |
540 | + </a> |
541 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-00d8bd06833bd20ae"/> |
542 | + <button class="p-code-copyable__action"> |
543 | + Copy to clipboard |
544 | + </button> |
545 | + </div> |
546 | + </td> |
547 | + </tr> |
548 | + <tr> |
549 | + <td> |
550 | + Asia Pacific (Seoul) (ap-northeast-2) |
551 | + </td> |
552 | + <td> |
553 | + <div class="p-code-copyable"> |
554 | + <a href="https://ap-northeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
555 | + ami-01e7ab7cbd7f13972 |
556 | + </a> |
557 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-01e7ab7cbd7f13972"/> |
558 | + <button class="p-code-copyable__action"> |
559 | + Copy to clipboard |
560 | + </button> |
561 | + </div> |
562 | + </td> |
563 | + </tr> |
564 | + <tr> |
565 | + <td> |
566 | + Asia Pacific (Osaka-Local) (ap-northeast-3) |
567 | + </td> |
568 | + <td> |
569 | + <div class="p-code-copyable"> |
570 | + <a href="https://ap-northeast-3.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
571 | + ami-07d2fb7e6dea4472f |
572 | + </a> |
573 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-07d2fb7e6dea4472f"/> |
574 | + <button class="p-code-copyable__action"> |
575 | + Copy to clipboard |
576 | + </button> |
577 | + </div> |
578 | + </td> |
579 | + </tr> |
580 | + <tr> |
581 | + <td> |
582 | + Asia Pacific (Mumbai) (ap-south-1) |
583 | + </td> |
584 | + <td> |
585 | + <div class="p-code-copyable"> |
586 | + <a href="https://ap-south-1.console.aws.amazon.com/ec2/v2/home?region=ap-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
587 | + ami-0618730e80e790739 |
588 | + </a> |
589 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0618730e80e790739"/> |
590 | + <button class="p-code-copyable__action"> |
591 | + Copy to clipboard |
592 | + </button> |
593 | + </div> |
594 | + </td> |
595 | + </tr> |
596 | + <tr> |
597 | + <td> |
598 | + Asia Pacific (Singapore) (ap-southeast-1) |
599 | + </td> |
600 | + <td> |
601 | + <div class="p-code-copyable"> |
602 | + <a href="https://ap-southeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
603 | + ami-01168bce413d4be53 |
604 | + </a> |
605 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-01168bce413d4be53"/> |
606 | + <button class="p-code-copyable__action"> |
607 | + Copy to clipboard |
608 | + </button> |
609 | + </div> |
610 | + </td> |
611 | + </tr> |
612 | + <tr> |
613 | + <td> |
614 | + Asia Pacific (Sydney) (ap-southeast-2) |
615 | + </td> |
616 | + <td> |
617 | + <div class="p-code-copyable"> |
618 | + <a href="https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
619 | + ami-04377a3c7e37becb8 |
620 | + </a> |
621 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-04377a3c7e37becb8"/> |
622 | + <button class="p-code-copyable__action"> |
623 | + Copy to clipboard |
624 | + </button> |
625 | + </div> |
626 | + </td> |
627 | + </tr> |
628 | + <tr> |
629 | + <td> |
630 | + Canada (Central) (ca-central-1) |
631 | + </td> |
632 | + <td> |
633 | + <div class="p-code-copyable"> |
634 | + <a href="https://ca-central-1.console.aws.amazon.com/ec2/v2/home?region=ca-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
635 | + ami-00190abe0098ffd4b |
636 | + </a> |
637 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-00190abe0098ffd4b"/> |
638 | + <button class="p-code-copyable__action"> |
639 | + Copy to clipboard |
640 | + </button> |
641 | + </div> |
642 | + </td> |
643 | + </tr> |
644 | + <tr> |
645 | + <td> |
646 | + EU (Frankfurt) (eu-central-1) |
647 | + </td> |
648 | + <td> |
649 | + <div class="p-code-copyable"> |
650 | + <a href="https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
651 | + ami-00a91197f921a229e |
652 | + </a> |
653 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-00a91197f921a229e"/> |
654 | + <button class="p-code-copyable__action"> |
655 | + Copy to clipboard |
656 | + </button> |
657 | + </div> |
658 | + </td> |
659 | + </tr> |
660 | + <tr> |
661 | + <td> |
662 | + EU (Stockholm) (eu-north-1) |
663 | + </td> |
664 | + <td> |
665 | + <div class="p-code-copyable"> |
666 | + <a href="https://eu-north-1.console.aws.amazon.com/ec2/v2/home?region=eu-north-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
667 | + ami-77d45f09 |
668 | + </a> |
669 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-77d45f09"/> |
670 | + <button class="p-code-copyable__action"> |
671 | + Copy to clipboard |
672 | + </button> |
673 | + </div> |
674 | + </td> |
675 | + </tr> |
676 | + <tr> |
677 | + <td> |
678 | + EU (Ireland) (eu-west-1) |
679 | + </td> |
680 | + <td> |
681 | + <div class="p-code-copyable"> |
682 | + <a href="https://eu-west-1.console.aws.amazon.com/ec2/v2/home?region=eu-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
683 | + ami-07b83013f6e5cedf6 |
684 | + </a> |
685 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-07b83013f6e5cedf6"/> |
686 | + <button class="p-code-copyable__action"> |
687 | + Copy to clipboard |
688 | + </button> |
689 | + </div> |
690 | + </td> |
691 | + </tr> |
692 | + <tr> |
693 | + <td> |
694 | + EU (London) (eu-west-2) |
695 | + </td> |
696 | + <td> |
697 | + <div class="p-code-copyable"> |
698 | + <a href="https://eu-west-2.console.aws.amazon.com/ec2/v2/home?region=eu-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
699 | + ami-0d0f4fcdc5039b796 |
700 | + </a> |
701 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0d0f4fcdc5039b796"/> |
702 | + <button class="p-code-copyable__action"> |
703 | + Copy to clipboard |
704 | + </button> |
705 | + </div> |
706 | + </td> |
707 | + </tr> |
708 | + <tr> |
709 | + <td> |
710 | + EU (Paris) (eu-west-3) |
711 | + </td> |
712 | + <td> |
713 | + <div class="p-code-copyable"> |
714 | + <a href="https://eu-west-3.console.aws.amazon.com/ec2/v2/home?region=eu-west-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
715 | + ami-09d0adc6c9e510dea |
716 | + </a> |
717 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-09d0adc6c9e510dea"/> |
718 | + <button class="p-code-copyable__action"> |
719 | + Copy to clipboard |
720 | + </button> |
721 | + </div> |
722 | + </td> |
723 | + </tr> |
724 | + <tr> |
725 | + <td> |
726 | + Middle East (Bahrain) (me-south-1) |
727 | + </td> |
728 | + <td> |
729 | + <div class="p-code-copyable"> |
730 | + <a href="https://me-south-1.console.aws.amazon.com/ec2/v2/home?region=me-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
731 | + None |
732 | + </a> |
733 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="None"/> |
734 | + <button class="p-code-copyable__action"> |
735 | + Copy to clipboard |
736 | + </button> |
737 | + </div> |
738 | + </td> |
739 | + </tr> |
740 | + <tr> |
741 | + <td> |
742 | + South America (São Paulo) (sa-east-1) |
743 | + </td> |
744 | + <td> |
745 | + <div class="p-code-copyable"> |
746 | + <a href="https://sa-east-1.console.aws.amazon.com/ec2/v2/home?region=sa-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
747 | + ami-024f401a421c1ae44 |
748 | + </a> |
749 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-024f401a421c1ae44"/> |
750 | + <button class="p-code-copyable__action"> |
751 | + Copy to clipboard |
752 | + </button> |
753 | + </div> |
754 | + </td> |
755 | + </tr> |
756 | + <tr> |
757 | + <td> |
758 | + US East (Virginia) (us-east-1) |
759 | + </td> |
760 | + <td> |
761 | + <div class="p-code-copyable"> |
762 | + <a href="https://us-east-1.console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
763 | + ami-0629da185ca8e4e42 |
764 | + </a> |
765 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0629da185ca8e4e42"/> |
766 | + <button class="p-code-copyable__action"> |
767 | + Copy to clipboard |
768 | + </button> |
769 | + </div> |
770 | + </td> |
771 | + </tr> |
772 | + <tr> |
773 | + <td> |
774 | + US East (Ohio) (us-east-2) |
775 | + </td> |
776 | + <td> |
777 | + <div class="p-code-copyable"> |
778 | + <a href="https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
779 | + ami-0c0e2af39a486901a |
780 | + </a> |
781 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0c0e2af39a486901a"/> |
782 | + <button class="p-code-copyable__action"> |
783 | + Copy to clipboard |
784 | + </button> |
785 | + </div> |
786 | + </td> |
787 | + </tr> |
788 | + <tr> |
789 | + <td> |
790 | + US West (N. California) (us-west-1) |
791 | + </td> |
792 | + <td> |
793 | + <div class="p-code-copyable"> |
794 | + <a href="https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
795 | + ami-023deb704351374bf |
796 | + </a> |
797 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-023deb704351374bf"/> |
798 | + <button class="p-code-copyable__action"> |
799 | + Copy to clipboard |
800 | + </button> |
801 | + </div> |
802 | + </td> |
803 | + </tr> |
804 | + <tr> |
805 | + <td> |
806 | + US West (Oregon) (us-west-2) |
807 | + </td> |
808 | + <td> |
809 | + <div class="p-code-copyable"> |
810 | + <a href="https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.12/images/*;ownerAlias=099720109477;sort=desc:name"> |
811 | + ami-07d8b42a5f4c623f1 |
812 | + </a> |
813 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-07d8b42a5f4c623f1"/> |
814 | + <button class="p-code-copyable__action"> |
815 | + Copy to clipboard |
816 | + </button> |
817 | + </div> |
818 | + </td> |
819 | + </tr> |
820 | + </tbody> |
821 | + </table> |
822 | </div> |
823 | - |
824 | - <div class="p-tab" role="tabpanel" aria-labelledby="tab2" id="kubernetes-1-11" aria-hidden="true"> |
825 | - <section class="p-strip--light is-shallow"> |
826 | - <div class="row"> |
827 | - <div class="col-12"> |
828 | - <p class="p-heading--five">Date:</p> |
829 | - |
830 | - <table> |
831 | - <thead> |
832 | - <tr> |
833 | - <th>Region</th> |
834 | - <th>Use this or later image</th> |
835 | - </tr> |
836 | - </thead> |
837 | - |
838 | - <tbody> |
839 | - <tr> |
840 | - <td>Asia Pacific (Hong Kong) (ap-east-1)</td> |
841 | - <td> |
842 | - <div class="p-code-copyable"> |
843 | - <a href="https://ap-east-1.console.aws.amazon.com/ec2/v2/home?region=ap-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-eb63189a</a> |
844 | - <input hidden class="p-code-copyable__input" value="ami-eb63189a" readonly="readonly"> |
845 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
846 | - </div> |
847 | - </td> |
848 | - </tr> |
849 | - <tr> |
850 | - <td>Asia Pacific (Tokyo) (ap-northeast-1)</td> |
851 | - <td> |
852 | - <div class="p-code-copyable"> |
853 | - <a href="https://ap-northeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-002fd7cb71635b4b3</a> |
854 | - <input hidden class="p-code-copyable__input" value="ami-002fd7cb71635b4b3" readonly="readonly"> |
855 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
856 | - </div> |
857 | - </td> |
858 | - </tr> |
859 | - <tr> |
860 | - <td>Asia Pacific (Seoul) (ap-northeast-2)</td> |
861 | - <td> |
862 | - <div class="p-code-copyable"> |
863 | - <a href="https://ap-northeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-03f64f65bb79fa67f</a> |
864 | - <input hidden class="p-code-copyable__input" value="ami-03f64f65bb79fa67f" readonly="readonly"> |
865 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
866 | - </div> |
867 | - </td> |
868 | - </tr> |
869 | - <tr> |
870 | - <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td> |
871 | - <td> |
872 | - <div class="p-code-copyable"> |
873 | - <a href="https://ap-northeast-3.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-083a64972f86bf4ba</a> |
874 | - <input hidden class="p-code-copyable__input" value="ami-083a64972f86bf4ba" readonly="readonly"> |
875 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
876 | - </div> |
877 | - </td> |
878 | - </tr> |
879 | - <tr> |
880 | - <td>Asia Pacific (Mumbai) (ap-south-1)</td> |
881 | - <td> |
882 | - <div class="p-code-copyable"> |
883 | - <a href="https://ap-south-1.console.aws.amazon.com/ec2/v2/home?region=ap-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-09b07ab6bdd6c6433</a> |
884 | - <input hidden class="p-code-copyable__input" value="ami-09b07ab6bdd6c6433" readonly="readonly"> |
885 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
886 | - </div> |
887 | - </td> |
888 | - </tr> |
889 | - <tr> |
890 | - <td>Asia Pacific (Singapore) (ap-southeast-1)</td> |
891 | - <td> |
892 | - <div class="p-code-copyable"> |
893 | - <a href="https://ap-southeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-07b5e146fef893830</a> |
894 | - <input hidden class="p-code-copyable__input" value="ami-07b5e146fef893830" readonly="readonly"> |
895 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
896 | - </div> |
897 | - </td> |
898 | - </tr> |
899 | - <tr> |
900 | - <td>Asia Pacific (Sydney) (ap-southeast-2)</td> |
901 | - <td> |
902 | - <div class="p-code-copyable"> |
903 | - <a href="https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-015afe45bd3518c35</a> |
904 | - <input hidden class="p-code-copyable__input" value="ami-015afe45bd3518c35" readonly="readonly"> |
905 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
906 | - </div> |
907 | - </td> |
908 | - </tr> |
909 | - <tr> |
910 | - <td>Canada (Central) (ca-central-1)</td> |
911 | - <td> |
912 | - <div class="p-code-copyable"> |
913 | - <a href="https://ca-central-1.console.aws.amazon.com/ec2/v2/home?region=ca-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-0c3f9daa982dfbbfa</a> |
914 | - <input hidden class="p-code-copyable__input" value="ami-0c3f9daa982dfbbfa" readonly="readonly"> |
915 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
916 | - </div> |
917 | - </td> |
918 | - </tr> |
919 | - <tr> |
920 | - <td>EU (Frankfurt) (eu-central-1)</td> |
921 | - <td> |
922 | - <div class="p-code-copyable"> |
923 | - <a href="https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-039f9b464fd1b7532</a> |
924 | - <input hidden class="p-code-copyable__input" value="ami-039f9b464fd1b7532" readonly="readonly"> |
925 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
926 | - </div> |
927 | - </td> |
928 | - </tr> |
929 | - <tr> |
930 | - <td>EU (Stockholm) (eu-north-1)</td> |
931 | - <td> |
932 | - <div class="p-code-copyable"> |
933 | - <a href="https://eu-north-1.console.aws.amazon.com/ec2/v2/home?region=eu-north-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-acd55ed2</a> |
934 | - <input hidden class="p-code-copyable__input" value="ami-acd55ed2" readonly="readonly"> |
935 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
936 | - </div> |
937 | - </td> |
938 | - </tr> |
939 | - <tr> |
940 | - <td>EU (Ireland) (eu-west-1)</td> |
941 | - <td> |
942 | - <div class="p-code-copyable"> |
943 | - <a href="https://eu-west-1.console.aws.amazon.com/ec2/v2/home?region=eu-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-045925f6a7401587b</a> |
944 | - <input hidden class="p-code-copyable__input" value="ami-045925f6a7401587b" readonly="readonly"> |
945 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
946 | - </div> |
947 | - </td> |
948 | - </tr> |
949 | - <tr> |
950 | - <td>EU (London) (eu-west-2)</td> |
951 | - <td> |
952 | - <div class="p-code-copyable"> |
953 | - <a href="https://eu-west-2.console.aws.amazon.com/ec2/v2/home?region=eu-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-08d6206948ba39d9e</a> |
954 | - <input hidden class="p-code-copyable__input" value="ami-08d6206948ba39d9e" readonly="readonly"> |
955 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
956 | - </div> |
957 | - </td> |
958 | - </tr> |
959 | - <tr> |
960 | - <td>EU (Paris) (eu-west-3)</td> |
961 | - <td> |
962 | - <div class="p-code-copyable"> |
963 | - <a href="https://eu-west-3.console.aws.amazon.com/ec2/v2/home?region=eu-west-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-040aefd5787d9c2e2</a> |
964 | - <input hidden class="p-code-copyable__input" value="ami-040aefd5787d9c2e2" readonly="readonly"> |
965 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
966 | - </div> |
967 | - </td> |
968 | - </tr> |
969 | - <tr> |
970 | - <td>South America (São Paulo) (sa-east-1)</td> |
971 | - <td> |
972 | - <div class="p-code-copyable"> |
973 | - <a href="https://sa-east-1.console.aws.amazon.com/ec2/v2/home?region=sa-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-04b9d1caa033606e3</a> |
974 | - <input hidden class="p-code-copyable__input" value="ami-04b9d1caa033606e3" readonly="readonly"> |
975 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
976 | - </div> |
977 | - </td> |
978 | - </tr> |
979 | - <tr> |
980 | - <td>US East (Virginia) (us-east-1)</td> |
981 | - <td> |
982 | - <div class="p-code-copyable"> |
983 | - <a href="https://us-east-1.console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-081b49b6a7837a01b</a> |
984 | - <input hidden class="p-code-copyable__input" value="ami-081b49b6a7837a01b" readonly="readonly"> |
985 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
986 | - </div> |
987 | - </td> |
988 | - </tr> |
989 | - <tr> |
990 | - <td>US East (Ohio) (us-east-2)</td> |
991 | - <td> |
992 | - <div class="p-code-copyable"> |
993 | - <a href="https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-073a1732ca17ed3ab</a> |
994 | - <input hidden class="p-code-copyable__input" value="ami-073a1732ca17ed3ab" readonly="readonly"> |
995 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
996 | - </div> |
997 | - </td> |
998 | - </tr> |
999 | - <tr> |
1000 | - <td>US West (N. California) (us-west-1)</td> |
1001 | - <td> |
1002 | - <div class="p-code-copyable"> |
1003 | - <a href="https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-08f506aa75649ce2b</a> |
1004 | - <input hidden class="p-code-copyable__input" value="ami-08f506aa75649ce2b" readonly="readonly"> |
1005 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
1006 | - </div> |
1007 | - </td> |
1008 | - </tr> |
1009 | - <tr> |
1010 | - <td>US West (Oregon) (us-west-2)</td> |
1011 | - <td> |
1012 | - <div class="p-code-copyable"> |
1013 | - <a href="https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name">ami-0c5febddf2149f5f4</a> |
1014 | - <input hidden class="p-code-copyable__input" value="ami-0c5febddf2149f5f4" readonly="readonly"> |
1015 | - <button class="p-code-copyable__action">Copy to clipboard</button> |
1016 | - </div> |
1017 | - </td> |
1018 | - </tr> |
1019 | - </tbody> |
1020 | - </table> |
1021 | - </div> |
1022 | - </div> |
1023 | - </section> |
1024 | - |
1025 | - <section class="p-strip--light is-bordered is-shallow"> |
1026 | - <div class="row"> |
1027 | - <div class="col-12"> |
1028 | - <h3 class="p-card__title">Kubernetes 1.11</h3> |
1029 | - <p>The latest Ubuntu worker node AMIs for Kubernetes 1.11 (N.B. EKS may not be available in some of these regions, check the <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/">list of current EKS regions</a>):</p> |
1030 | - <p><b>Important:</b> EKS images that support Kubernetes 1.11 use the default <a href="https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2019-02-11/amazon-eks-nodegroup.yaml">amazon-eks-nodegroup.yaml</a>, as specified in the <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html">AWS EKS user guide</a>.</p> |
1031 | - |
1032 | - <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p> |
1033 | - </div> |
1034 | - </div> |
1035 | - </section> |
1036 | + </div> |
1037 | + </section> |
1038 | + <section class="p-strip--light is-bordered is-shallow"> |
1039 | + <div class="row"> |
1040 | + <div class="col-12"> |
1041 | + <h3 class="p-card__title"> |
1042 | + Kubernetes 1.12 |
1043 | + </h3> |
1044 | + <p> |
1045 | + The latest Ubuntu worker node AMIs for Kubernetes 1.12 (N.B. EKS may not be available in some of these regions, check the |
1046 | + <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/"> |
1047 | + list of current EKS regions |
1048 | + </a> |
1049 | + ): |
1050 | + </p> |
1051 | + <p> |
1052 | + <b> |
1053 | + Important: |
1054 | + </b> |
1055 | + EKS images that support Kubernetes 1.12 use the default |
1056 | + <a href="https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2019-02-11/amazon-eks-nodegroup.yaml"> |
1057 | + amazon-eks-nodegroup.yaml |
1058 | + </a> |
1059 | + , as specified in the |
1060 | + <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html"> |
1061 | + AWS EKS user guide |
1062 | + </a> |
1063 | + . |
1064 | + </p> |
1065 | + <p> |
1066 | + <small> |
1067 | + This image is customized specifically for the EKS service and is not intended as a general OS image. |
1068 | + </small> |
1069 | + </p> |
1070 | </div> |
1071 | - </main> |
1072 | - |
1073 | - <footer class="p-strip is-shallow"> |
1074 | - <div class="row"> |
1075 | - <div class="col-12"> |
1076 | - © 2018 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. |
1077 | - <p> |
1078 | - <a class="p-link--external" aria-label="External link to the Ubuntu legal information page" href="https://www.ubuntu.com/legal"> |
1079 | - Legal information |
1080 | - </a> |
1081 | - </p> |
1082 | - |
1083 | - <span class="u-off-screen"> |
1084 | - <a href="#">Go to the top of the page</a> |
1085 | - </span> |
1086 | - </div> |
1087 | + </div> |
1088 | + </section> |
1089 | + </div> |
1090 | + <div aria-hidden="true" aria-labelledby="tab2" class="p-tab" id="kubernetes-1-11" role="tabpanel"> |
1091 | + <section class="p-strip--light is-shallow"> |
1092 | + <div class="row"> |
1093 | + <div class="col-12"> |
1094 | + <p class="p-heading--five"> |
1095 | + Date: |
1096 | + </p> |
1097 | + <table> |
1098 | + <thead> |
1099 | + <tr> |
1100 | + <th> |
1101 | + Region |
1102 | + </th> |
1103 | + <th> |
1104 | + Use this or later image |
1105 | + </th> |
1106 | + </tr> |
1107 | + </thead> |
1108 | + <tbody> |
1109 | + <tr> |
1110 | + <td> |
1111 | + Asia Pacific (Hong Kong) (ap-east-1) |
1112 | + </td> |
1113 | + <td> |
1114 | + <div class="p-code-copyable"> |
1115 | + <a href="https://ap-east-1.console.aws.amazon.com/ec2/v2/home?region=ap-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1116 | + ami-d981faa8 |
1117 | + </a> |
1118 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-d981faa8"/> |
1119 | + <button class="p-code-copyable__action"> |
1120 | + Copy to clipboard |
1121 | + </button> |
1122 | + </div> |
1123 | + </td> |
1124 | + </tr> |
1125 | + <tr> |
1126 | + <td> |
1127 | + Asia Pacific (Tokyo) (ap-northeast-1) |
1128 | + </td> |
1129 | + <td> |
1130 | + <div class="p-code-copyable"> |
1131 | + <a href="https://ap-northeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1132 | + ami-0cec334ca622142f7 |
1133 | + </a> |
1134 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0cec334ca622142f7"/> |
1135 | + <button class="p-code-copyable__action"> |
1136 | + Copy to clipboard |
1137 | + </button> |
1138 | + </div> |
1139 | + </td> |
1140 | + </tr> |
1141 | + <tr> |
1142 | + <td> |
1143 | + Asia Pacific (Seoul) (ap-northeast-2) |
1144 | + </td> |
1145 | + <td> |
1146 | + <div class="p-code-copyable"> |
1147 | + <a href="https://ap-northeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1148 | + ami-085f54057bb440f1b |
1149 | + </a> |
1150 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-085f54057bb440f1b"/> |
1151 | + <button class="p-code-copyable__action"> |
1152 | + Copy to clipboard |
1153 | + </button> |
1154 | + </div> |
1155 | + </td> |
1156 | + </tr> |
1157 | + <tr> |
1158 | + <td> |
1159 | + Asia Pacific (Osaka-Local) (ap-northeast-3) |
1160 | + </td> |
1161 | + <td> |
1162 | + <div class="p-code-copyable"> |
1163 | + <a href="https://ap-northeast-3.console.aws.amazon.com/ec2/v2/home?region=ap-northeast-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1164 | + ami-06492e700ecadca48 |
1165 | + </a> |
1166 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-06492e700ecadca48"/> |
1167 | + <button class="p-code-copyable__action"> |
1168 | + Copy to clipboard |
1169 | + </button> |
1170 | + </div> |
1171 | + </td> |
1172 | + </tr> |
1173 | + <tr> |
1174 | + <td> |
1175 | + Asia Pacific (Mumbai) (ap-south-1) |
1176 | + </td> |
1177 | + <td> |
1178 | + <div class="p-code-copyable"> |
1179 | + <a href="https://ap-south-1.console.aws.amazon.com/ec2/v2/home?region=ap-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1180 | + ami-0e730e29028bf4a69 |
1181 | + </a> |
1182 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0e730e29028bf4a69"/> |
1183 | + <button class="p-code-copyable__action"> |
1184 | + Copy to clipboard |
1185 | + </button> |
1186 | + </div> |
1187 | + </td> |
1188 | + </tr> |
1189 | + <tr> |
1190 | + <td> |
1191 | + Asia Pacific (Singapore) (ap-southeast-1) |
1192 | + </td> |
1193 | + <td> |
1194 | + <div class="p-code-copyable"> |
1195 | + <a href="https://ap-southeast-1.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1196 | + ami-0c3a7bee3d7e72b8e |
1197 | + </a> |
1198 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0c3a7bee3d7e72b8e"/> |
1199 | + <button class="p-code-copyable__action"> |
1200 | + Copy to clipboard |
1201 | + </button> |
1202 | + </div> |
1203 | + </td> |
1204 | + </tr> |
1205 | + <tr> |
1206 | + <td> |
1207 | + Asia Pacific (Sydney) (ap-southeast-2) |
1208 | + </td> |
1209 | + <td> |
1210 | + <div class="p-code-copyable"> |
1211 | + <a href="https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1212 | + ami-044ee479e51b99147 |
1213 | + </a> |
1214 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-044ee479e51b99147"/> |
1215 | + <button class="p-code-copyable__action"> |
1216 | + Copy to clipboard |
1217 | + </button> |
1218 | + </div> |
1219 | + </td> |
1220 | + </tr> |
1221 | + <tr> |
1222 | + <td> |
1223 | + Canada (Central) (ca-central-1) |
1224 | + </td> |
1225 | + <td> |
1226 | + <div class="p-code-copyable"> |
1227 | + <a href="https://ca-central-1.console.aws.amazon.com/ec2/v2/home?region=ca-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1228 | + ami-0fdf4a00dae22ee32 |
1229 | + </a> |
1230 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0fdf4a00dae22ee32"/> |
1231 | + <button class="p-code-copyable__action"> |
1232 | + Copy to clipboard |
1233 | + </button> |
1234 | + </div> |
1235 | + </td> |
1236 | + </tr> |
1237 | + <tr> |
1238 | + <td> |
1239 | + EU (Frankfurt) (eu-central-1) |
1240 | + </td> |
1241 | + <td> |
1242 | + <div class="p-code-copyable"> |
1243 | + <a href="https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1244 | + ami-01f1e07cd2db8df10 |
1245 | + </a> |
1246 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-01f1e07cd2db8df10"/> |
1247 | + <button class="p-code-copyable__action"> |
1248 | + Copy to clipboard |
1249 | + </button> |
1250 | + </div> |
1251 | + </td> |
1252 | + </tr> |
1253 | + <tr> |
1254 | + <td> |
1255 | + EU (Stockholm) (eu-north-1) |
1256 | + </td> |
1257 | + <td> |
1258 | + <div class="p-code-copyable"> |
1259 | + <a href="https://eu-north-1.console.aws.amazon.com/ec2/v2/home?region=eu-north-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1260 | + ami-466ae138 |
1261 | + </a> |
1262 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-466ae138"/> |
1263 | + <button class="p-code-copyable__action"> |
1264 | + Copy to clipboard |
1265 | + </button> |
1266 | + </div> |
1267 | + </td> |
1268 | + </tr> |
1269 | + <tr> |
1270 | + <td> |
1271 | + EU (Ireland) (eu-west-1) |
1272 | + </td> |
1273 | + <td> |
1274 | + <div class="p-code-copyable"> |
1275 | + <a href="https://eu-west-1.console.aws.amazon.com/ec2/v2/home?region=eu-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1276 | + ami-03ca679f19f74ec06 |
1277 | + </a> |
1278 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-03ca679f19f74ec06"/> |
1279 | + <button class="p-code-copyable__action"> |
1280 | + Copy to clipboard |
1281 | + </button> |
1282 | + </div> |
1283 | + </td> |
1284 | + </tr> |
1285 | + <tr> |
1286 | + <td> |
1287 | + EU (London) (eu-west-2) |
1288 | + </td> |
1289 | + <td> |
1290 | + <div class="p-code-copyable"> |
1291 | + <a href="https://eu-west-2.console.aws.amazon.com/ec2/v2/home?region=eu-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1292 | + ami-031030349d043ba0f |
1293 | + </a> |
1294 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-031030349d043ba0f"/> |
1295 | + <button class="p-code-copyable__action"> |
1296 | + Copy to clipboard |
1297 | + </button> |
1298 | + </div> |
1299 | + </td> |
1300 | + </tr> |
1301 | + <tr> |
1302 | + <td> |
1303 | + EU (Paris) (eu-west-3) |
1304 | + </td> |
1305 | + <td> |
1306 | + <div class="p-code-copyable"> |
1307 | + <a href="https://eu-west-3.console.aws.amazon.com/ec2/v2/home?region=eu-west-3#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1308 | + ami-087fbcbeb7a9f4013 |
1309 | + </a> |
1310 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-087fbcbeb7a9f4013"/> |
1311 | + <button class="p-code-copyable__action"> |
1312 | + Copy to clipboard |
1313 | + </button> |
1314 | + </div> |
1315 | + </td> |
1316 | + </tr> |
1317 | + <tr> |
1318 | + <td> |
1319 | + Middle East (Bahrain) (me-south-1) |
1320 | + </td> |
1321 | + <td> |
1322 | + <div class="p-code-copyable"> |
1323 | + <a href="https://me-south-1.console.aws.amazon.com/ec2/v2/home?region=me-south-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1324 | + ami-07dea06154c0e7180 |
1325 | + </a> |
1326 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-07dea06154c0e7180"/> |
1327 | + <button class="p-code-copyable__action"> |
1328 | + Copy to clipboard |
1329 | + </button> |
1330 | + </div> |
1331 | + </td> |
1332 | + </tr> |
1333 | + <tr> |
1334 | + <td> |
1335 | + South America (São Paulo) (sa-east-1) |
1336 | + </td> |
1337 | + <td> |
1338 | + <div class="p-code-copyable"> |
1339 | + <a href="https://sa-east-1.console.aws.amazon.com/ec2/v2/home?region=sa-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1340 | + ami-0ae6ee95073869b19 |
1341 | + </a> |
1342 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0ae6ee95073869b19"/> |
1343 | + <button class="p-code-copyable__action"> |
1344 | + Copy to clipboard |
1345 | + </button> |
1346 | + </div> |
1347 | + </td> |
1348 | + </tr> |
1349 | + <tr> |
1350 | + <td> |
1351 | + US East (Virginia) (us-east-1) |
1352 | + </td> |
1353 | + <td> |
1354 | + <div class="p-code-copyable"> |
1355 | + <a href="https://us-east-1.console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1356 | + ami-06c793c84c7a255eb |
1357 | + </a> |
1358 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-06c793c84c7a255eb"/> |
1359 | + <button class="p-code-copyable__action"> |
1360 | + Copy to clipboard |
1361 | + </button> |
1362 | + </div> |
1363 | + </td> |
1364 | + </tr> |
1365 | + <tr> |
1366 | + <td> |
1367 | + US East (Ohio) (us-east-2) |
1368 | + </td> |
1369 | + <td> |
1370 | + <div class="p-code-copyable"> |
1371 | + <a href="https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1372 | + ami-007d6b3726d4ae23f |
1373 | + </a> |
1374 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-007d6b3726d4ae23f"/> |
1375 | + <button class="p-code-copyable__action"> |
1376 | + Copy to clipboard |
1377 | + </button> |
1378 | + </div> |
1379 | + </td> |
1380 | + </tr> |
1381 | + <tr> |
1382 | + <td> |
1383 | + US West (N. California) (us-west-1) |
1384 | + </td> |
1385 | + <td> |
1386 | + <div class="p-code-copyable"> |
1387 | + <a href="https://us-west-1.console.aws.amazon.com/ec2/v2/home?region=us-west-1#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1388 | + ami-0e43b9dee58e0767c |
1389 | + </a> |
1390 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-0e43b9dee58e0767c"/> |
1391 | + <button class="p-code-copyable__action"> |
1392 | + Copy to clipboard |
1393 | + </button> |
1394 | + </div> |
1395 | + </td> |
1396 | + </tr> |
1397 | + <tr> |
1398 | + <td> |
1399 | + US West (Oregon) (us-west-2) |
1400 | + </td> |
1401 | + <td> |
1402 | + <div class="p-code-copyable"> |
1403 | + <a href="https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Images:visibility=public-images;name=ubuntu-eks/k8s_1.11/images/*;ownerAlias=099720109477;sort=desc:name"> |
1404 | + ami-02f3145e41549e960 |
1405 | + </a> |
1406 | + <input class="p-code-copyable__input" hidden="" readonly="readonly" value="ami-02f3145e41549e960"/> |
1407 | + <button class="p-code-copyable__action"> |
1408 | + Copy to clipboard |
1409 | + </button> |
1410 | + </div> |
1411 | + </td> |
1412 | + </tr> |
1413 | + </tbody> |
1414 | + </table> |
1415 | </div> |
1416 | - </footer> |
1417 | - |
1418 | - <script> |
1419 | - function setupAccordionListener(accordionContainerSelector) { |
1420 | + </div> |
1421 | + </section> |
1422 | + <section class="p-strip--light is-bordered is-shallow"> |
1423 | + <div class="row"> |
1424 | + <div class="col-12"> |
1425 | + <h3 class="p-card__title"> |
1426 | + Kubernetes 1.11 |
1427 | + </h3> |
1428 | + <p> |
1429 | + The latest Ubuntu worker node AMIs for Kubernetes 1.11 (N.B. EKS may not be available in some of these regions, check the |
1430 | + <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/"> |
1431 | + list of current EKS regions |
1432 | + </a> |
1433 | + ): |
1434 | + </p> |
1435 | + <p> |
1436 | + <b> |
1437 | + Important: |
1438 | + </b> |
1439 | + EKS images that support Kubernetes 1.11 use the default |
1440 | + <a href="https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2019-02-11/amazon-eks-nodegroup.yaml"> |
1441 | + amazon-eks-nodegroup.yaml |
1442 | + </a> |
1443 | + , as specified in the |
1444 | + <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html"> |
1445 | + AWS EKS user guide |
1446 | + </a> |
1447 | + . |
1448 | + </p> |
1449 | + <p> |
1450 | + <small> |
1451 | + This image is customized specifically for the EKS service and is not intended as a general OS image. |
1452 | + </small> |
1453 | + </p> |
1454 | + </div> |
1455 | + </div> |
1456 | + </section> |
1457 | + </div> |
1458 | + </main> |
1459 | + <footer class="p-strip is-shallow"> |
1460 | + <div class="row"> |
1461 | + <div class="col-12"> |
1462 | + © 2018 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. |
1463 | + <p> |
1464 | + <a aria-label="External link to the Ubuntu legal information page" class="p-link--external" href="https://www.ubuntu.com/legal"> |
1465 | + Legal information |
1466 | + </a> |
1467 | + </p> |
1468 | + <span class="u-off-screen"> |
1469 | + <a href="#"> |
1470 | + Go to the top of the page |
1471 | + </a> |
1472 | + </span> |
1473 | + </div> |
1474 | + </div> |
1475 | + </footer> |
1476 | + <script> |
1477 | + function setupAccordionListener(accordionContainerSelector) { |
1478 | const toggle = (element, show) => { |
1479 | element.setAttribute('aria-expanded', show); |
1480 | document |
1481 | @@ -671,10 +1031,9 @@ |
1482 | } |
1483 | |
1484 | setupAccordionListener('.p-accordion__list'); |
1485 | - </script> |
1486 | - |
1487 | - <script> |
1488 | - function setupTabs(tablistSelector) { |
1489 | + </script> |
1490 | + <script> |
1491 | + function setupTabs(tablistSelector) { |
1492 | const tablists = document.querySelectorAll(tablistSelector) |
1493 | |
1494 | const attachTabEvents = (tabs) => { |
1495 | @@ -712,10 +1071,9 @@ |
1496 | } |
1497 | |
1498 | setupTabs('[data-js="tablist"]'); |
1499 | - </script> |
1500 | - |
1501 | - <script> |
1502 | - const copyToClipboard = str => { |
1503 | + </script> |
1504 | + <script> |
1505 | + const copyToClipboard = str => { |
1506 | const el = document.createElement('textarea'); // Create a <textarea> element |
1507 | el.value = str; // Set its value to the string that you want copied |
1508 | el.setAttribute('readonly', ''); // Make it readonly to be tamper-proof |
1509 | @@ -750,6 +1108,6 @@ |
1510 | false |
1511 | ); |
1512 | } |
1513 | - </script> |
1514 | - </body> |
1515 | + </script> |
1516 | + </body> |
1517 | </html> |
1518 | diff --git a/requirements.txt b/requirements.txt |
1519 | new file mode 100644 |
1520 | index 0000000..2b96047 |
1521 | --- /dev/null |
1522 | +++ b/requirements.txt |
1523 | @@ -0,0 +1,2 @@ |
1524 | +bs4 |
1525 | +click |
1526 | diff --git a/update.py b/update.py |
1527 | new file mode 100755 |
1528 | index 0000000..5465419 |
1529 | --- /dev/null |
1530 | +++ b/update.py |
1531 | @@ -0,0 +1,57 @@ |
1532 | +#!/usr/bin/env python |
1533 | +import click |
1534 | +import re |
1535 | + |
1536 | +from bs4 import BeautifulSoup |
1537 | + |
1538 | + |
1539 | +@click.command() |
1540 | +@click.argument('queryfile', type=click.Path(exists=True, readable=True, |
1541 | + file_okay=True, dir_okay=False)) |
1542 | +@click.argument('indexfile', type=click.Path(exists=True, writable=True, |
1543 | + file_okay=True, dir_okay=False)) |
1544 | +@click.argument('k8s') |
1545 | +def update(queryfile, indexfile, k8s): |
1546 | + ''' |
1547 | + Consumes a query-data file and an html file from our aws-eks-website repo, |
1548 | + replacing amis by region and k8s version. It will only replace amis for |
1549 | + regions that are found in the query-data file. i.e. new regions will still |
1550 | + need to be added to the html file by hand. |
1551 | + |
1552 | + Outputs a new 'index.html' to the working directory, overwriting if it is |
1553 | + already present. |
1554 | + |
1555 | + :param queryfile: A path to the query-data file produced by CIM |
1556 | + :param indexfile: A path to the index.html file used by the EKS website |
1557 | + :param k8s: A string representing the k8s version to replace amis under, |
1558 | + e.g. '1.11' |
1559 | + ''' |
1560 | + with open(queryfile, 'r') as fh: |
1561 | + query_data = fh.read() |
1562 | + |
1563 | + amis = re.findall(r'[a-z]+-[a-z]+-[0-9]\sami-[0-9a-f]+', query_data) |
1564 | + region_ami_tuples = [tuple(a.split('\t')) for a in amis] |
1565 | + |
1566 | + with open(indexfile, 'r') as fh: |
1567 | + html = fh.read() |
1568 | + |
1569 | + soup = BeautifulSoup(html, features="html.parser") |
1570 | + target = [f for f in soup.find_all("div", {"class": "p-code-copyable"}) |
1571 | + if k8s in f.a['href']] |
1572 | + |
1573 | + for t in target: |
1574 | + for region_ami in region_ami_tuples: |
1575 | + region = region_ami[0] |
1576 | + ami = region_ami[1] |
1577 | + if region in t.a['href']: |
1578 | + t.a.string = re.sub(r'ami-[0-9a-f]+', ami, t.a.string) |
1579 | + t.input['value'] = ami |
1580 | + break |
1581 | + |
1582 | + with open('index.html', 'w+') as fh: |
1583 | + fh.write(str(soup.prettify())) |
1584 | + print("Done.") |
1585 | + |
1586 | + |
1587 | +if __name__ == "__main__": |
1588 | + update() |
Just a few questions.