Setting up persistent volumes with NFS
Use the Helm chart to install or update persistent volumes that store Component Pack data for IBM Connections™.
About this task
Persistent volumes provide pod-independent storage for a Kubernetes deployment. The instructions in this section explain how to configure the persistent volumes on an NFS share. In production, it is best practice to have the NFS share on a storage server that is not part of the Kubernetes cluster, but for a proof of concept, non-HA deployment, it is acceptable to host the NFS share on your Kubernetes master.
You can create the persistent volumes using the helm chart connections-persistent-storage-nfs-0.1.0.tgz, located in the helmbuilds directory within the installation package.
- You are deploying in an IPv4 environment
- All persistent volumes will be created on the NFS server
- The NFS server and all Kubernetes nodes that the Component Pack pods will run are the same network (such as 10.3.x.x)
- NFS resources are available (nfs-utils, rpcbind, nfs-server, nfs-lock and nfs-idmap)
- The directory hosting the volumes is named pv-connections. This name is shown in examples but you can use a different directory name.
Procedure
Example
The following examples use the fictional address "10.3.4.2" as the IPv4 address of the NFS server.
helm install --name=connections-volumes extractedFolder/microservices_connections/hybridcloud/helmbuilds/connections-persistent-storage-nfs-0.1.0.tgz --set nfs.server=10.3.4.2
helm install --name=connections-volumes extractedFolder/microservices_connections/hybridcloud/helmbuilds/connections-persistent-storage-nfs-0.1.0.tgz --set solr.enabled=false,zk.enabled=false,mongo.enabled=false,customizer.enabled=false,nfs.server=10.3.4.2
helm install --name=connections-volumes extractedFolder/microservices_connections/hybridcloud/helmbuilds/connections-persistent-storage-nfs-0.1.0.tgz --set solr.enabled=false,zk.enabled=false,es.enabled=false,customizer.enabled=false,nfs.server=10.3.4.2
helm install --name=connections-volumes extractedFolder/microservices_connections/hybridcloud/helmbuilds/connections-persistent-storage-nfs-0.1.0.tgz --set mongo.capacity.storage=12Gi,nfs.server=10.3.4.2
What to do next
For steps on how to add, remove, or resize the persistent volumes, see Managing persistent volumes for Component Pack.