Merge ~sowasred2012/cloud-images/+git/aws-eks-website:redesign into ~cloud-images-release-managers/cloud-images/+git/aws-eks-website:master

Proposed by Scott Mason Nash
Status: Merged
Merged at revision: d71f6166b289448d50d918927a62e294dc5e6b1d
Proposed branch: ~sowasred2012/cloud-images/+git/aws-eks-website:redesign
Merge into: ~cloud-images-release-managers/cloud-images/+git/aws-eks-website:master
Diff against target: 1019 lines (+738/-259)
1 file modified
index.html (+738/-259)
Reviewer Review Type Date Requested Status
Francis Ginther (community) Approve
Cody Shepherd Approve
Review via email: mp+370985@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Cody Shepherd (codyshepherd) wrote :

Thanks Scott, this is great! A couple of requests:

1. Could we make the toggle between 1.11 and 1.12 (and future versions) more obvious in terms of styling?

2. Could we consolidate the date column to a single field, perhaps a subtitle or something similar at the top of the table? We do not expect to encounter circumstances where the AMIs listed in a table have different dates.

3. This is not strictly within the scope of our original proposal, but we are beginning to use some automated scripts to update the AMI listings on this page. Is there a way to add some type of tag in the html to each line that lists an AMI link, making it easier to identify those lines via a script? This is not a blocker, just thought I'd ask :)

review: Needs Fixing
Revision history for this message
Scott Mason Nash (sowasred2012) wrote :

No problem, we've addressed the feedback on the first two points - the toggles should be clearer, and there's a <p> tag above each table earmarked for the date info.

As for the third point about the links - they're all immediately followed by an <input> tag that has a value of the AMI id, is that enough for you to be able to target the link?

Revision history for this message
Cody Shepherd (codyshepherd) wrote :

This is great, thanks Scott.

review: Approve
Revision history for this message
Francis Ginther (fginther) wrote :

Thanks for the work on this, it is much improved over the original. We discussed this as a team and bikeshed'd a bit over whether or not it's obvious on first look if the 1.11 or 1.12 images are being shown. I think this will be more obvious once we have 1.13 add (hopefully next week), so I don't think this alone is worth holding this MP back.

+1, I think we can merge this.

review: Approve
Revision history for this message
Scott Mason Nash (sowasred2012) wrote :

Thanks guys - I don't have permission to push to master, would one of you mind merging it? Launchpad is new to me, so if there's a way I can do it, I'm happy to, I'd just need a bit of educating, haha :)

Revision history for this message
Cody Shepherd (codyshepherd) wrote :

> Thanks guys - I don't have permission to push to master, would one of you mind
> merging it? Launchpad is new to me, so if there's a way I can do it, I'm happy
> to, I'd just need a bit of educating, haha :)

I'll merge it, thanks Scott!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/index.html b/index.html
2index 2557bb6..c126f1e 100644
3--- a/index.html
4+++ b/index.html
5@@ -1,276 +1,755 @@
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- <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/cb22ba5d-favicon-16x16.png" sizes="16x16" />
13- <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png" sizes="32x32" />
14- <title>Ubuntu and Amazon Elastic Container Service for Kubernetes (EKS)</title>
15- <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.">
16-
17- <!-- Stylesheet -->
18- <link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla-framework-version-1.7.1.min.css">
19-
20-</head>
21-<body>
22- <header id="navigation" class="p-navigation">
23- <div class="row">
24- <div class="p-navigation__banner">
25- <div class="p-navigation__logo">
26- <a class="p-navigation__link" href="#">
27- <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>
28- </a>
29- </div>
30- </div>
31- </div>
32- </header>
33+ <head>
34+ <meta charset="utf-8">
35+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
36+ <meta name="viewport" content="width=device-width, initial-scale=1">
37+
38+ <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/cb22ba5d-favicon-16x16.png" sizes="16x16" />
39+ <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png" sizes="32x32" />
40+
41+ <title>Ubuntu on Amazon Elastic Kubernetes Service (EKS)</title>
42+ <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.">
43+
44+ <!-- Stylesheet -->
45+ <link rel="stylesheet" href="https://assets.ubuntu.com/v1/vanilla-framework-version-2.1.0.min.css">
46+
47+ <style>
48+ .p-accordion__panel {
49+ padding-left: 0;
50+ }
51+
52+ .p-accordion__tab {
53+ color: #007aa6;
54+ font-size: 18px;
55+ padding-left: 0;
56+ width: auto;
57+ }
58+
59+ .p-accordion__tab i {
60+ margin-left: 0.5rem;
61+ }
62+
63+ .p-accordion__tab[aria-expanded="false"],
64+ .p-accordion__tab[aria-expanded="true"] {
65+ background-image: none;
66+ }
67+
68+ .p-accordion__tab[aria-expanded="false"] i {
69+ background-position: 0% 75%;
70+ }
71+
72+ .p-accordion__tab[aria-expanded="true"] i {
73+ background-position: 0% 25%;
74+ transform: rotate(180deg);
75+ }
76+
77+ .p-accordion__tab:hover {
78+ text-decoration: underline;
79+ }
80+
81+ .p-accordion__tab:active:hover,
82+ .p-accordion__tab:hover {
83+ background-color: transparent;
84+ }
85+
86+ .p-code-copyable {
87+ background: none;
88+ border: 0;
89+ margin: 0;
90+ overflow: visible;
91+ padding: 0;
92+ }
93+
94+ .p-code-copyable::before {
95+ content: none;
96+ }
97+
98+ .p-code-copyable__action {
99+ border: 1px solid #cdcdcd;
100+ border-radius: 2px;
101+ padding: 4px 0;
102+ top: -7px;
103+ }
104+
105+ .p-inline-list {
106+ display: inline;
107+ margin-left: 0.5rem;
108+ }
109+
110+ .p-inline-list__item {
111+ margin-right: 0;
112+ }
113
114- <main class="main-content">
115- <section class="p-strip--light u-no-padding--bottom">
116+ .p-navigation a,
117+ .p-navigation a:visited,
118+ .p-navigation a:focus {
119+ align-items: center;
120+ color: #e95420;
121+ font-size: 1.7rem;
122+ font-weight: 200;
123+ }
124+
125+ .p-navigation svg {
126+ margin-right: 0.5rem;
127+ }
128+
129+ .p-tab[aria-hidden="true"] {
130+ display: none;
131+ }
132+
133+ .p-tab-selector {
134+ border: 1px solid #666;
135+ border-radius: 4px;
136+ color: #666;
137+ cursor: pointer;
138+ padding: 0.1rem 0.4rem;
139+ }
140+
141+ .p-tab-selector[aria-selected="true"] {
142+ background-color: #e6e6e6;
143+ }
144+
145+ .p-tab-selector[aria-selected="false"] {
146+ cursor: pointer;
147+ }
148+
149+ td {
150+ padding-bottom: .7rem;
151+ padding-top: calc(1rem - 1px);
152+ }
153+ </style>
154+ </head>
155+
156+ <body>
157+ <header id="navigation" class="p-navigation">
158 <div class="row">
159- <div class="col-8">
160- <h1 style="font-weight: 100">Ubuntu and Amazon Elastic Container Service for Kubernetes (EKS)</h1>
161- <p>Canonical and Amazon have collaborated on the launch of <a href="https://aws.amazon.com/eks/">Amazon’s Elastic Container Service for Kubernetes (EKS)</a> 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.</p>
162- <p>Users should follow the <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html">EKS user guide</a> for deploying an EKS cluster.</p>
163+ <div class="p-navigation__banner">
164+ <div class="p-navigation__logo">
165+ <a class="p-navigation__link" href="http://cloud-images.ubuntu.com/">
166+ <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>
167+ cloud images
168+ </a>
169+ </div>
170 </div>
171 </div>
172- </section>
173- <section class="p-strip--light u-no-padding--bottom">
174- <div class="row">
175- <div class="p-card--highlighted">
176- <h3 class="p-card__title">Changelog</h3>
177- <dl class="p-card__content">
178- <dt>20190207</dt>
179- <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>
180- <dt>20190212</dt>
181- <dd>Address snapd vulnerability <a href="https://usn.ubuntu.com/3887-1/">CVE-2019-7304</a></dd>
182- <dt>20190418</dt>
183- <dd>Ensure snaps do not auto-refresh</dd>
184- <dt>20190430</dt>
185- <dd>Add EKS AMI IDs for Kubernetes 1.11</dd>
186- <dt>20190514</dt>
187- <dd>Kernel updates to mitigate Michroarchitectural Data Sampling, 1.10 and 1.11</dd>
188- <dt>20190619</dt>
189- <dd>Address CVE-2019-11477 and CVE-2019-11478 CVEs collectively known as SACK Panic. Add EKS AMI IDs for Kubernetes 1.12</dd>
190- <dt>20190628</dt>
191- <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>
192- <dt>20190730</dt>
193- <dd>Remove 1.10 images as part of Kubernetes 1.10 deprecation</dd>
194- </dl>
195+ </header>
196+
197+ <main class="main-content">
198+ <section class="p-strip--light is-bordered">
199+ <div class="row">
200+ <div class="col-8">
201+ <h1 style="font-weight: 100">Ubuntu on Amazon Elastic Kubernetes Service (EKS)</h1>
202+ <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>
203+
204+ <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>
205+ </div>
206 </div>
207- </div>
208- </section>
209+ </section>
210
211- <section class="p-strip--light is-bordered is-shallow">
212- <div class="row">
213- <div class="col-12">
214- <h3 class="p-card__title">Kubernetes 1.12</h3>
215- <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>
216- <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>
217- <table>
218- <thead>
219- <tr>
220- <th>Region</th>
221- <th>Image</th>
222- </tr>
223- </thead>
224- <tbody>
225- <tr>
226- <td>Asia Pacific (Hong Kong) (ap-east-1)</td>
227- <td>ami-68631819 (<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">or later</a>)</td>
228- </tr>
229- <tr>
230- <td>Asia Pacific (Tokyo) (ap-northeast-1)</td>
231- <td>ami-00d8bd06833bd20ae (<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">or later</a>)</td>
232- </tr>
233- <tr>
234- <td>Asia Pacific (Seoul) (ap-northeast-2)</td>
235- <td>ami-01e7ab7cbd7f13972 (<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">or later</a>)</td>
236- </tr>
237- <tr>
238- <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td>
239- <td>ami-07d2fb7e6dea4472f (<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">or later</a>)</td>
240- </tr>
241- <tr>
242- <td>Asia Pacific (Mumbai) (ap-south-1)</td>
243- <td>ami-0618730e80e790739 (<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">or later</a>)</td>
244- </tr>
245- <tr>
246- <td>Asia Pacific (Singapore) (ap-southeast-1)</td>
247- <td>ami-01168bce413d4be53 (<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">or later</a>)</td>
248- </tr>
249- <tr>
250- <td>Asia Pacific (Sydney) (ap-southeast-2)</td>
251- <td>ami-04377a3c7e37becb8 (<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">or later</a>)</td>
252- </tr>
253- <tr>
254- <td>Canada (Central) (ca-central-1)</td>
255- <td>ami-00190abe0098ffd4b (<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">or later</a>)</td>
256- </tr>
257- <tr>
258- <td>EU (Frankfurt) (eu-central-1)</td>
259- <td>ami-00a91197f921a229e (<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">or later</a>)</td>
260- </tr>
261- <tr>
262- <td>EU (Stockholm) (eu-north-1)</td>
263- <td>ami-77d45f09 (<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">or later</a>)</td>
264- </tr>
265- <tr>
266- <td>EU (Ireland) (eu-west-1)</td>
267- <td>ami-07b83013f6e5cedf6 (<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">or later</a>)</td>
268- </tr>
269- <tr>
270- <td>EU (London) (eu-west-2)</td>
271- <td>ami-0d0f4fcdc5039b796 (<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">or later</a>)</td>
272- </tr>
273- <tr>
274- <td>EU (Paris) (eu-west-3)</td>
275- <td>ami-09d0adc6c9e510dea (<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">or later</a>)</td>
276- </tr>
277- <tr>
278- <td>South America (São Paulo) (sa-east-1)</td>
279- <td>ami-024f401a421c1ae44 (<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">or later</a>)</td>
280- </tr>
281- <tr>
282- <td>US East (Virginia) (us-east-1)</td>
283- <td>ami-0629da185ca8e4e42 (<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">or later</a>)</td>
284- </tr>
285- <tr>
286- <td>US East (Ohio) (us-east-2)</td>
287- <td>ami-0c0e2af39a486901a (<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">or later</a>)</td>
288- </tr>
289- <tr>
290- <td>US West (N. California) (us-west-1)</td>
291- <td>ami-023deb704351374bf (<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">or later</a>)</td>
292- </tr>
293- <tr>
294- <td>US West (Oregon) (us-west-2)</td>
295- <td>ami-07d8b42a5f4c623f1 (<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">or later</a>)</td>
296- </tr>
297- </tbody>
298- </table>
299+ <section class="p-strip is-bordered">
300+ <div class="row">
301+ <div class="col-12">
302+ <h3 class="p-card__title">Latest changes</h3>
303+
304+ <dl class="p-card__content">
305+ <dt>20190730</dt>
306+ <dd>Remove 1.10 images as part of Kubernetes 1.10 deprecation</dd>
307+ </dl>
308+
309+ <div class="p-accordion" role="tablist" aria-multiselect="true">
310+ <ul class="p-accordion__list u-no-margin--bottom">
311+ <li class="p-accordion__group">
312+ <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>
313+
314+ <section class="p-accordion__panel" id="tab1-section" role="tabpanel" aria-hidden="true" aria-labelledby="tab1-section">
315+ <dl>
316+ <dt>20190628</dt>
317+ <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>
318+ <dt>20190619</dt>
319+ <dd>Address CVE-2019-11477 and CVE-2019-11478 CVEs collectively known as SACK Panic. Add EKS AMI IDs for Kubernetes 1.12</dd>
320+ <dt>20190514</dt>
321+ <dd>Kernel updates to mitigate Michroarchitectural Data Sampling, 1.10 and 1.11</dd>
322+ <dt>20190430</dt>
323+ <dd>Add EKS AMI IDs for Kubernetes 1.11</dd>
324+ <dt>20190418</dt>
325+ <dd>Ensure snaps do not auto-refresh</dd>
326+ <dt>20190212</dt>
327+ <dd>Address snapd vulnerability <a href="https://usn.ubuntu.com/3887-1/">CVE-2019-7304</a></dd>
328+ <dt>20190207</dt>
329+ <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>
330+ </dl>
331+ </section>
332+ </li>
333+ </ul>
334+ </div>
335+ </div>
336 </div>
337- </div>
338- <div class="row">
339- <div class="col-8">
340- <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p>
341+ </section>
342+
343+ <section class="p-strip--light is-shallow u-no-padding--bottom">
344+ <div class="row">
345+ <div class="col-12">
346+ <h3 class="p-heading--five u-no-margin--bottom">Show worker node images for: Kubernetes
347+ <ul class="p-inline-list" data-js="tablist" role="tablist">
348+ <li class="p-inline-list__item p-tab-selector" id="tab1" role="tab" aria-controls="#kubernetes-1-12" aria-selected="true">1.12</li>
349+ <li class="p-inline-list__item p-tab-selector" id="tab2" role="tab" aria-controls="#kubernetes-1-11" aria-selected="false">1.11</li>
350+ </ul>
351+ </h3>
352+ </div>
353 </div>
354+ </section>
355+
356+ <div class="p-tab" role="tabpanel" aria-labelledby="tab1" id="kubernetes-1-12" aria-hidden="false">
357+ <section class="p-strip--light is-shallow">
358+ <div class="row">
359+ <div class="col-12">
360+ <p class="p-heading--five">Date:</p>
361+
362+ <table>
363+ <thead>
364+ <tr>
365+ <th>Region</th>
366+ <th>Use this or later image</th>
367+ </tr>
368+ </thead>
369+
370+ <tbody>
371+ <tr>
372+ <td>Asia Pacific (Hong Kong) (ap-east-1)</td>
373+ <td>
374+ <div class="p-code-copyable">
375+ <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>
376+ <input hidden class="p-code-copyable__input" value="ami-68631819" readonly="readonly">
377+ <button class="p-code-copyable__action">Copy to clipboard</button>
378+ </div>
379+ </td>
380+ </tr>
381+ <tr>
382+ <td>Asia Pacific (Tokyo) (ap-northeast-1)</td>
383+ <td>
384+ <div class="p-code-copyable">
385+ <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>
386+ <input hidden class="p-code-copyable__input" value="ami-00d8bd06833bd20ae" readonly="readonly">
387+ <button class="p-code-copyable__action">Copy to clipboard</button>
388+ </div>
389+ </td>
390+ </tr>
391+ <tr>
392+ <td>Asia Pacific (Seoul) (ap-northeast-2)</td>
393+ <td>
394+ <div class="p-code-copyable">
395+ <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>
396+ <input hidden class="p-code-copyable__input" value="ami-01e7ab7cbd7f13972" readonly="readonly">
397+ <button class="p-code-copyable__action">Copy to clipboard</button>
398+ </div>
399+ </td>
400+ </tr>
401+ <tr>
402+ <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td>
403+ <td>
404+ <div class="p-code-copyable">
405+ <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>
406+ <input hidden class="p-code-copyable__input" value="ami-07d2fb7e6dea4472f" readonly="readonly">
407+ <button class="p-code-copyable__action">Copy to clipboard</button>
408+ </div>
409+ </td>
410+ </tr>
411+ <tr>
412+ <td>Asia Pacific (Mumbai) (ap-south-1)</td>
413+ <td>
414+ <div class="p-code-copyable">
415+ <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>
416+ <input hidden class="p-code-copyable__input" value="ami-0618730e80e790739" readonly="readonly">
417+ <button class="p-code-copyable__action">Copy to clipboard</button>
418+ </div>
419+ </td>
420+ </tr>
421+ <tr>
422+ <td>Asia Pacific (Singapore) (ap-southeast-1)</td>
423+ <td>
424+ <div class="p-code-copyable">
425+ <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>
426+ <input hidden class="p-code-copyable__input" value="ami-01168bce413d4be53" readonly="readonly">
427+ <button class="p-code-copyable__action">Copy to clipboard</button>
428+ </div>
429+ </td>
430+ </tr>
431+ <tr>
432+ <td>Asia Pacific (Sydney) (ap-southeast-2)</td>
433+ <td>
434+ <div class="p-code-copyable">
435+ <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>
436+ <input hidden class="p-code-copyable__input" value="ami-04377a3c7e37becb8" readonly="readonly">
437+ <button class="p-code-copyable__action">Copy to clipboard</button>
438+ </div>
439+ </td>
440+ </tr>
441+ <tr>
442+ <td>Canada (Central) (ca-central-1)</td>
443+ <td>
444+ <div class="p-code-copyable">
445+ <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>
446+ <input hidden class="p-code-copyable__input" value="ami-00190abe0098ffd4b" readonly="readonly">
447+ <button class="p-code-copyable__action">Copy to clipboard</button>
448+ </div>
449+ </td>
450+ </tr>
451+ <tr>
452+ <td>EU (Frankfurt) (eu-central-1)</td>
453+ <td>
454+ <div class="p-code-copyable">
455+ <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>
456+ <input hidden class="p-code-copyable__input" value="ami-00a91197f921a229e" readonly="readonly">
457+ <button class="p-code-copyable__action">Copy to clipboard</button>
458+ </div>
459+ </td>
460+ </tr>
461+ <tr>
462+ <td>EU (Stockholm) (eu-north-1)</td>
463+ <td>
464+ <div class="p-code-copyable">
465+ <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>
466+ <input hidden class="p-code-copyable__input" value="ami-77d45f09" readonly="readonly">
467+ <button class="p-code-copyable__action">Copy to clipboard</button>
468+ </div>
469+ </td>
470+ </tr>
471+ <tr>
472+ <td>EU (Ireland) (eu-west-1)</td>
473+ <td>
474+ <div class="p-code-copyable">
475+ <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>
476+ <input hidden class="p-code-copyable__input" value="ami-07b83013f6e5cedf6" readonly="readonly">
477+ <button class="p-code-copyable__action">Copy to clipboard</button>
478+ </div>
479+ </td>
480+ </tr>
481+ <tr>
482+ <td>EU (London) (eu-west-2)</td>
483+ <td>
484+ <div class="p-code-copyable">
485+ <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>
486+ <input hidden class="p-code-copyable__input" value="ami-0d0f4fcdc5039b796" readonly="readonly">
487+ <button class="p-code-copyable__action">Copy to clipboard</button>
488+ </div>
489+ </td>
490+ </tr>
491+ <tr>
492+ <td>EU (Paris) (eu-west-3)</td>
493+ <td>
494+ <div class="p-code-copyable">
495+ <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>
496+ <input hidden class="p-code-copyable__input" value="ami-09d0adc6c9e510dea" readonly="readonly">
497+ <button class="p-code-copyable__action">Copy to clipboard</button>
498+ </div>
499+ </td>
500+ </tr>
501+ <tr>
502+ <td>South America (São Paulo) (sa-east-1)</td>
503+ <td>
504+ <div class="p-code-copyable">
505+ <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>
506+ <input hidden class="p-code-copyable__input" value="ami-024f401a421c1ae44" readonly="readonly">
507+ <button class="p-code-copyable__action">Copy to clipboard</button>
508+ </div>
509+ </td>
510+ </tr>
511+ <tr>
512+ <td>US East (Virginia) (us-east-1)</td>
513+ <td>
514+ <div class="p-code-copyable">
515+ <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>
516+ <input hidden class="p-code-copyable__input" value="ami-0629da185ca8e4e42" readonly="readonly">
517+ <button class="p-code-copyable__action">Copy to clipboard</button>
518+ </div>
519+ </td>
520+ </tr>
521+ <tr>
522+ <td>US East (Ohio) (us-east-2)</td>
523+ <td>
524+ <div class="p-code-copyable">
525+ <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>
526+ <input hidden class="p-code-copyable__input" value="ami-0c0e2af39a486901a" readonly="readonly">
527+ <button class="p-code-copyable__action">Copy to clipboard</button>
528+ </div>
529+ </td>
530+ </tr>
531+ <tr>
532+ <td>US West (N. California) (us-west-1)</td>
533+ <td>
534+ <div class="p-code-copyable">
535+ <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>
536+ <input hidden class="p-code-copyable__input" value="ami-023deb704351374bf" readonly="readonly">
537+ <button class="p-code-copyable__action">Copy to clipboard</button>
538+ </div>
539+ </td>
540+ </tr>
541+ <tr>
542+ <td>US West (Oregon) (us-west-2)</td>
543+ <td>
544+ <div class="p-code-copyable">
545+ <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>
546+ <input hidden class="p-code-copyable__input" value="ami-07d8b42a5f4c623f1" readonly="readonly">
547+ <button class="p-code-copyable__action">Copy to clipboard</button>
548+ </div>
549+ </td>
550+ </tr>
551+ </tbody>
552+ </table>
553+ </div>
554+ </div>
555+ </section>
556+
557+ <section class="p-strip--light is-bordered is-shallow">
558+ <div class="row">
559+ <div class="col-12">
560+ <h3 class="p-card__title">Kubernetes 1.12</h3>
561+ <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>
562+ <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>
563+
564+ <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p>
565+ </div>
566+ </div>
567+ </section>
568 </div>
569- </section>
570
571- <section class="p-strip--light is-bordered is-shallow">
572- <div class="row">
573- <div class="col-12">
574- <h3 class="p-card__title">Kubernetes 1.11</h3>
575- <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>
576- <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>
577- <table>
578- <thead>
579- <tr>
580- <th>Region</th>
581- <th>Image</th>
582- </tr>
583- </thead>
584- <tbody>
585- <tr>
586- <td>Asia Pacific (Hong Kong) (ap-east-1)</td>
587- <td>ami-eb63189a (<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">or later</a>)</td>
588- </tr>
589- <tr>
590- <td>Asia Pacific (Tokyo) (ap-northeast-1)</td>
591- <td>ami-002fd7cb71635b4b3 (<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">or later</a>)</td>
592- </tr>
593- <tr>
594- <td>Asia Pacific (Seoul) (ap-northeast-2)</td>
595- <td>ami-03f64f65bb79fa67f (<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">or later</a>)</td>
596- </tr>
597- <tr>
598- <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td>
599- <td>ami-083a64972f86bf4ba (<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">or later</a>)</td>
600- </tr>
601- <tr>
602- <td>Asia Pacific (Mumbai) (ap-south-1)</td>
603- <td>ami-09b07ab6bdd6c6433 (<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">or later</a>)</td>
604- </tr>
605- <tr>
606- <td>Asia Pacific (Singapore) (ap-southeast-1)</td>
607- <td>ami-07b5e146fef893830 (<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">or later</a>)</td>
608- </tr>
609- <tr>
610- <td>Asia Pacific (Sydney) (ap-southeast-2)</td>
611- <td>ami-015afe45bd3518c35 (<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">or later</a>)</td>
612- </tr>
613- <tr>
614- <td>Canada (Central) (ca-central-1)</td>
615- <td>ami-0c3f9daa982dfbbfa (<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">or later</a>)</td>
616- </tr>
617- <tr>
618- <td>EU (Frankfurt) (eu-central-1)</td>
619- <td>ami-039f9b464fd1b7532 (<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">or later</a>)</td>
620- </tr>
621- <tr>
622- <td>EU (Stockholm) (eu-north-1)</td>
623- <td>ami-acd55ed2 (<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">or later</a>)</td>
624- </tr>
625- <tr>
626- <td>EU (Ireland) (eu-west-1)</td>
627- <td>ami-045925f6a7401587b (<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">or later</a>)</td>
628- </tr>
629- <tr>
630- <td>EU (London) (eu-west-2)</td>
631- <td>ami-08d6206948ba39d9e (<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">or later</a>)</td>
632- </tr>
633- <tr>
634- <td>EU (Paris) (eu-west-3)</td>
635- <td>ami-040aefd5787d9c2e2 (<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">or later</a>)</td>
636- </tr>
637- <tr>
638- <td>South America (São Paulo) (sa-east-1)</td>
639- <td>ami-04b9d1caa033606e3 (<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">or later</a>)</td>
640- </tr>
641- <tr>
642- <td>US East (Virginia) (us-east-1)</td>
643- <td>ami-081b49b6a7837a01b (<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">or later</a>)</td>
644- </tr>
645- <tr>
646- <td>US East (Ohio) (us-east-2)</td>
647- <td>ami-073a1732ca17ed3ab (<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">or later</a>)</td>
648- </tr>
649- <tr>
650- <td>US West (N. California) (us-west-1)</td>
651- <td>ami-08f506aa75649ce2b (<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">or later</a>)</td>
652- </tr>
653- <tr>
654- <td>US West (Oregon) (us-west-2)</td>
655- <td>ami-0c5febddf2149f5f4 (<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">or later</a>)</td>
656- </tr>
657- </tbody>
658- </table>
659- </div>
660+ <div class="p-tab" role="tabpanel" aria-labelledby="tab2" id="kubernetes-1-11" aria-hidden="true">
661+ <section class="p-strip--light is-shallow">
662+ <div class="row">
663+ <div class="col-12">
664+ <p class="p-heading--five">Date:</p>
665+
666+ <table>
667+ <thead>
668+ <tr>
669+ <th>Region</th>
670+ <th>Use this or later image</th>
671+ </tr>
672+ </thead>
673+
674+ <tbody>
675+ <tr>
676+ <td>Asia Pacific (Hong Kong) (ap-east-1)</td>
677+ <td>
678+ <div class="p-code-copyable">
679+ <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>
680+ <input hidden class="p-code-copyable__input" value="ami-eb63189a" readonly="readonly">
681+ <button class="p-code-copyable__action">Copy to clipboard</button>
682+ </div>
683+ </td>
684+ </tr>
685+ <tr>
686+ <td>Asia Pacific (Tokyo) (ap-northeast-1)</td>
687+ <td>
688+ <div class="p-code-copyable">
689+ <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>
690+ <input hidden class="p-code-copyable__input" value="ami-002fd7cb71635b4b3" readonly="readonly">
691+ <button class="p-code-copyable__action">Copy to clipboard</button>
692+ </div>
693+ </td>
694+ </tr>
695+ <tr>
696+ <td>Asia Pacific (Seoul) (ap-northeast-2)</td>
697+ <td>
698+ <div class="p-code-copyable">
699+ <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>
700+ <input hidden class="p-code-copyable__input" value="ami-03f64f65bb79fa67f" readonly="readonly">
701+ <button class="p-code-copyable__action">Copy to clipboard</button>
702+ </div>
703+ </td>
704+ </tr>
705+ <tr>
706+ <td>Asia Pacific (Osaka-Local) (ap-northeast-3)</td>
707+ <td>
708+ <div class="p-code-copyable">
709+ <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>
710+ <input hidden class="p-code-copyable__input" value="ami-083a64972f86bf4ba" readonly="readonly">
711+ <button class="p-code-copyable__action">Copy to clipboard</button>
712+ </div>
713+ </td>
714+ </tr>
715+ <tr>
716+ <td>Asia Pacific (Mumbai) (ap-south-1)</td>
717+ <td>
718+ <div class="p-code-copyable">
719+ <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>
720+ <input hidden class="p-code-copyable__input" value="ami-09b07ab6bdd6c6433" readonly="readonly">
721+ <button class="p-code-copyable__action">Copy to clipboard</button>
722+ </div>
723+ </td>
724+ </tr>
725+ <tr>
726+ <td>Asia Pacific (Singapore) (ap-southeast-1)</td>
727+ <td>
728+ <div class="p-code-copyable">
729+ <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>
730+ <input hidden class="p-code-copyable__input" value="ami-07b5e146fef893830" readonly="readonly">
731+ <button class="p-code-copyable__action">Copy to clipboard</button>
732+ </div>
733+ </td>
734+ </tr>
735+ <tr>
736+ <td>Asia Pacific (Sydney) (ap-southeast-2)</td>
737+ <td>
738+ <div class="p-code-copyable">
739+ <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>
740+ <input hidden class="p-code-copyable__input" value="ami-015afe45bd3518c35" readonly="readonly">
741+ <button class="p-code-copyable__action">Copy to clipboard</button>
742+ </div>
743+ </td>
744+ </tr>
745+ <tr>
746+ <td>Canada (Central) (ca-central-1)</td>
747+ <td>
748+ <div class="p-code-copyable">
749+ <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>
750+ <input hidden class="p-code-copyable__input" value="ami-0c3f9daa982dfbbfa" readonly="readonly">
751+ <button class="p-code-copyable__action">Copy to clipboard</button>
752+ </div>
753+ </td>
754+ </tr>
755+ <tr>
756+ <td>EU (Frankfurt) (eu-central-1)</td>
757+ <td>
758+ <div class="p-code-copyable">
759+ <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>
760+ <input hidden class="p-code-copyable__input" value="ami-039f9b464fd1b7532" readonly="readonly">
761+ <button class="p-code-copyable__action">Copy to clipboard</button>
762+ </div>
763+ </td>
764+ </tr>
765+ <tr>
766+ <td>EU (Stockholm) (eu-north-1)</td>
767+ <td>
768+ <div class="p-code-copyable">
769+ <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>
770+ <input hidden class="p-code-copyable__input" value="ami-acd55ed2" readonly="readonly">
771+ <button class="p-code-copyable__action">Copy to clipboard</button>
772+ </div>
773+ </td>
774+ </tr>
775+ <tr>
776+ <td>EU (Ireland) (eu-west-1)</td>
777+ <td>
778+ <div class="p-code-copyable">
779+ <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>
780+ <input hidden class="p-code-copyable__input" value="ami-045925f6a7401587b" readonly="readonly">
781+ <button class="p-code-copyable__action">Copy to clipboard</button>
782+ </div>
783+ </td>
784+ </tr>
785+ <tr>
786+ <td>EU (London) (eu-west-2)</td>
787+ <td>
788+ <div class="p-code-copyable">
789+ <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>
790+ <input hidden class="p-code-copyable__input" value="ami-08d6206948ba39d9e" readonly="readonly">
791+ <button class="p-code-copyable__action">Copy to clipboard</button>
792+ </div>
793+ </td>
794+ </tr>
795+ <tr>
796+ <td>EU (Paris) (eu-west-3)</td>
797+ <td>
798+ <div class="p-code-copyable">
799+ <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>
800+ <input hidden class="p-code-copyable__input" value="ami-040aefd5787d9c2e2" readonly="readonly">
801+ <button class="p-code-copyable__action">Copy to clipboard</button>
802+ </div>
803+ </td>
804+ </tr>
805+ <tr>
806+ <td>South America (São Paulo) (sa-east-1)</td>
807+ <td>
808+ <div class="p-code-copyable">
809+ <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>
810+ <input hidden class="p-code-copyable__input" value="ami-04b9d1caa033606e3" readonly="readonly">
811+ <button class="p-code-copyable__action">Copy to clipboard</button>
812+ </div>
813+ </td>
814+ </tr>
815+ <tr>
816+ <td>US East (Virginia) (us-east-1)</td>
817+ <td>
818+ <div class="p-code-copyable">
819+ <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>
820+ <input hidden class="p-code-copyable__input" value="ami-081b49b6a7837a01b" readonly="readonly">
821+ <button class="p-code-copyable__action">Copy to clipboard</button>
822+ </div>
823+ </td>
824+ </tr>
825+ <tr>
826+ <td>US East (Ohio) (us-east-2)</td>
827+ <td>
828+ <div class="p-code-copyable">
829+ <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>
830+ <input hidden class="p-code-copyable__input" value="ami-073a1732ca17ed3ab" readonly="readonly">
831+ <button class="p-code-copyable__action">Copy to clipboard</button>
832+ </div>
833+ </td>
834+ </tr>
835+ <tr>
836+ <td>US West (N. California) (us-west-1)</td>
837+ <td>
838+ <div class="p-code-copyable">
839+ <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>
840+ <input hidden class="p-code-copyable__input" value="ami-08f506aa75649ce2b" readonly="readonly">
841+ <button class="p-code-copyable__action">Copy to clipboard</button>
842+ </div>
843+ </td>
844+ </tr>
845+ <tr>
846+ <td>US West (Oregon) (us-west-2)</td>
847+ <td>
848+ <div class="p-code-copyable">
849+ <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>
850+ <input hidden class="p-code-copyable__input" value="ami-0c5febddf2149f5f4" readonly="readonly">
851+ <button class="p-code-copyable__action">Copy to clipboard</button>
852+ </div>
853+ </td>
854+ </tr>
855+ </tbody>
856+ </table>
857+ </div>
858+ </div>
859+ </section>
860+
861+ <section class="p-strip--light is-bordered is-shallow">
862+ <div class="row">
863+ <div class="col-12">
864+ <h3 class="p-card__title">Kubernetes 1.11</h3>
865+ <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>
866+ <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>
867+
868+ <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p>
869+ </div>
870+ </div>
871+ </section>
872 </div>
873+ </main>
874+
875+ <footer class="p-strip is-shallow">
876 <div class="row">
877- <div class="col-8">
878- <p><small>This image is customized specifically for the EKS service and is not intended as a general OS image.</small></p>
879+ <div class="col-12">
880+ &copy; 2018 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
881+ <p>
882+ <a class="p-link--external" aria-label="External link to the Ubuntu legal information page" href="https://www.ubuntu.com/legal">
883+ Legal information
884+ </a>
885+ </p>
886+
887+ <span class="u-off-screen">
888+ <a href="#">Go to the top of the page</a>
889+ </span>
890 </div>
891 </div>
892- </section>
893- </main>
894-
895- <footer class="p-strip is-shallow">
896- <div class="row">
897- <div class="col-12">
898- © 2018 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
899- <p>
900- <a class="p-link--external" aria-label="External link to the Ubuntu legal information page" href="https://www.ubuntu.com/legal">
901- Legal information
902- </a>
903- </p>
904- <span class="u-off-screen">
905- <a href="#">Go to the top of the page</a>
906- </span>
907- </div>
908- </div>
909- </footer>
910-</body>
911+ </footer>
912+
913+ <script>
914+ function setupAccordionListener(accordionContainerSelector) {
915+ const toggle = (element, show) => {
916+ element.setAttribute('aria-expanded', show);
917+ document
918+ .querySelector(element.getAttribute('aria-controls'))
919+ .setAttribute('aria-hidden', !show);
920+ }
921+
922+ document
923+ .querySelector(accordionContainerSelector)
924+ .addEventListener('click', e => {
925+ const target = e.target;
926+ const isTargetOpen = target.getAttribute('aria-expanded') === 'true';
927+
928+ if (target.classList.contains('p-accordion__tab')) {
929+ e.currentTarget
930+ .querySelectorAll('[aria-expanded=true]')
931+ .forEach(element => toggle(element, false));
932+ toggle(target, !isTargetOpen);
933+ }
934+ });
935+ }
936+
937+ setupAccordionListener('.p-accordion__list');
938+ </script>
939+
940+ <script>
941+ function setupTabs(tablistSelector) {
942+ const tablists = document.querySelectorAll(tablistSelector)
943+
944+ const attachTabEvents = (tabs) => {
945+ tabs.forEach(tab => {
946+ tab.addEventListener('click', e => {
947+ hideSibingTabs(tabs, e);
948+ toggleTab(tab, true);
949+ });
950+ });
951+ }
952+
953+ const hideSibingTabs = (tabs, event) => {
954+ tabs.forEach(tab => {
955+ if (event.target !== tab) {
956+ toggleTab(tab, false);
957+ }
958+ });
959+ }
960+
961+ const toggleTab = (tab, show) => {
962+ const targetID = tab.getAttribute('aria-controls');
963+
964+ tab.setAttribute('aria-selected', show);
965+
966+ document
967+ .querySelector(targetID)
968+ .setAttribute('aria-hidden', !show);
969+ }
970+
971+ tablists.forEach(tablist => {
972+ const tabs = tablist.querySelectorAll('[role="tab"]');
973+
974+ attachTabEvents(tabs);
975+ });
976+ }
977+
978+ setupTabs('[data-js="tablist"]');
979+ </script>
980+
981+ <script>
982+ const copyToClipboard = str => {
983+ const el = document.createElement('textarea'); // Create a <textarea> element
984+ el.value = str; // Set its value to the string that you want copied
985+ el.setAttribute('readonly', ''); // Make it readonly to be tamper-proof
986+ el.style.position = 'absolute';
987+ el.style.left = '-9999px'; // Move outside the screen to make it invisible
988+ document.body.appendChild(el); // Append the <textarea> element to the HTML document
989+ const selected =
990+ document.getSelection().rangeCount > 0 // Check if there is any content selected previously
991+ ? document.getSelection().getRangeAt(0) // Store selection if found
992+ : false; // Mark as false to know no selection existed before
993+ el.select(); // Select the <textarea> content
994+ document.execCommand('copy'); // Copy - only works as a result of a user action (e.g. click events)
995+ document.body.removeChild(el); // Remove the <textarea> element
996+ if (selected) {
997+ // If a selection existed before copying
998+ document.getSelection().removeAllRanges(); // Unselect everything on the HTML document
999+ document.getSelection().addRange(selected); // Restore the original selection
1000+ }
1001+ };
1002+
1003+ var codeCopyableActions = document.querySelectorAll(
1004+ '.p-code-copyable__action'
1005+ );
1006+
1007+ for (var codeCopyableAction of codeCopyableActions) {
1008+ codeCopyableAction.addEventListener(
1009+ 'click',
1010+ function(e) {
1011+ const clipboardValue = this.previousSibling.previousSibling.value;
1012+ copyToClipboard(clipboardValue);
1013+ },
1014+ false
1015+ );
1016+ }
1017+ </script>
1018+ </body>
1019 </html>

Subscribers

People subscribed via source and target branches