kubespray/roles/kubernetes-apps/registry/templates/registry-pvc.yml.j2

17 lines
372 B
Plaintext
Raw Normal View History

2018-02-09 15:47:57 +08:00
---
apiVersion: v1
2018-02-09 15:47:57 +08:00
kind: PersistentVolumeClaim
metadata:
2018-02-09 15:47:57 +08:00
name: registry-pvc
namespace: {{ registry_namespace }}
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
accessModes:
- ReadWriteOnce
2018-02-09 15:47:57 +08:00
storageClassName: {{ registry_storage_class }}
resources:
requests:
2018-02-09 15:47:57 +08:00
storage: {{ registry_disk_size }}