mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Add an e2e test for gce pd.
Add an example for gce pd. Add an extra log message.
This commit is contained in:
22
examples/gce-pd/testpd.yaml
Normal file
22
examples/gce-pd/testpd.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user