Deleting replication CRs without connection to a remote site

Replication Plug-in for Containers Installation and User Guide

Version
3.18.x
Audience
anonymous
Part Number
MK-92ADPTR155-10
ft:lastEdition
2026-07-07

Deleting replication CRs requires connection to a remote site to gracefully delete all Kubernetes objects and storage system assets. However, there may be a situation where your remote site is not accessible, but you must delete the Replication CRs. In such cases, you can delete the Replication CRs forcibly.

  1. To enable Replication Plug-in for Containers and to delete Replication CRs without connecting to a remote site, set the SPC_REPLICATION_ALLOW_FORCE_DELETION environment variable to true.
    # kubectl set env -n hspc-replication-operator-system \
     deployments/hspc-replication-operator-controller-manager\SPC_REPLICATION_ALLOW_FORCE_DELETION=true
    
  2. Run the following command to delete the Replication CRs forcibly.
    # kubectl delete -f hspc_v1_replication.yaml
  3. Using Storage Navigator, delete the Universal Replicator pair corresponding with the Replication CR because it remains after force deletion of Replication CRs.
  4. Reset the SPC_REPLICATION_ALLOW_FORCE_DELETION environment variable to false.