k3s/examples/gce-pd/testpd.yaml

23 lines
489 B
YAML
Raw Normal View History

apiVersion: v1beta1
desiredState:
manifest:
containers:
- image: kubernetes/pause
name: testpd
volumeMounts:
- mountPath: "/testpd"
name: "testpd"
id: testpd
version: v1beta1
volumes:
- name: testpd
source:
persistentDisk:
# This GCE PD must already exist and be formatted ext4
pdName: "%insert_pd_name_here%"
fsType: ext4
id: testpd
kind: Pod
labels:
test: testpd