VolumeReplicationClass
is a cluster scoped resource that contains driver related configuration parameters.
provisioner
is name of the storage provisioner.
parameters
contains key-value pairs that are passed down to the driver. Users can add their own key-value pairs. Keys with replication.storage.openshift.io/
prefix are reserved by operator and not passed down to the driver.
replication.storage.openshift.io/replication-secret-name
replication.storage.openshift.io/replication-secret-namespace
apiVersion: replication.storage.openshift.io/v1alpha1
kind: VolumeReplicationClass
metadata:
name: volumereplicationclass-sample
spec:
provisioner: example.provisioner.io
parameters:
replication.storage.openshift.io/replication-secret-name: secret-name
replication.storage.openshift.io/replication-secret-namespace: secret-namespace
# schedulingInterval is a vendor specific parameter. It is used to set the
# replication scheduling interval for storage volumes that are replication
# enabled using related VolumeReplication resource
schedulingInterval: 1m