From c1d1b066854dc4f60264a93de445b57feccee7f4 Mon Sep 17 00:00:00 2001 From: Drinky Pool Date: Tue, 28 Mar 2017 14:59:54 +0800 Subject: [PATCH] delete redundant example The example does not offer other aspects about the hostPath, it's some kind of duplicate to the preceding one. So, maybe only the preceding one is enough. --- docs/concepts/storage/volumes.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/concepts/storage/volumes.md b/docs/concepts/storage/volumes.md index 1fe22cdbe8..2255bee3c4 100644 --- a/docs/concepts/storage/volumes.md +++ b/docs/concepts/storage/volumes.md @@ -171,26 +171,6 @@ spec: path: /data ``` -#### Example pod - -```yaml -apiVersion: v1 -kind: Pod -metadata: - name: test-hostpath -spec: - containers: - - image: myimage - name: test-container - volumeMounts: - - mountPath: /test-hostpath - name: test-volume - volumes: - - name: test-volume - hostPath: - path: /path/to/my/dir -``` - ### gcePersistentDisk A `gcePersistentDisk` volume mounts a Google Compute Engine (GCE) [Persistent