Cleanup

Delete Spinnaker artifacts

Namespace deletion may take few minutes, please wait till the process completes.

for i in $(kubectl get crd | grep spinnaker | cut -d" " -f1) ; do
kubectl delete crd $i
done

kubectl delete ns spinnaker-operator

kubectl delete ns spinnaker

kubectl delete ns detail

(Optional) Create Old Nodegroup

In case you have existing workloads to evit to this nodegroup before we delete the nodegroup created for this chapter

Nodegroup creation will take few minutes.

eksctl create nodegroup --cluster=eksworkshop-eksctl --name=nodegroup --nodes=3 --node-type=t3.small --enable-ssm --managed

Delete Nodegroup

eksctl delete nodegroup --cluster=eksworkshop-eksctl --name=spinnaker