Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn interactive tutorials into custom 404 pages #46323

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Creating a Cluster
title: Not found
# This page was previously titled "Interactive Tutorial - Creating a Cluster"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Deploying an App
title: Not found
# This page was previously titled "Interactive Tutorial - Deploying an App"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Exploring Your App
title: Not found
# This page was previously titled "Interactive Tutorial - Exploring Your App"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Exposing Your App
title: Not found
# This page was previously titled "Interactive Tutorial - Exposing Your App"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Scaling Your App
title: Not found
# This page was previously titled "Interactive Tutorial - Scaling Your App"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
title: Interactive Tutorial - Updating Your App
title: Not found
# This page was previously titled "Interactive Tutorial - Updating Your App"
# before Katacoda shut down.
#
# There is no need to localize this Not Found page; the website automatically
# serves a 404 response when a page is missing. If you have an existing localized
# version of this page, it is OK to remove that localized version.
weight: 20
headless: true
toc_hide: true
Expand Down
8 changes: 8 additions & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
/docs/reference/kubectl/cheatsheet/ /docs/reference/kubectl/quick-reference/ 301
/kubectlguide /docs/reference/kubectl/quick-reference/ 302

# Serve custom "not found" pages
/docs/tutorials/kubernetes-basics/expose/expose-interactive/ /docs/tutorials/kubernetes-basics/expose/expose-interactive-gone/ 404
/docs/tutorials/kubernetes-basics/scale/scale-interactive/ /docs/tutorials/kubernetes-basics/scale/scale-interactive-gone/ 404
/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive/ /docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive-gone/ 404
/docs/tutorials/kubernetes-basics/explore/explore-interactive/ /docs/tutorials/kubernetes-basics/explore/explore-interactive-gone/ 404
/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive/ /docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive-gone/ 404
/docs/tutorials/kubernetes-basics/update/update-interactive/ /docs/tutorials/kubernetes-basics/update/update-interactive-gone/ 404

/docs/concepts/abstractions/controllers/garbage-collection/ /docs/concepts/workloads/controllers/garbage-collection/ 301
/docs/concepts/abstractions/controllers/statefulsets/ /docs/concepts/workloads/controllers/statefulset/ 301
/docs/concepts/abstractions/init-containers/ /docs/concepts/workloads/pods/init-containers/ 301
Expand Down