Creating a Kubernetes Persistent Volume manually
A Persistent Volume (PV) is used to store data of external services such as Cassandra, Kafka, and Elastic search, when you deploy Sterling Intelligent Promising in development mode and the Operator automatically installs these services.
About this task
A PV is also used to store truststore, where you can choose to add the trusted certificates, or
import a truststore to the truststore which Sterling Intelligent
Promising creates to trust the
connection itself and external services. Create a Kubernetes persistent volume with the
ReadWriteMany access mode and a minimum of 10 GB of hard disk space. Ensure that
the persistent volume storage is accessible by all containers across the cluster, the owner group of
the persistent volume directory has write access, and the owner group ID is specified in the spec
storage.securityContext.fsGroup parameter of the SIPEnvironment custom resource.
Currently, Sterling Intelligent Promising does not handle pre-populating trust certificates on dynamically provisioned volumes. Therefore, you must ensure that the required trust certificates are manually placed onto the dynamically provisioned volume before initiating the deployment. It is recommended to use an init container or a preparatory job to mount the volume and copy the certificate ahead of the deployment, if full automation is desired.