Merge pull request #33759 from Sea-n/case-study-wiki

[zh] Sync Wikimedia case-study
pull/33954/head
Kubernetes Prow Robot 2022-05-25 02:34:44 -07:00 committed by GitHub
commit 7141f5efa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 140 additions and 109 deletions

View File

@ -1,118 +1,148 @@
---
title: 案例研究Wikimedia
class: gridPage
case_study_styles: true
cid: caseStudies
new_case_study_styles: true
heading_title_text: Wikimedia
use_gradient_overlay: true
subheading: >
利用 Kubernetes 构建工具提升世界的维基
case_study_details:
- 公司: Wikimedia
- 地点: 加州旧金山
---
<!--
title: Wikimedia Case Study
case_study_styles: true
cid: caseStudies
<section id="hero" class="light-text">
<h1> 案例研究Wikimedia</h1>
</section>
new_case_study_styles: true
heading_title_text: Wikimedia
use_gradient_overlay: true
subheading: >
Using Kubernetes to Build Tools to Improve the World's Wikis
case_study_details:
- Company: Wikimedia
- Location: San Francisco, CA
-->
<!--
<p>The non-profit Wikimedia Foundation operates some of the largest collaboratively edited reference projects in the world, including Wikipedia. To help users maintain and use wikis, it runs Wikimedia Tool Labs, a hosting environment for community developers working on tools and bots to help editors and other volunteers do their work, including reducing vandalism. The community around Wikimedia Tool Labs began forming nearly 10 years ago.</p>
-->
<p>非营利的 Wikimedia 基金会运营着一些世界上最大的合作编辑参考项目,包括 Wikipedia。为了帮助用户维护和使用 wiki它运行 Wikimedia 工具实验室这是一个托管环境为社区开发人员工作的工具和机器人以帮助编辑和其他志愿者做他们的工作包括减少破坏。Wikimedia 工具实验室周围的社区在近 10 年前开始形成。</p>
<!--
{{< case-studies/quote author="Yuvi Panda, operations engineer at Wikimedia Foundation and Wikimedia Tool Labs">}}
<section id="mainContent">
<main>
<div class="content">
<!-- <h3 id="caseStudyTitle">Using Kubernetes to Build Tools to Improve the World's Wikis</h3> -->
<h3 id="caseStudyTitle">利用 Kubernetes 构建工具提升世界的维基</h3>
<p>
<!-- The non-profit Wikimedia Foundation operates some of the largest collaboratively edited reference projects in the world, including Wikipedia. To help users maintain and use wikis, it runs Wikimedia Tool Labs, a hosting environment for community developers working on tools and bots to help editors and other volunteers do their work, including reducing vandalism. The community around Wikimedia Tool Labs began forming nearly 10 years ago. -->
非营利的 Wikimedia 基金会运营着一些世界上最大的合作编辑参考项目,包括 Wikipedia。为了帮助用户维护和使用 wiki它运行 Wikimedia 工具实验室这是一个托管环境为社区开发人员工作的工具和机器人以帮助编辑和其他志愿者做他们的工作包括减少破坏。Wikimedia 工具实验室周围的社区在近10年前开始形成。
</p>
<div class="feature">
<img src="/images/wikimedia_logo.png" alt="Wikimedia">
<p class="quote">
<!-- "Wikimedia Tool Labs is vital for making sure wikis all around the world work as well as they possibly can. Because it's grown organically for almost 10 years, it has become an extremely challenging environment and difficult to maintain. It's like a big ball of mud — you really can't see through it. With Kubernetes, we're simplifying the environment and making it easier for developers to build the tools that make wikis run better." -->
“ Wikimedia 工具实验室对于确保世界各地的 wiki 尽可能工作至关重要。因为它有机地生长了近10年它已成为一个极具挑战性的环境难以维持。它就像一个大的泥球你真的看不透它。借助 Kubernetes可以简化环境使开发人员能够更轻松地构建使 wiki 运行得更好的工具。”
</p>
<!-- <p class="attrib">— Yuvi Panda, operations engineer at Wikimedia Foundation and Wikimedia Tool Labs</p> -->
<p class="attrib">— Yuvi Panda, Wikimedia 基金会和 Wikimedia 工具实验室的运维工程师</p>
</div>
</div>
</main>
</section>
<br>
<br>
"Wikimedia Tool Labs is vital for making sure wikis all around the world work as well as they possibly can. Because it's grown organically for almost 10 years, it has become an extremely challenging environment and difficult to maintain. It's like a big ball of mud — you really can't see through it. With Kubernetes, we're simplifying the environment and making it easier for developers to build the tools that make wikis run better."
{{< /case-studies/quote >}}
-->
{{< case-studies/quote author="Yuvi Panda, Wikimedia 基金会和 Wikimedia 工具实验室的运维工程师">}}
<section class="bullets">
<main>
<div class="content">
<div class="bullet">
<h4>挑战:</h4>
<img src="/images/wikimedia_logo.png" alt="Wikimedia">
<br>
<br>
“Wikimedia 工具实验室对于确保世界各地的 wiki 尽可能正常运行至关重要。因为它有机地生长了近 10 年,所以它已成为一个极具挑战性且难以维护的环境。它就像一个大的泥球,你真的看不透它。借助 Kubernetes我们正在简化环境并让开发人员更容易构建出使 wiki 更好运行的工具。”
{{< /case-studies/quote >}}
<!--
<h2>Challenges</h2>
-->
<h2>挑战</h2>
<!--
<ul>
<li>Simplify a complex, difficult-to-manage infrastructure</li>
<li>Allow developers to continue writing tools and bots using existing techniques</li>
</ul>
-->
<ul>
<!-- <li>Simplify a complex, difficult-to-manage infrastructure</li> -->
<li>简化复杂、难以管理的基础架构</li>
<!-- <li>Allow developers to continue writing tools and bots using existing techniques</li> -->
<li>允许开发人员使用现有技术继续编写工具和机器人</li>
</ul>
</div>
<div class="bullet">
<!-- <h4>Why Kubernetes:</h4> -->
<h4>为什么要使用 Kubernetes</h4>
<!--
<h2>Why Kubernetes</h2>
-->
<h2>为什么要使用 Kubernetes</h2>
<ul>
<!-- <li>Wikimedia Tool Labs chose Kubernetes because it can mimic existing workflows, while reducing complexity</li> -->
<!--
<li>Wikimedia Tool Labs chose Kubernetes because it can mimic existing workflows, while reducing complexity</li>
-->
<li>Wikimedia 工具实验室之所以选择 Kubernetes是因为它可以模仿现有的工作流程同时降低复杂性。</li>
</ul>
</div>
<div class="bullet">
<!-- <h4>Approach:</h4> -->
<h4>解决方案:</h4>
<!--
<h2>Approach</h2>
-->
<h2>解决方案</h2>
<ul>
<!-- <li>Migrate old systems and a complex infrastructure to Kubernetes</li> -->
<li>将旧系统和复杂的基础设施迁移到库贝内特斯</li>
<!--
<li>Migrate old systems and a complex infrastructure to Kubernetes</li>
-->
<li>将旧系统和复杂的基础设施迁移到 Kubernetes</li>
</ul>
</div>
<div class="bullet">
<!-- <h4>Results:</h4> -->
<h4>结果:</h4>
<!--
<h2>Results</h2>
-->
<h2>结果</h2>
<!--
<ul>
<!-- <li>20 percent of web tools that account for more than 40 percent of web traffic now run on Kubernetes</li> -->
<li>占 Web 流量 40% 以上的 Web 工具的 20% 现在都在 Kubernetes 上运行</li>
<!-- <li>A 25-node cluster that keeps up with each new Kubernetes release</li> -->
<li>20 percent of web tools that account for more than 40 percent of web traffic now run on Kubernetes</li>
<li>A 25-node cluster that keeps up with each new Kubernetes release</li>
<li>Thousands of lines of old code have been deleted, thanks to Kubernetes</li>
</ul>
-->
<ul>
<li>现在占 Web 流量 40% 以上的 20% Web 工具都在 Kubernetes 上运行</li>
<li>一个 25 节点集群可跟上每个新 Kubernetes 版本</li>
<!-- <li>Thousands of lines of old code have been deleted, thanks to Kubernetes</li> -->
<li>由于 Kubernetes 数千行旧代码被删除</li>
<li>多亏了 Kubernetes数千行旧代码可被删除</li>
</ul>
</div>
</div>
</main>
</section>
<section class="details">
<main>
<div class="content">
<!-- <h4>Using Kubernetes to provide tools for maintaining wikis</h4> -->
<h4>使用 Kubernetes 提供维护 wiki 的工具</h4>
<p>
<!-- Wikimedia Tool Labs is run by a staff of four-and-a-half paid employees and two volunteers. The infrastructure didn't make it easy or intuitive for developers to build bots and other tools to make wikis work more easily. Yuvi says, "It's incredibly chaotic. We have lots of Perl and Bash duct tape on top of it. Everything is super fragile." -->
Wikimedia 工具实验室由四名半付费员工和两名志愿者管理。基础架构无法使开发人员轻松或直观地构建机器人和其他工具,使 wiki 更易于工作。Yuvi说“它非常混乱。我们有很多的 Perl 和 Bash 缠绕在上面。一切都是超级脆弱。”
</p>
<p>
<!-- To solve the problem, Wikimedia Tool Labs migrated parts of its infrastructure to Kubernetes, in preparation for eventually moving its entire system. Yuvi said Kubernetes greatly simplifies maintenance. The goal is to allow developers creating bots and other tools to use whatever development methods they want, but make it easier for the Wikimedia Tool Labs to maintain the required infrastructure for hosting and sharing them. -->
为了解决这个问题Wikimedia 工具实验室将其部分基础设施迁移到了 Kubernetes为最终迁移整个系统做准备。Yuvi 说Kubernetes 大大简化了维护。目标是允许创建机器人和其他工具的开发人员使用他们想要的任何开发方法,但使 Wikimedia 工具实验室更容易维护托管和共享它们所需的基础结构。
</p>
<p>
<!-- "With Kubernetes, I've been able to remove a lot of our custom-made code, which makes everything easier to maintain. Our users' code also runs in a more stable way than previously," says Yuvi. -->
“借助 Kubernetes我能够删除大量我们定制的代码这使得所有内容更易于维护。我们的用户代码也以比以前更稳定的方式运行” Yuvi 说。
</p>
</div>
</main>
</section>
<!--
<h2>Using Kubernetes to provide tools for maintaining wikis</h2>
-->
<h2>使用 Kubernetes 提供维护 wiki 的工具</h2>
<section class="details">
<main>
<div class="content">
<!-- <h4>Simplifying infrastructure and keeping wikis running better</h4> -->
<h4>简化基础架构让 wiki 更好地运行</h4>
<p>
<!-- Wikimedia Tool Labs has seen great success with the initial Kubernetes deployment. Old code is being simplified and eliminated, contributing developers don't have to change the way they write their tools and bots, and those tools and bots run in a more stable fashion than they have in the past. The paid staff and volunteers are able to better keep up with fixing issues. -->
Wikimedia 工具实验室在最初的 Kubernetes 部署中取得了巨大成功。旧代码正在被简化和消除,使开发人员不必改变他们编写工具和机器人的方式,这些工具和机器人的运行方式比过去更稳定。付费员工和志愿者能够更好地解决问题。
</p>
<p>
<!-- In the future, with a more complete migration to Kubernetes, Wikimedia Tool Labs expects to make it even easier to host and maintain the bots and tools that help run wikis across the world. The tool labs already host approximately 1,300 tools and bots from 800 volunteers, with many more being submitted every day. Twenty percent of the tool labs' web tools that account for more than 60 percent of web traffic now run on Kubernetes. The tool labs has a 25-node cluster that keeps up with each new Kubernetes release. Many existing web tools are migrating to Kubernetes. -->
将来,随着更完整的迁移到 KubernetesWikimedia 工具实验室希望使托管和维护帮助在世界各地运行 wiki 的机器人和工具变得更加容易。该工具实验室已经托管了来自 800 名志愿者的大约 1300 个工具和机器人,每天提交更多工具和机器人。占 Web 流量 60% 以上的 20% 的工具实验室 Web 工具现在运行在 Kubernetes 上。该工具实验室有一个 25 节点群集,可跟上每个新的 Kubernetes 版本。许多现有的 Web 工具正在迁移到 Kubernetes。
</p>
<p>
<!-- "Our goal is to make sure that people all over the world can share knowledge as easily as possible. Kubernetes helps with that, by making it easier for wikis everywhere to have the tools they need to thrive," says Yuvi. -->
“我们的目标是确保世界各地的人们能够尽可能轻松地分享知识。Kubernetes 通过让世界各地的 wiki 更容易拥有蓬勃发展所需的工具,从而帮助到您,” Yuvi 说。
</p>
</div>
</main>
</section>
<!--
<p>Wikimedia Tool Labs is run by a staff of four-and-a-half paid employees and two volunteers. The infrastructure didn't make it easy or intuitive for developers to build bots and other tools to make wikis work more easily. Yuvi says, "It's incredibly chaotic. We have lots of Perl and Bash duct tape on top of it. Everything is super fragile."</p>
-->
<p>Wikimedia 工具实验室由四个半带薪员工和两名志愿者管理。基础架构无法使开发人员轻松或直观地构建机器人和其他工具,使 wiki 更易于工作。Yuvi 说,“它非常混乱,我们有很多的 Perl 和 Bash 缠绕在上面,一切都是超级脆弱。”</p>
<!--
<p>To solve the problem, Wikimedia Tool Labs migrated parts of its infrastructure to Kubernetes, in preparation for eventually moving its entire system. Yuvi said Kubernetes greatly simplifies maintenance. The goal is to allow developers creating bots and other tools to use whatever development methods they want, but make it easier for the Wikimedia Tool Labs to maintain the required infrastructure for hosting and sharing them.</p>
-->
<p>为了解决这个问题Wikimedia 工具实验室将其部分基础设施迁移到了 Kubernetes为最终迁移整个系统做准备。Yuvi 说Kubernetes 大大简化了维护。目标是允许创建机器人和其他工具的开发人员使用他们想要的任何开发方法,但使 Wikimedia 工具实验室更容易维护托管和共享它们所需的基础结构。</p>
<!--
<p>"With Kubernetes, I've been able to remove a lot of our custom-made code, which makes everything easier to maintain. Our users' code also runs in a more stable way than previously," says Yuvi.</p>
-->
<p>Yuvi 说:“借助 Kubernetes我能够删除大量我们定制的代码这使得所有内容更易于维护我们的用户代码也以比以前更稳定的方式运行。”</p>
<!--
<h2>Simplifying infrastructure and keeping wikis running better</h2>
-->
<h2>简化基础架构让 wiki 更好地运行</h2>
<!--
<p>Wikimedia Tool Labs has seen great success with the initial Kubernetes deployment. Old code is being simplified and eliminated, contributing developers don't have to change the way they write their tools and bots, and those tools and bots run in a more stable fashion than they have in the past. The paid staff and volunteers are able to better keep up with fixing issues.</p>
-->
<p>Wikimedia 工具实验室在最初的 Kubernetes 部署中取得了巨大成功。旧代码正在被简化和消除,使开发人员不必改变他们编写工具和机器人的方式,这些工具和机器人的运行方式比过去更稳定。带薪员工和志愿者能够更好地解决问题。</p>
<!--
<p>In the future, with a more complete migration to Kubernetes, Wikimedia Tool Labs expects to make it even easier to host and maintain the bots and tools that help run wikis across the world. The tool labs already host approximately 1,300 tools and bots from 800 volunteers, with many more being submitted every day. Twenty percent of the tool labs' web tools that account for more than 60 percent of web traffic now run on Kubernetes. The tool labs has a 25-node cluster that keeps up with each new Kubernetes release. Many existing web tools are migrating to Kubernetes.</p>
-->
<p>将来,随着更完整的迁移到 KubernetesWikimedia 工具实验室希望更轻松地托管和维护有助于在世界各地运行 wiki 的机器人和工具。该工具实验室已经拥有来自 800 名志愿者的大约 1300 个工具和机器人,而且每天提交量会更多。占 Web 流量 60% 以上的工具实验室的 Web 工具中有 20% 现在运行在 Kubernetes 上。工具实验室有一个 25 节点的集群,可以跟上每个新的 Kubernetes 版本。许多现有的 Web 工具正在迁移到 Kubernetes。</p>
<!--
<p>"Our goal is to make sure that people all over the world can share knowledge as easily as possible. Kubernetes helps with that, by making it easier for wikis everywhere to have the tools they need to thrive," says Yuvi.</p>
-->
<p>Yuvi 说“我们的目标是确保世界各地的人们能够尽可能轻松地分享知识Kubernetes 帮助实现了这一点,它让世界各地的 wiki 更容易拥有蓬勃发展所需的工具。”</p>

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 215 127"><defs><style>.cls-1{fill:transparent;}.cls-2{fill:#900;}.cls-3{fill:#069;}.cls-4{fill:#396;}.cls-5{fill:#484848;}</style></defs><title>kubernetes.io-logos2</title><rect class="cls-1" x="-3.75123" y="-4.36563" width="223.25536" height="134.51136"/><circle id="circle3" class="cls-2" cx="107.84735" cy="21.48597" r="15.77727"/><path id="path5" class="cls-3" d="M139.7013,18.0353l-8.93976,8.9394a34.71,34.71,0,1,1-45.8277,0l-8.93975-8.93975a47.33269,47.33269,0,1,0,63.70721.00035Z"/><path id="path7" class="cls-4" d="M104.69189,46.73345,89.41109,31.45229a28.38989,28.38989,0,0,0,15.2808,49.812Zm21.59242-15.28116L111.00315,46.7331V81.26427a28.39011,28.39011,0,0,0,15.28116-49.812Z"/><path id="path9" class="cls-5" d="M170.3688,119.11393h-4.10315l-1.08337-2.69545H159.411l-1.103,2.69545h-4.10314l5.87686-13.29007h4.42955Zm-6.10686-5.00735-1.94656-4.85378-1.9648,4.85378Zm-11.848,5.00735h-3.99937V105.82386h3.999v13.29007Zm-6.49357-6.40066a6.31385,6.31385,0,0,1-.74329,3.27677,7.01233,7.01233,0,0,1-1.74987,2.003,6.32532,6.32532,0,0,1-3.99445,1.12088h-7.16393V105.82387h5.51678a14.9088,14.9088,0,0,1,2.13134.13008,9.38954,9.38954,0,0,1,1.59455.365,6.28678,6.28678,0,0,1,1.20678.52942,6.20368,6.20368,0,0,1,.89089.63,6.10431,6.10431,0,0,1,1.19346,1.31337,6.40745,6.40745,0,0,1,.81516,1.75478A7.42171,7.42171,0,0,1,145.92035,112.71327Zm-4.0758-.1725a4.43822,4.43822,0,0,0-.61812-2.5247,3.02773,3.02773,0,0,0-1.48516-1.21205,5.25783,5.25783,0,0,0-1.76775-.30678h-1.7057v7.86689h1.7057a4.88661,4.88661,0,0,0,2.7214-.74714Q141.84454,114.86915,141.84455,112.54077Zm-12.2684,6.57316H119.566V105.82386h9.84712v2.67337H123.565v2.4325h5.57919v2.67337H123.565v2.83815h6.01113Zm-13.38193,0h-3.99936v-7.70246l-3.61614,4.45935h-.3166l-3.62632-4.45935v7.70246h-3.88962V105.82386h3.63052l4.08632,4.98562,4.10524-4.98562h3.62632l-.00036,13.29007Zm-18.80965,0H93.38591V105.82386h3.99866Zm-5.76291,0h-4.8892l-5.081-6.22326v6.22326H77.65282V105.82386h3.99866v5.94978l4.81312-5.94978H90.817l-4.9467,6.22325Zm-17.34132,0h-3.999V105.82386h3.999v13.29007Zm-5.859-13.29041-5.752,13.46537h-2.32L56.898,111.455l-3.53761,7.83394H51.02114l-5.637-13.46537h4.15118l2.761,7.36272,3.16351-7.36272h2.86656l3.10567,7.36272,2.88548-7.36272Z"/></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB