Top Kubectl commands you should know.

Get Contexts kubectl config get-contexts Get Pods kubectl get pods Get Pods' Performance kubectl top pods Get specific Pod Performance while true; do echo "=== $(date '+%Y-%m-%d %H:%M:%S') ===" >> pod_metrics.log; kubectl top pod >> pod_metrics.log; sleep 10; done

How to find python installation path?

 Often you may need to find the installation path of python your windows, mac or ubuntu. Here is a cross platform solution to find the same:

python -c "import sys; print(sys.executable)"