You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/openshift-storage-common-terms.adoc
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,42 @@ KMS key:: The Key Management Service (KMS) helps you achieve the required level
50
50
51
51
Local volumes:: A local volume represents a mounted local storage device such as a disk, partition or directory.
52
52
53
+
Nested mount points:: A nested mount point is a mount point that attempts to use a mount point created by a previous volume.
54
+
+
55
+
.Example pod definition with nested mount points
56
+
+
57
+
[source,terminal]
58
+
----
59
+
kind: Pod
60
+
apiVersion: v1
61
+
metadata:
62
+
name: webapp
63
+
labels:
64
+
name: webapp
65
+
spec:
66
+
containers:
67
+
- name: webapp
68
+
image: nginx
69
+
ports:
70
+
- containerPort: 80
71
+
name: "http-server"
72
+
volumeMounts:
73
+
- mountPath: /mnt/web
74
+
name: web
75
+
- mountPath: /mnt/web/redis <1>
76
+
name: redis
77
+
volumes:
78
+
- name: redis
79
+
persistentVolumeClaim:
80
+
claimName: "redis"
81
+
- name: web
82
+
persistentVolumeClaim:
83
+
claimName: "web"
84
+
----
85
+
<1> Nested mount point
86
+
+
87
+
Do _not_ use nested mount points because {product-title} does not guarantee the order in which mount points are created. Such usage is prone to race conditions and undefined behavior.
88
+
53
89
ifndef::openshift-dedicated,openshift-rosa[]
54
90
NFS:: A Network File System (NFS) that allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network.
0 commit comments