e35a87e3eb
* Add registry replica setting * Add registry liveness and readiness probe * Set the security context for registry * Add registry pvc access mode option * registry add replica requirement check * docs: add registry replicas setting note * Update docs/kubernetes-apps/registry.md Co-authored-by: Cristian Calin <6627509+cristicalin@users.noreply.github.com> Co-authored-by: Cristian Calin <6627509+cristicalin@users.noreply.github.com>
15 lines
351 B
Django/Jinja
15 lines
351 B
Django/Jinja
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: registry-pvc
|
|
namespace: {{ registry_namespace }}
|
|
labels:
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
spec:
|
|
accessModes:
|
|
- {{ registry_storage_access_mode }}
|
|
storageClassName: {{ registry_storage_class }}
|
|
resources:
|
|
requests:
|
|
storage: {{ registry_disk_size }}
|