storage
parameter
Use
storage
to configure the persistent volume for shared
storage.
- The
storage
configuration is used to identify an existing Persistent Volume Claim (PVC) with the given name or create a new PVC with this name if it does not exist. - The parameters of the PVC must match with the parameters of the PV created in the Creating a Kubernetes Persistent Volume manually page.
The following YAML snippet is a sample schema of
storage
: storage:
name: ""
# accessMode: ReadWriteMany
# capacity: 10Gi
# storageClassName: default
# securityContext:
# fsGroup:
# supplementalGroups: []
The following table explains the attributes applicable for the
storage
parameter
of SIPEnvironment
.
Property | Default value | Value type | Required | Description |
---|---|---|---|---|
name |
string | Yes | Specify the name of the Persistent Volume Claim (PVC). If the PVC doesn’t exist, a new PVC is created and expected to be bound. If the PVC exist, then it is reused. | |
accessMode |
ReadWriteMany |
string | No | Specify the access mode for the Persistent Volume as ReadWriteMany . This is
required for use with features such as search catalog index, where multiple pods such as appServers
and agentServers can read or write from this shared persistent volume. |
capacity |
10Gi |
string or integer | No | Specify the capacity for the Persistent Volume. |
storageClassName |
default |
string | No | Specify the storage class for the Persistent Volume Claim. |