mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-30 07:09:51 +00:00
* switch image names to the ones with the prefix mirrored * bump rancher/mirrored-coredns-coredns to 1.8.4 Signed-off-by: Jiaqi Luo <6218999+jiaqiluo@users.noreply.github.com>
31 lines
560 B
YAML
31 lines
560 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: local-path-pvc
|
|
namespace: kube-system
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: local-path
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|
|
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: volume-test
|
|
namespace: kube-system
|
|
spec:
|
|
containers:
|
|
- name: volume-test
|
|
image: rancher/mirrored-pause:3.1
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- name: volv
|
|
mountPath: /data
|
|
volumes:
|
|
- name: volv
|
|
persistentVolumeClaim:
|
|
claimName: local-path-pvc
|