Selective Sync is a feature that allows you to synchronize only specific resources or components between source and target environments, rather than performing a full sync. This is particularly useful in scenarios where you want to minimize data transfer, reduce sync time, or avoid impacting certain workloads.
1.Go to the 'All Replication' under Sync administration, then click on 'New' and 'Application Replication' and choose 'Passthrough Replication'
2. Now we are going to migrate our source namespace and in that we need to selectively sync from source to destination,, then you need to select the 'Selective' option. Please find below snippet for your reference.
3. Suppose i want to sync only Deployment object from namespace, then you can select the deployment object and it will only deployment object and their instance. Pls see below snippet.
4. And now click on add button and sync will be started for selective sync.
5. Selective sync has been completed,.
6. Now you can verify if my only selected object has been migrated or not. You can go to the target cluster in SWIFT and check 'Kubernets Object' tab. And check Object type and namespace. You can see only deployment