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

zh_trans:/docs/reference/glossary/volume.md #11685

Closed
wants to merge 2 commits into from
Closed
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
27 changes: 27 additions & 0 deletions content/cn/docs/reference/glossary/volume.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Volume
id: volume
date: 2018-04-12
full_link: /docs/concepts/storage/volumes/
short_description: >
A directory containing data, accessible to the containers in a pod.

aka:
tags:
- core-object
- fundamental
---

<!--
A directory containing data, accessible to the containers in a {{< glossary_tooltip text="pod" term_id="pod" >}}.

<!--more-->

A Kubernetes volume lives as long as the {{< glossary_tooltip text="pod" term_id="pod" >}} that encloses it. Consequently, a volume outlives any {{< glossary_tooltip text="containers" term_id="container" >}} that run within the {{< glossary_tooltip text="pod" term_id="pod" >}}, and data is preserved across {{< glossary_tooltip text="container" term_id="container" >}} restarts.
-->

包含数据的目录,可供 {{<glossary_tooltip text ="pod" term_id="pod" >}} 中的容器访问。

<!--更多-->

只要包含它的 {{<glossary_tooltip text ="pod"term_id ="pod">}}, Kubernetes 卷就会存在。因此, 在 {{<glossary_tooltip text ="pod"term_id ="pod">}} 内运行的任何 {{<glossary_tooltip text ="containers"term_id ="container">}} 的数量都会超过,并且数据会保留在 {{<glossary_tooltip text ="container"term_id="container">}} 重新启动。