modified: README.md
This commit is contained in:
@@ -191,6 +191,29 @@ spec:
|
||||
claimName: data-pvc
|
||||
```
|
||||
|
||||
**Create an benchmark pod with hostPath volume:**
|
||||
|
||||
```yaml
|
||||
kind: Pod
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: disk-benchmark
|
||||
namespace: storage-limbosolutions-com
|
||||
spec:
|
||||
#nodeName: myNode
|
||||
containers:
|
||||
- name: diskmark
|
||||
image: e7db/diskmark
|
||||
volumeMounts:
|
||||
- mountPath: "/disk"
|
||||
name: disk
|
||||
volumes:
|
||||
- name: disk
|
||||
hostPath:
|
||||
path: /storage/bench-test
|
||||
type: DirectoryOrCreate
|
||||
```
|
||||
|
||||
### Get Pod
|
||||
|
||||
**Get pod name by label ap:**
|
||||
|
||||
Reference in New Issue
Block a user