Storage deployment configuration examples
This topic describes, with examples, the storage deployment configuration that you set in the Guardium® Insights configuration (YAML) file.
When deploying Guardium Insights, you create a YAML file.
When completing the storage configuration at the end of the file, Guardium
Insights supports Block (RWO - Read Write
Once)
and Filesystem (RWX - Read Write Many)
storage. For the best
performance, it is recommended that Block
and Filesystem
storage
be used according to this example:
guardiumInsightsGlobal:
storageClassName: <Must be FS type with RWX>
dependency-db2:
db2:
storage:
- name: meta
spec:
storageClassName: <Must be FS type with RWX>
- name: data
spec:
storageClassName:<Must be block storage type - RWO >
dependency-kafka:
kafka:
storage:
class: <Must be block storage type - RWO >
zookeeper:
storage:
class: <Must be block storage type - RWO >
mini-snif:
persistentVolumesClaims:
mini-snif-shared:
storageClassName: <Must be FS type with RWX>
universal-connector-manager:
persistentVolumesClaims:
universal-connector-manager-shared:
storageClassName: <Must be FS type with RWX>
settings-datasources:
persistentVolumesClaims:
settings-datasources:
storageClassName: <Must be FS type with RWX>
ticketing:
persistentVolumesClaims:
ticketing-keystore:
storageClassName: <Must be FS type with RWX>
The values that you should use depend on the size of your deployment:
- Persistent storage for starter production hardware clusters
- Persistent storage for small production hardware clusters
- Persistent storage for medium production hardware clusters
- Persistent storage for large production hardware clusters
Example 1
storageClassName: ibmc-file-gold-gid
Example 2
storage:
- name: meta
spec:
storageClassName: "ibmc-file-gold-gid"
accessModes:
- ReadWriteMany
resources:
requests:
storage: "1000Gi"
type: create
- name: data
spec:
storageClassName: "ibmc-block-gold"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: "4000Gi"
type: template
dependency-kafka:
kafka:
storage:
type: persistent-claim
size: 250Gi
class: "ibmc-block-gold"
zookeeper:
storage:
type: persistent-claim
size: 20Gi
class: "ibmc-block-gold"
mini-snif:
persistentVolumesClaims:
mini-snif-shared:
storageClassName: "ibmc-file-gold-gid"
universal-connector-manager:
persistentVolumesClaims:
universal-connector-manager-shared:
storageClassName: "ibmc-file-gold-gid"
settings-datasources:
persistentVolumesClaims:
settings-datasources:
storageClassName: "ibmc-file-gold-gid"
ticketing:
persistentVolumesClaims:
ticketing-keystore:
storageClassName: "ibmc-file-gold-gid"