stated 2 problems in a better for volumes

This commit is contained in:
KhushPatibandha 2023-04-27 13:47:38 +05:30
parent 13ea6b9087
commit e517e3ab99
1 changed files with 7 additions and 4 deletions

View File

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