Create the persistent volumes defined in the following file.

cluster/local-persistent-volume.yaml.template

Specifically, this template defines the following persistent volumes.

Persistent volume

Contents

Size

​postgres-pv-volume-<node>

​PostgreSQL

​Selected on creation

plugins-pv-volume

Plugins downloaded from https://trustedcare.entrust.com.

1 Gigabyte

 To create both persistent volumes, run the following script.

./acmPreReqsWithLocalStorage.sh --nodes <nodes> -r <repository> --pv-volume <volume>

See below for the supported options.

To check that the persistent volumes are available, run:

kubectl get pv

-n, --nodes <nodes>

Make persistent disks for PostgreSQL on the Kubernetes nodes with the <nodes> hostnames.

--pv-volume <volume>

Allocate a persistent volume of <volume> (for example, 10Gi). This volume is for the database. It does not include the 1 Gigabyte for the plugin's persistent volume. 

See Requirements on calculating the required size of the persistent volume for the database.

-r, --repo <repository>

Use the <repository> repository of the nginx image – for example, quay.io

This repository option will often be different from the one you set up for the Certificate Hub images.