Documents Product Categories CAPE - Multi-Cluster Application and Data Management

CAPE - Multi-Cluster Application and Data Management

Jun 28, 2024
/tmp/ns.json curl -k -H "Content-Type: application/json" -X PUT --data-binary @/tmp/ns. done for crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''confi do kubectl -n cape patch crd $crd -p ''{"metadata":{"finalizers": []}}'' --type for ns in $(k get ns -l heritage=cape | awk ''{print $1}''); do echo "deleting $crd in $ns"; kubectl -n $ns patch $crd -p ''{"metadata":{"finalizers": []}}'' --type kubectl -n $ns delete $crd --all --force --grace-period=0; done kubectl -n cape patch crd $crd -p ''{"metadata":{"finalizers": []}}'' --type donekubectl delete organizations --all -n cape kubectl get ns -l heritage=cape | awk ''{print $1}'' | xargs kubectl delete ns Verify for crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''confi do for ns in $(k get ns -l heritage=cape | awk ''{print $1}''); do kubectl -n $ns get $crd done done for crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''confi do kubectl -n cape patch crd $crd -p ''{"metadata":{"finalizers": []}}'' --type for ns in $(k get ns -l heritage=cape | awk ''{print $1}''); do echo "deleting $crd in $ns"; kubectl -n $ns patch $crd -p ''{"metadata":{"finalizers": []}}'' kubectl -n $ns delete $crd --all --force --grace-period=0; done kubectl -n cape patch crd $crd -p ''{"metadata":{"finalizers": []}}'' --type done kubectl delete organizations --all -n cape kubectl get ns -l heritage=cape | awk ''{print $1}'' | xargs kubectl delete ns for crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''configs'' ''components'' ''backuplocations'' ''federations'' ''clusters'' ''users'' ''organizations'' ''backuplocationoperations'' do kubectl get feds -A | awk ''{ system("kubectl -n $ns patch $crd -p ''{"metadata": {"finalizers": []}}'' --type=merge done for crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''configs'' ''components'' ''backuplocations'' ''federations'' ''clusters'' ''users'' ''organizations'' ''backuplocationoperations'' do for i in $(kubectl get $crd -A --no-headers | awk ''{print $1":"$2}'') do ns=$(echo $i | cut -d ":" -f 1) obj=$(echo $i | cut -d ":" -f 2) echo "Deleting $obj from $ns" kubectl create ns $ns -- dry-run -oyaml | kubectl apply -f- kubectl -n $ns patch $crd $obj -p ''{"metadata": {"finalizers": []}}'' --type=merge kubectl -n $ns delete $crd $obj --force --grace-period=0; kubectl -n $ns patch $crd $obj -p ''{"metadata":{"finalizers": []}}'' --type=merge done donefor crd in ''deployments.operator.cape.sh'' ''applications'' ''repositories'' ''configs'' ''components'' ''backuplocations'' ''federations'' ''clusters'' ''users'' ''organizations'' ''backuplocationoperations'' do for i in $(kubectl get $crd -A --no-headers | awk ''{print $1":"$2}'') do echo $crd echo "Deleting $crd, $obj from $ns" done done">
To view the full page, please visit: CAPE - Multi-Cluster Application and Data Management Product Userguide

CAPE - Multi-Cluster Application and Data Management

* Disaster Recovery for Kubernetes * Data Mobility and Migration Data Mobility & Migration for Kubernetes * Multi-cluster Application Deployment for Kubernetes
Buy now