Skip to content

Commit b24593f

Browse files
authored
Merge pull request #40869 from KhushPatibandha/issue-40742
stated 2 problems in a better way for volumes
2 parents 9cdfbc0 + bb7f1dd commit b24593f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/en/docs/concepts/storage/volumes.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ weight: 10
1212
<!-- overview -->
1313

1414
On-disk files in a container are ephemeral, which presents some problems for
15-
non-trivial applications when running in containers. One problem
16-
is the loss of files when a container crashes. The kubelet restarts the container
17-
but with a clean state. A second problem occurs when sharing files
18-
between containers running together in a `Pod`.
15+
non-trivial applications when running in containers. One problem occurs when
16+
a container crashes or is stopped. Container state is not saved so all of the
17+
files that were created or modified during the lifetime of the container are lost.
18+
During a crash, kubelet restarts the container with a clean state.
19+
Another problem occurs when multiple containers are running in a `Pod` and
20+
need to share files. It can be challenging to setup
21+
and access a shared filesystem across all of the containers.
1922
The Kubernetes {{< glossary_tooltip text="volume" term_id="volume" >}} abstraction
2023
solves both of these problems.
2124
Familiarity with [Pods](/docs/concepts/workloads/pods/) is suggested.

0 commit comments

Comments
 (0)