mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
updated gce-pd and redis examples to use v1beta3
This commit is contained in:
21
examples/gce-pd/v1beta3/testpd.yaml
Normal file
21
examples/gce-pd/v1beta3/testpd.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1beta3
|
||||
kind: Pod
|
||||
metadata:
|
||||
labels:
|
||||
test: testpd
|
||||
name: testpd
|
||||
spec:
|
||||
containers:
|
||||
- name: testpd
|
||||
image: kubernetes/pause
|
||||
volumeMounts:
|
||||
# name must match the volume name below
|
||||
- name: testpd
|
||||
# mount path within the container
|
||||
mountPath: /testpd
|
||||
volumes:
|
||||
- name: testpd
|
||||
persistentDisk:
|
||||
# This GCE PD must already exist.
|
||||
pdName: %insert_pd_name_here%
|
||||
fsType: ext4
|
Reference in New Issue
Block a user