SeldonIO / seldon-core

An MLOps framework to package, deploy, monitor and manage thousands of production machine learning models
https://www.seldon.io/tech/products/core/
Other
4.39k stars 833 forks source link

feat: Expose pvc retention policy via helm #6056

Closed abhimanyu003 closed 2 days ago

abhimanyu003 commented 1 week ago

What this PR does / why we need it:

Expose PVC retention policy via helm. Retain is the default value. Info on retention policy can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention

Example YAML

apiVersion: mlops.seldon.io/v1alpha1
kind: Server
  name: triton
  namespace: seldon
spec:
  replicas: 1
  serverConfig: triton
  statefulSetPersistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain

Fixes #INFRA-1235