-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Documentation search not returning relevant results. #9758
Comments
Looks like there is a |
Looks like it was introduced by bf4b937. |
Yeah, looks like an indexing isse. Even in the Google search for Kubernetes, the homepage is missing. Getting some documentation links only. |
Postmortem
Problem Summary
BackgroundIn July 2017, when kubernetes.io hosting was moved from GitHub Pages to Netlify, it enabled SIG Docs to offer additional versions of the Kubernetes documentation on separate subdomains, such as https://v1-8.docs.kubernetes.io/. Consequently, the Then, after kubernetes.io was migrated in May 2018 from using the Jekyll static site generator to Hugo, the site build commands and variables were moved into the netlify.toml file. This was done to ensure that all Hugo-based versions of the website use the proper build commands but also meant to unbury the build commands from the Netlify control panel and make the build control mechanisms more transparent. To maintain the search index cleanliness with this setup, k/website PR #9150 added the noindex directive to the default build commands. This was overridden for the production website by using the Netlify context for the However, in two separate and unrelated PRs meant to utilize the HTTP/2 server push functionality (#9225) and upgrade the site's version of Hugo (#9703), the noindex control mechanism was inadvertently dismantled and added to the layout/index.headers file (lines 4,5), which affected the ImpactKubernetes site search is crucial to document discovery. The site’s navigation is complex enough that casual users are unlikely to quickly find what they’re looking for without it. In this case, de-indexing the site’s pages crucially handicapped site search. Furthermore, many users access Kubernetes documentation not via site search but rather via ordinary Google searches. When Kubernetes pages are no longer accessible via Google search, one would expect a sharp diminution in general site traffic, and that is precisely what happened in this case. Root Causes and TriggerPull request #9225 inadvertently caused a Lessons LearnedThere are a handful of lessons to be derived from this experience:
Things that went well:
Things that went poorly:
Where we got lucky:
Action Items
Timeline
Additional items in followup meeting
|
This is a...
Problem:
Documentation search is not returning relevant results. For example try searching for pods, daemonset, static pod, ingress. This is happening from the past few days.
Search results for pod.
Search result for Daemonset.
Proposed Solution:
Include the most relevant results first for the searched term.
Page to Update:
https://kubernetes.io/docs
The text was updated successfully, but these errors were encountered: