ssh ubuntu@18.206.88.146 -i ~/.ssh/labBastionHostSSHKey01.pem
18.206.88.146
to your EC2’s Public IP address.~/.ssh/labBastionHostSSHKey01.pem
to the path of the Key pair you downloaded when creating your EC2 instance.sudo su
.helm uninstall my-release
to cleanup Wordpress deployments.root@ip-10-0-3-71:~# helm uninstall my-release
release "my-release" uninstalled
root@ip-10-0-3-71:~# kubectl get all
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 172.20.0.1 <none> 443/TCP 11d
kubectl delete pvc data-my-release-mariadb-0
to cleanup pvc.root@ip-10-0-3-71:~# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
data-my-release-mariadb-0 Bound pvc-658e3095-b40b-4539-83d6-adebfdfe1c67 8Gi RWX efs-sc <unset> 3h18m
root@ip-10-0-3-71:~# kubectl delete pvc data-my-release-mariadb-0
persistentvolumeclaim "data-my-release-mariadb-0" deleted
Next, we will cleanup EKS cluster.