From 26b24d762feb531f4aeba8a397232cb71f9f6489 Mon Sep 17 00:00:00 2001 From: Nate W Date: Fri, 24 Mar 2023 17:38:38 -0700 Subject: [PATCH] Adding katacoda removal notices on pages with interactive tutorials Signed-off-by: Nate W --- .../configure-java-microservice-interactive.html | 2 ++ .../create-cluster/cluster-interactive.html | 2 ++ .../deploy-app/deploy-interactive.html | 2 ++ .../explore/explore-interactive.html | 2 ++ .../expose/expose-interactive.html | 2 ++ .../kubernetes-basics/scale/scale-interactive.html | 2 ++ .../update/update-interactive.html | 2 ++ data/i18n/en/en.toml | 14 ++++++++++++++ layouts/shortcodes/katacoda-removal.html | 3 +++ 9 files changed, 31 insertions(+) create mode 100644 layouts/shortcodes/katacoda-removal.html diff --git a/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive.html b/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive.html index 153137dc91a..5a424762eb3 100644 --- a/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive.html +++ b/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive.html @@ -3,6 +3,8 @@ title: "Interactive Tutorial - Configuring a Java Microservice" weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html b/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html index 8fb8cde395a..ff4989d33df 100644 --- a/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Creating a Cluster weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html index 5cbc82084d2..dabf1fda474 100644 --- a/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Deploying an App weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive.html b/content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive.html index 03561cc6a55..00a09350210 100644 --- a/content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Exploring Your App weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive.html b/content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive.html index 4cd3a26f2b6..26b78bff735 100644 --- a/content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Exposing Your App weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive.html b/content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive.html index 68e4c21d140..c782271215c 100644 --- a/content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Scaling Your App weight: 20 --- +{{% katacoda-removal %}} + diff --git a/content/en/docs/tutorials/kubernetes-basics/update/update-interactive.html b/content/en/docs/tutorials/kubernetes-basics/update/update-interactive.html index 83a216e30ad..268bc424bbf 100644 --- a/content/en/docs/tutorials/kubernetes-basics/update/update-interactive.html +++ b/content/en/docs/tutorials/kubernetes-basics/update/update-interactive.html @@ -3,6 +3,8 @@ title: Interactive Tutorial - Updating Your App weight: 20 --- +{{% katacoda-removal %}} + diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index b598f8f595e..d2f523b605a 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -133,6 +133,20 @@ other = "email address" [javascript_required] other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to view this content" +[katacoda_message] +other = """Shutdown of interactive tutorials. +

The interactive tutorials on this website are being shut down. The +Kubernetes +project hopes to reinstate a similar interactive learning option in the long +term future.

+

The shutdown follows O'Reilly Media's 2019 acquisition +of Katacoda.

+

Kubernetes is grateful to O'Reilly and Katacoda for many years of helping +people take their first steps in learning Kubernetes.

+

The tutorials will cease to function after the 31st of March +2023.

""" + [latest_release] other = "Latest Release:" diff --git a/layouts/shortcodes/katacoda-removal.html b/layouts/shortcodes/katacoda-removal.html new file mode 100644 index 00000000000..272a5b0f229 --- /dev/null +++ b/layouts/shortcodes/katacoda-removal.html @@ -0,0 +1,3 @@ +