• Excluding objects is essential when managing workloads, troubleshooting, or defining specific rules for monitoring and logging. This guide provides methods to exclude certain objects from operations such as deployments, monitoring, and backups.
  •  in SWIFT, there is an exclusion option that allows users to exclude any object they do not want to replicate at the target. This feature is particularly useful for those who do not want to migrate specific objects to the destination site.


Exclude Object in PT Sync

  • You just need to go to the "All Replication" under "Sync Administration". And click on "New" and select "Application Replication" and select "Passthrough Replication".




  • Once you select Passthrough Replication, choose the source, destination, and the namespace you want to replicate while specifying the objects to exclude.
  • In the snippet below, the StatefulSet object has been excluded. This means it will not be migrated to the target environment. 





  • As you can see in the below snippet that sync is completed now for exclude object operation.




  • When you expand the completed job, you will see the command line in the Summary tab. This clearly shows which objects have been excluded. 




  • Also we can also confirm this by expanding the source and destination clusters. Then, navigate to the Kubernetes Objects tab, select the excluded object, and choose the corresponding namespace. Please check below snippet of the source cluster.




  • When you check the destination cluster, the excluded object will not be present. It means object has been excluded successfully.





Exclude Object in Stage-1 Sync


  • You just need to go to the "All Replication" under "Sync Administration". And click on "New" and select "Application Replication" and select "Stage1 Replication".





  • Once you select Stage-1 Replication, choose the source, target, and the namespace you want to replicate while specifying the objects to exclude. In the target section, you must select the Storage Pool and create an Image Group
  • And select the object which you want to exclude in Exclude object section and click on add.



  • As you can see in the below snippet that Stage-1 sync is completed now for exclude object operation.




  • When you expand the completed job, you will see the command line in the Summary tab. This clearly shows which objects have been excluded.





  • As target is Image group, then we can check at Image Group that were created, Go to the Image Group tab under Business Continuity and DR, And select the created image group, there you can see the excldued object is excluded or not. 



  • When you navigate to the Image Group, you can check the Kubernetes Objects section to verify whether the excluded deployment object has been successfully excluded. 
  • As shown in the snippet below, the Deployment object has been successfully excluded. 






Exclude Object in Stage-2 Sync


  • You just need to go to the "All Replication" under "Sync Administration". And click on "New" and select "Application Replication" and select "Stage2 Replication". And click on Add button.




  • Now select the Storage Pool and Image Group that already contains the excluded object. In the target section, choose the target cluster for Stage-2. 





  • As you can see below snippet that stage-2 sync has been completed for exclude object from Image Group to Target.





  • Also we can also check the command line to verify that the Image Group selected from the Stage-1 operation already excluded the Deployment object. Now, it has been automatically excluded in Stage-2 at the target cluster





  • Please see the snippet below, which confirms that the Deployment object has been successfully excluded. It is no longer visible in the target cluster