Proper off-boarding of namespace

The following steps, in the order shown, will ensure successful off-boarding of a namespace in K10

  • Check all the restorepointcontents for the policy

kubectl get restorepointcontents  -l k10.kasten.io/policyName=PolicyName

  • Delete the restorepointcontents 

Kubectl delete restorepointcontents  -l k10.kasten.io/policyName=PolicyName

  • Check if the retireactions have completed

kubectl get retireactions.actions.kio.kasten.io -A -o custom-columns=ACTION:.kind,NAMESPACE:.metadata.namespace,NAME:.metadata.name,'CREATED AT':.metadata.creationTimestamp,STATUS:.status.state -l k10.kasten.io/policyName=PolicyName

  • After all retireactions have been completed remove the namespace/policy: