This task provides the procedure for manually creating the persistent volume (PV) and the
persistent volume claim (PVC) required by the Enterprise Records container deployment
process.
Procedure
-
Persistent volume (PV):
- Create a file for the persistent volume configuration, ier-pv.
- Save the file as ier-pv.yaml.
- Run the following command:
kubectl apply -f ier-pv.yaml
- Persistent volume claim (PVC):
- Create a file for the persistent volume claim configuration,
ier-pvc:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ier-instance
namespace: <my_project>
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
volumeName: ier-pv
Where <my_project> stands
for the name of the project where FileNet Content Manager is deployed.
- Save the file as ier-pvc.yaml.
- Run the following command:
kubectl apply -f ier-pvc.yaml
-
Set the following permission on the folders which are mounted as persistent volumes, as
provided in Step 1a (that is /var):
chown -Rf 50001:0 /var
chmod -Rf g=u /var