mirror of https://github.com/k3s-io/k3s
17 lines
368 B
YAML
17 lines
368 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: test-portworx-volume-pod
|
|
spec:
|
|
containers:
|
|
- image: gcr.io/google_containers/test-webserver
|
|
name: test-container
|
|
volumeMounts:
|
|
- mountPath: /test-portworx-volume
|
|
name: test-volume
|
|
volumes:
|
|
- name: test-volume
|
|
# This Portworx volume must already exist.
|
|
portworxVolume:
|
|
volumeID: "vol1"
|