---
title: 教程
main_menu: true
no_list: true
weight: 60
content_type: concept
---
<!--
title: Tutorials
main_menu: true
no_list: true
weight: 60
content_type: concept
-->

<!-- overview -->
<!--
This section of the Kubernetes documentation contains tutorials.
A tutorial shows how to accomplish a goal that is larger than a single
[task](/docs/tasks/). Typically a tutorial has several sections,
each of which has a sequence of steps.
Before walking through each tutorial, you may want to bookmark the
[Standardized Glossary](/docs/reference/glossary/) page for later references.
-->
Kubernetes 文档的这一部分包含教程。
每个教程展示了如何完成一个比单个[任务](/zh-cn/docs/tasks/)更大的目标。
通常一个教程有几个部分，每个部分都有一系列步骤。在浏览每个教程之前，
你可能希望将[标准化术语表](/zh-cn/docs/reference/glossary/)页面添加到书签，供以后参考。

<!-- body -->
<!--
## Basics

* [Kubernetes Basics](/docs/tutorials/kubernetes-basics/) is an in-depth interactive tutorial that helps you understand the Kubernetes system and try out some basic Kubernetes features.
* [Introduction to Kubernetes (edX)](https://www.edx.org/course/introduction-kubernetes-linuxfoundationx-lfs158x#)
* [Hello Minikube](/docs/tutorials/hello-minikube/)
-->
## 基础知识  {#basics}

* [Kubernetes 基础知识](/zh-cn/docs/tutorials/kubernetes-basics/)
  是一个深入的交互式教程，帮助你理解 Kubernetes 系统，并尝试一些基本的 Kubernetes 特性。
* [Kubernetes 介绍 (edX)](https://www.edx.org/course/introduction-kubernetes-linuxfoundationx-lfs158x#)
* [你好 Minikube](/zh-cn/docs/tutorials/hello-minikube/)

<!--
## Configuration

* [Configuring Redis Using a ConfigMap](/docs/tutorials/configuration/configure-redis-using-configmap/)
-->
## 配置  {#configuration}

* [使用 ConfigMap 配置 Redis](/zh-cn/docs/tutorials/configuration/configure-redis-using-configmap/)

<!--
## Authoring Pods

* [Adopting Sidecar Containers](/docs/tutorials/configuration/pod-sidecar-containers/)
-->
## 构造 Pod  {#authoring-pods}

* [采用 Sidecar 容器](/zh-cn/docs/tutorials/configuration/pod-sidecar-containers/)

<!--
## Stateless Applications

* [Exposing an External IP Address to Access an Application in a Cluster](/docs/tutorials/stateless-application/expose-external-ip-address/)
* [Example: Deploying PHP Guestbook application with MongoDB](/docs/tutorials/stateless-application/guestbook/)
-->
## 无状态应用  {#stateless-applications}

* [公开外部 IP 地址访问集群中的应用](/zh-cn/docs/tutorials/stateless-application/expose-external-ip-address/)
* [示例：使用 Redis 部署 PHP 留言板应用](/zh-cn/docs/tutorials/stateless-application/guestbook/)

<!--
## Stateful Applications

* [StatefulSet Basics](/docs/tutorials/stateful-application/basic-stateful-set/)
* [Example: WordPress and MySQL with Persistent Volumes](/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/)
* [Example: Deploying Cassandra with Stateful Sets](/docs/tutorials/stateful-application/cassandra/)
* [Running ZooKeeper, A CP Distributed System](/docs/tutorials/stateful-application/zookeeper/)
-->
## 有状态应用  {#stateful-applications}

* [StatefulSet 基础](/zh-cn/docs/tutorials/stateful-application/basic-stateful-set/)
* [示例：WordPress 和 MySQL 使用持久卷](/zh-cn/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/)
* [示例：使用有状态集部署 Cassandra](/zh-cn/docs/tutorials/stateful-application/cassandra/)
* [运行 ZooKeeper，CP 分布式系统](/zh-cn/docs/tutorials/stateful-application/zookeeper/)

<!--
## Services

* [Connecting Applications with Services](/docs/tutorials/services/connect-applications-service/)
* [Using Source IP](/docs/tutorials/services/source-ip/)
-->
## 服务  {#services}

* [使用 Service 连接到应用](/zh-cn/docs/tutorials/services/connect-applications-service/)
* [使用源 IP](/zh-cn/docs/tutorials/services/source-ip/)

<!--
## Security

* [Apply Pod Security Standards at Cluster level](/docs/tutorials/security/cluster-level-pss/)
* [Apply Pod Security Standards at Namespace level](/docs/tutorials/security/ns-level-pss/)
* [Restrict a Container's Access to Resources with AppArmor](/docs/tutorials/security/apparmor/)
* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/)
-->
## 安全  {#security}

* [在集群级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/cluster-level-pss/)
* [在名字空间级别应用 Pod 安全标准](/zh-cn/docs/tutorials/security/ns-level-pss/)
* [使用 AppArmor 限制容器对资源的访问](/zh-cn/docs/tutorials/security/apparmor/)
* [Seccomp](/zh-cn/docs/tutorials/security/seccomp/)

<!--
## Cluster Management

* [Configuring Swap Memory on Kubernetes Nodes](/docs/tutorials/cluster-management/provision-swap-memory/)
* [Running Kubelet in Standalone Mode](/docs/tutorials/cluster-management/kubelet-standalone/)
* [Install Drivers and Allocate Devices with DRA](/docs/tutorials/cluster-management/install-use-dra/)
-->
## 集群管理  {#cluster-management}

* [在 Kubernetes 节点上配置交换内存](/zh-cn/docs/tutorials/cluster-management/provision-swap-memory/)
* [以独立模式运行 kubelet](/zh-cn/docs/tutorials/cluster-management/kubelet-standalone/)
* [安装驱动程序并使用 DRA 来分配设备](/zh-cn/docs/tutorials/cluster-management/install-use-dra/)

## {{% heading "whatsnext" %}}

<!--
If you would like to write a tutorial, see
[Content Page Types](/docs/contribute/style/page-content-types/)
for information about the tutorial page.
-->
如果你要编写教程，
请参阅[内容页面类型](/zh-cn/docs/contribute/style/page-content-types/)以获取有关教程页面类型的信息。
