Kubectl
Get Kube configs from the .kube config file
Select specific cluster to work on
Get Kubernetes pods
Restart deployments - sometimes useful when implementing a new config change or pulling an updated image
Find out the storage Class Names
Get the details of the persistent volume - including how they are attached etc
If your cluster finds it self in a difficult spot and being starved of resources. Your pods might start to get evicted because of "Disk Pressure" or some other error. If you do not action these quickly, you can end up with a high number of evicted pods in the cluster. How would you identify them and remove them?
you can use these two commands:
To Identify them:
To Remove them:
Last updated