mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-25 00:50:15 +08:00
translated
This commit is contained in:
parent
c128af6da3
commit
58808a59ff
@ -1,71 +0,0 @@
|
|||||||
[#]: subject: (Explore the Kubernetes ecosystem in 2021)
|
|
||||||
[#]: via: (https://opensource.com/article/21/6/kubernetes-ebook)
|
|
||||||
[#]: author: (Chris Collins https://opensource.com/users/clcollins)
|
|
||||||
[#]: collector: (lujun9972)
|
|
||||||
[#]: translator: (geekpi)
|
|
||||||
[#]: reviewer: ( )
|
|
||||||
[#]: publisher: ( )
|
|
||||||
[#]: url: ( )
|
|
||||||
|
|
||||||
Explore the Kubernetes ecosystem in 2021
|
|
||||||
======
|
|
||||||
This downloadable guide is full of helpful tutorials to get SREs and
|
|
||||||
sysadmins comfortable using Kubernetes.
|
|
||||||
![A ship wheel with someone steering][1]
|
|
||||||
|
|
||||||
Kubernetes, the de facto standard for container orchestration, has quickly grown to dominate the container environment both in terms of infrastructure management and application development. As an open source platform with a huge community of enthusiasts and professionals, and being a part of the Cloud Native Computing Foundation, Kubernetes has become not only a powerful and impressive orchestration system itself but it has fostered a huge ecosystem of related tools and services to make it easier to use and extend its functionality with ever more powerful and sophisticated components.
|
|
||||||
|
|
||||||
In this new eBook, [_A guide to Kubernetes for SREs and sysadmins_][2], [Jess Cherry][3] (with contribution by Ben Finkel) covers a slew of these related tools and services, for management of and integration with Kubernetes. Cherry and Finkel provide some helpful _getting started_ guides, both for Kubernetes and some of the tools. They even share interview questions to help prepare readers for jobs within this quick-growing, massive ecosystem.
|
|
||||||
|
|
||||||
### Getting to know Kubernetes
|
|
||||||
|
|
||||||
If you're just getting started with Kubernetes and containers, Ben Finkel's _[Getting started with Kubernetes][4]_ is both appropriately titled and an excellent introduction to the relevant concepts you need to understand in order to jump in. It's also a lightweight quickstart guide for setting up and using a single-node cluster for testing. There's no better way to learn than to get your hands on the technology and dive right in. What's a Pod? How do you deploy an application on the cluster? Ben's got you covered.
|
|
||||||
|
|
||||||
The primary way to interact with a cluster is the [**kubectl**][5] command—a CLI utility that provides a human-accessible way to interact with the API servers that manage the cluster itself. For example, you can use **kubectl get** to list the aforementioned Pods and Deployments, but as you'd expect with something as complex as Kubernetes, its CLI interface has a ton of power and flexibility. Jess Cherry's [_9 kubectl commands sysadmins need to know_][6] cheat sheet is a great introduction and a good way to get started using **kubectl**.
|
|
||||||
|
|
||||||
Similarly, Cherry's _[Kubernetes namespaces for beginners][7]_ does a good job of explaining what namespaces are and how they're used within Kubernetes.
|
|
||||||
|
|
||||||
### Simplify working with Kubernetes
|
|
||||||
|
|
||||||
Working with a complex system can be difficult, especially with a powerful but minimal CLI tool like **kubectl**. Luckily within the ecosystem surrounding Kubernetes, there are a number of tools available to simplify things and make scaling services and cluster management easier.
|
|
||||||
|
|
||||||
The **kubectl** command can be used to deploy and maintain applications and services on Kubernetes, primarily with YAML and JSON. ****Once you begin to manage more than just a few applications; however, doing so with large repositories of YAML can become both repetitive and tedious. A good solution can be to embrace a templated system to handle your deployments. [Helm][8] is one such tool, dubbed _a package manager for Kubernetes_, Helm provides a convenient way to package and share applications. Cherry has written a number of helpful articles about Helm: guides for creating effective [Helm charts][9] and helpful [Helm commands][10].
|
|
||||||
|
|
||||||
**Kubectl** also provides you with a lot of information about the cluster itself, what’s running on it, and events that are occurring. These can be seen and interacted with using **kubectl** but sometimes it helps to have a more visual GUI to interact with. [K9s][11] fits between both worlds. While still a terminal application, it provides visual feedback and a way to interact with the cluster without long **kubectl** commands. Cherry has also written a good guide to [getting started with k9s][12].
|
|
||||||
|
|
||||||
### Extensions build on Kubernetes power and flexibility
|
|
||||||
|
|
||||||
Luckily, despite being complex and powerful, Kubernetes is amazingly flexible and open source. It focuses on its core strength—container orchestration—and has allowed the community of enthusiasts and professionals that surround it to extend its abilities to take on different types of workloads. One such example is [Knative][13], providing components on top of Kubernetes to provide tools for serverless and event-driven services, and taking advantage of Kubernetes’ orchestration prowess to run minimal microservices in containers. This, it turns out, is extremely efficient, providing both the benefits of developing small, easily tested and maintained applications in containers and the cost benefits of running them only as needed, triggered on specific events but otherwise dormant.
|
|
||||||
|
|
||||||
In this eBook, Cherry provides a look at both Knative and its eventing system, and why it is worthwhile to investigate using Knative yourself.
|
|
||||||
|
|
||||||
### There’s a whole world to explore
|
|
||||||
|
|
||||||
Get started with Kubernetes and the ecosystem surrounding it with this new [eBook][2] by Jess Cherry and Ben Finkel. In addition to the topics above, there are a number of other great articles about helpful Kubernetes extensions and third-party tools.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
via: https://opensource.com/article/21/6/kubernetes-ebook
|
|
||||||
|
|
||||||
作者:[Chris Collins][a]
|
|
||||||
选题:[lujun9972][b]
|
|
||||||
译者:[译者ID](https://github.com/译者ID)
|
|
||||||
校对:[校对者ID](https://github.com/校对者ID)
|
|
||||||
|
|
||||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|
||||||
|
|
||||||
[a]: https://opensource.com/users/clcollins
|
|
||||||
[b]: https://github.com/lujun9972
|
|
||||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/ship_wheel_gear_devops_kubernetes.png?itok=xm4a74Kv (A ship wheel with someone steering)
|
|
||||||
[2]: https://opensource.com/downloads/kubernetes-sysadmin
|
|
||||||
[3]: https://opensource.com/users/cherrybomb
|
|
||||||
[4]: https://opensource.com/article/17/11/getting-started-kubernetes
|
|
||||||
[5]: https://kubernetes.io/docs/reference/kubectl/kubectl/
|
|
||||||
[6]: https://opensource.com/article/20/5/kubectl-cheat-sheet
|
|
||||||
[7]: https://opensource.com/article/19/12/kubernetes-namespaces
|
|
||||||
[8]: https://helm.sh/
|
|
||||||
[9]: https://opensource.com/article/20/5/helm-charts
|
|
||||||
[10]: https://opensource.com/article/20/2/kubectl-helm-commands
|
|
||||||
[11]: https://k9scli.io/
|
|
||||||
[12]: https://opensource.com/article/20/5/kubernetes-administration
|
|
||||||
[13]: https://cloud.google.com/knative/
|
|
@ -0,0 +1,70 @@
|
|||||||
|
[#]: subject: (Explore the Kubernetes ecosystem in 2021)
|
||||||
|
[#]: via: (https://opensource.com/article/21/6/kubernetes-ebook)
|
||||||
|
[#]: author: (Chris Collins https://opensource.com/users/clcollins)
|
||||||
|
[#]: collector: (lujun9972)
|
||||||
|
[#]: translator: (geekpi)
|
||||||
|
[#]: reviewer: ( )
|
||||||
|
[#]: publisher: ( )
|
||||||
|
[#]: url: ( )
|
||||||
|
|
||||||
|
在 2021 年探索 Kubernetes 生态系统
|
||||||
|
======
|
||||||
|
这份可下载的指南充满了有用的教程,让 SRE 和系统管理员使用 Kubernetes 获得便利。
|
||||||
|
![A ship wheel with someone steering][1]
|
||||||
|
|
||||||
|
Kubernetes 是容器编排的事实标准,在基础设施管理和应用开发方面已经迅速发展成为容器环境的主导。作为一个拥有庞大的爱好者和专业人士社区的开源平台,以及作为云原生计算基金会的一部分,Kubernetes 不仅成为一个强大而令人印象深刻的编排系统本身,而且它还促进了一个庞大的相关工具和服务的生态系统,使其更容易使用,并通过更强大和复杂的组件扩展其功能。
|
||||||
|
|
||||||
|
在这本新的电子书中,[给 SRE 和系统管理员的 Kubernetes 指导_][2],[Jess Cherry][3](Ben Finkel 也有贡献)涵盖了一系列相关的工具和服务,用于管理和整合 Kubernetes。Cherry 和 Finkel 提供了一些有用的_入门_指南,包括 Kubernetes 和一些工具。他们甚至还分享了面试问题,以帮助读者为在这个快速增长的大规模生态系统中工作做好准备。
|
||||||
|
|
||||||
|
### 了解 Kubernetes
|
||||||
|
|
||||||
|
如果你刚开始接触 Kubernetes 和容器,Ben Finkel 的 _[Kubernetes 入门][4]_既是恰当的标题,也是对你需要了解的相关概念的出色介绍。它也是一本轻量级的快速入门指南,用于设置和使用单节点集群进行测试。没有什么比亲身体验技术并直接进入学习更好的方法了。什么是 Pod? 如何在集群上部署一个应用程序? Ben 为你介绍。
|
||||||
|
|
||||||
|
与集群交互的主要方式是 [**kubectl**][5] 命令,一种 CLI 工具,它提供了一种人类可以访问的方式,与管理集群本身的 API 服务器交互。例如,你可以使用 **kubectl get** 来列出上述的 Pod 和部署,但正如你对 Kubernetes 这样复杂的东西所期望的那样,它的 CLI 界面有很强的功能和灵活性。Jess Cherry 的 [_9 个系统管理员需要知道的 kubectl 命令_][6]速记是一个很好的介绍,是开始使用 **kubectl** 的好方法。
|
||||||
|
|
||||||
|
同样,Cherry 的_[给初学者的 Kubernetes 命令空间[7]_也很好地解释了什么是命名空间以及它们在 Kubernetes 中的使用方式。
|
||||||
|
|
||||||
|
### 简化与 Kubernetes 的工作
|
||||||
|
|
||||||
|
在一个复杂的系统中工作是很困难的,尤其是像 **kubectl** 这样强大但最小的 CLI 工具。幸运的是,在围绕 Kubernetes 的生态系统中,有许多工具可用于简化事情,使扩展服务和集群管理更容易。
|
||||||
|
|
||||||
|
**kubectl** 命令可用于在 Kubernetes 上部署和维护应用和服务,主要是使用 YAML 和 JSON。 一旦你开始管理超过几个应用,然而,用 YAML 的大型仓库这样做会变得既重复又乏味。一个好的解决方案是采用一个模板化的系统来处理你的部署。[Helm][8]就是这样一个工具,被称为 _Kubernetes 的包管理器_,Helm 提供了一种方便的方式来打包和共享应用。Cherry 写了很多关于 Helm 的有用文章:创建有效的 [Helm 图表][9]和有用的 [Helm 命令][10]。
|
||||||
|
|
||||||
|
**kubectl** 也为你提供了很多关于集群本身的信息:上面运行的是什么,以及正在发生的事件。这些信息可以通过 **kubectl** 来查看和交互,但有时有一个更直观的 GUI 来进行交互是有帮助的。[K9s][11] 符合这两个世界的要求。虽然它仍然是一个终端应用,但它提供了视觉反馈和一种与集群交互的方式,而不需要长长的 **kubectl** 命令。Cherry 也写了一份很好的[开始使用 k9s][12] 的指南。
|
||||||
|
|
||||||
|
### 建立在 Kubernetes 的强大和灵活性之上的扩展
|
||||||
|
|
||||||
|
幸运的是,尽管 Kubernetes 是复杂而强大的,但它惊人的灵活和开源。它专注于其核心优势:容器编排,并允许围绕它的爱好者和专业人士社区扩展其能力,以承担不同类型的工作负载。其中一个例子是 [Knative][13],在 Kubernetes 之上提供组件,它为无服务器和事件驱动的服务提供工具,并利用 Kubernetes 的编排能力在容器中运行最小的微服务。事实证明,这样做非常高效,既能提供在容器中开发小型、易于测试和维护的应用的好处,又能提供仅在需要时运行这些应用的成本优势,在特定事件中被触发,但在其他时候处于休眠。
|
||||||
|
|
||||||
|
在这本电子书中,Cherry 介绍了 Knative 和它的事件系统,以及为什么值得自己研究使用 Knative。
|
||||||
|
|
||||||
|
### 有一个完整的世界可以探索
|
||||||
|
|
||||||
|
通过 Jess Cherry 和 Ben Finkel 的这本新的[电子书][2],可以开始了解 Kubernetes 和围绕它的生态系统。除了上述主题外,还有一些关于有用的 Kubernetes 扩展和第三方工具的文章。
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
via: https://opensource.com/article/21/6/kubernetes-ebook
|
||||||
|
|
||||||
|
作者:[Chris Collins][a]
|
||||||
|
选题:[lujun9972][b]
|
||||||
|
译者:[geekpi](https://github.com/geekpi)
|
||||||
|
校对:[校对者ID](https://github.com/校对者ID)
|
||||||
|
|
||||||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||||
|
|
||||||
|
[a]: https://opensource.com/users/clcollins
|
||||||
|
[b]: https://github.com/lujun9972
|
||||||
|
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/ship_wheel_gear_devops_kubernetes.png?itok=xm4a74Kv (A ship wheel with someone steering)
|
||||||
|
[2]: https://opensource.com/downloads/kubernetes-sysadmin
|
||||||
|
[3]: https://opensource.com/users/cherrybomb
|
||||||
|
[4]: https://opensource.com/article/17/11/getting-started-kubernetes
|
||||||
|
[5]: https://kubernetes.io/docs/reference/kubectl/kubectl/
|
||||||
|
[6]: https://opensource.com/article/20/5/kubectl-cheat-sheet
|
||||||
|
[7]: https://opensource.com/article/19/12/kubernetes-namespaces
|
||||||
|
[8]: https://helm.sh/
|
||||||
|
[9]: https://opensource.com/article/20/5/helm-charts
|
||||||
|
[10]: https://opensource.com/article/20/2/kubectl-helm-commands
|
||||||
|
[11]: https://k9scli.io/
|
||||||
|
[12]: https://opensource.com/article/20/5/kubernetes-administration
|
||||||
|
[13]: https://cloud.google.com/knative/
|
Loading…
Reference in New Issue
Block a user