From 8d6dc96d5cdc582b236ba4c6a76ece023094f55c Mon Sep 17 00:00:00 2001 From: jmac Date: Thu, 26 Apr 2018 14:26:55 +0000 Subject: Add PV for SDN-C MD-DAL data exports The path '/opt/opendaylight/current/daexim' is now mapped to a persistent volume that will survive pod restarts and destruction. A separate PV is created for each SDN-C instance with the same ordinal as the corresponding sdnc pod. Change-Id: Ib5373fc2ae25b70992ff69e78571106f37af72e4 Signed-off-by: jmac Issue-ID: SDNC-223 --- kubernetes/sdnc/values.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'kubernetes/sdnc/values.yaml') diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml index e3cd8ae4ed..2603cd9fca 100644 --- a/kubernetes/sdnc/values.yaml +++ b/kubernetes/sdnc/values.yaml @@ -142,6 +142,28 @@ service: geoNodePort5: 65 geoNodePort6: 66 +## Persist data to a persitent volume +persistence: + enabled: true + + ## A manually managed Persistent Volume and Claim + ## Requires persistence.enabled: true + ## If defined, PVC must be created manually before volume will be bound + # existingClaim: + volumeReclaimPolicy: Retain + + ## database data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + accessMode: ReadWriteOnce + size: 1Gi + mountPath: /dockerdata-nfs + mountSubPath: sdnc/mdsal + mdsalPath: /opt/opendaylight/current/daexim + ingress: enabled: false -- cgit 1.2.3-korg