Skip to content

Commit

Permalink
Update migrate-to-vpc-cni.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseCastle23 authored Feb 6, 2024
1 parent da3f8a0 commit 88f8d6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gen3/bin/migrate-to-vpc-cni.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ kubectl get deployments -n kube-system | grep calico | awk '{print $1}' | xargs
kubectl get daemonsets -n kube-system | grep calico | awk '{print $1}' | xargs kubectl delete daemonset -n kube-system
kubectl get services -n kube-system | grep calico | awk '{print $1}' | xargs kubectl delete service -n kube-system
kubectl get replicasets -n kube-system | grep calico | awk '{print $1}' | xargs kubectl delete replicaset -n kube-system
kubectl get crds -n kube-system | grep calico | awk '{print $1}' | xargs kubectl delete replicaset -n kube-system

# Backup the current VPC CNI configuration in case of rollback
gen3_log_info "Backing up current VPC CNI Configuration..."
Expand Down Expand Up @@ -138,4 +139,4 @@ while true; do
gen3_log_info "Please answer yes or no."
;;
esac
done
done

0 comments on commit 88f8d6b

Please sign in to comment.