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.pull/3045/head^2
parent
d79cb68bad
commit
c1d1b06685
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue