diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2021-04-09 10:58:58 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-04-29 06:37:50 +0000 |
commit | 27c9436290ffa92a982f3bb283b500191c07d105 (patch) | |
tree | 7f479c7f8493aa7aadc972b5bd5b050046f6dd4d /kubernetes/a1policymanagement/values.yaml | |
parent | cb953b397797cf1efa1102f84aaa23371899ba90 (diff) |
[PMS] Persistent storage of policies and type definitions
Policy types and type definitions are stored persistently
to survive a restart of PMS.
Added persistent volume claim.
Change-Id: Ia947bb71a6bdee3a8e576337b2870c54ee3c08f9
Issue-ID: CCSDK-3256
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Diffstat (limited to 'kubernetes/a1policymanagement/values.yaml')
-rw-r--r-- | kubernetes/a1policymanagement/values.yaml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/kubernetes/a1policymanagement/values.yaml b/kubernetes/a1policymanagement/values.yaml index 41a93ee014..08590d891c 100644 --- a/kubernetes/a1policymanagement/values.yaml +++ b/kubernetes/a1policymanagement/values.yaml @@ -122,10 +122,10 @@ resources: small: limits: cpu: 2 - memory: 4Gi + memory: 300Mi requests: cpu: 1 - memory: 2Gi + memory: 150Mi large: limits: cpu: 4 @@ -134,3 +134,28 @@ resources: cpu: 2 memory: 4Gi unlimited: {} + +## Persist data to a persistent 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: <storageClass> + ## 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) + ## + # storageClass: "-" + accessMode: ReadWriteOnce + size: 2Gi + mountPath: /dockerdata-nfs + mountSubPath: nonrtric/policymanagementservice + + |