Persistent Volumes and Persistent Volumes Claim

kubectl get all

Of course you could also get all resources from all namespaces:

kubectl get all --all-namespaces

or define the namespace you would like to inspect:

kubectl get all -n NAMESPACE_NAME

----------------------=========================-----------------

To list all deployments:

kubectl get deployments --all-namespaces

Then to delete the deployment:

kubectl delete -n NAMESPACE deployment DEPLOYMENT

mysql-deployment.yml, mysql-pvc.yml, mysql-pv.yml, mysql-svc.yml, two-tier-app-deployment.yml, two-tier-app-pod.yml, two-tier-app-svc.yml

All required file :-

all files are available in github:-

https://github.com/Hemantjangir53/two-tier-flask-app.git