NONRTRIC - PMS Persistent storage of policies and type definitions 94/5994/1
authorPatrikBuhr <patrik.buhr@est.tech>
Tue, 4 May 2021 06:51:22 +0000 (08:51 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Tue, 4 May 2021 06:56:44 +0000 (08:56 +0200)
commite046844b54bb936b8015dd38de3abbbc7e8a4f2d
tree19fe1432b154deb88e0d0d17ec53527c0695a587
parent866a34f4a876d61246b67ee6fc9ec066c7960ad2
NONRTRIC - PMS Persistent storage of policies and type definitions

Changed deployment to statefulset in both PMC and ECS.

"Even Deployments with one replica using ReadWriteOnce volume are not recommended. This is because the default Deployment strategy creates a second Pod before bringing down the first Pod
 on a recreate. The Deployment may fail in deadlock as the second Pod can't start because the ReadWriteOnce volume is already in use, and the first Pod won't be removed because the seco
nd Pod has not yet started. Instead, use a StatefulSet with ReadWriteOnce volumes."

Change-Id: If3afb358e9a111bf2be0d5ceb9c5a70c314a9222
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Issue-ID: NONRTRIC-478
nonrtric/helm/enrichmentservice/templates/statefulset.yaml [moved from nonrtric/helm/enrichmentservice/templates/deployment.yaml with 96% similarity]
nonrtric/helm/policymanagementservice/templates/statefulset.yaml [moved from nonrtric/helm/policymanagementservice/templates/deployment.yaml with 95% similarity]