kubectl config use-context cluster1-admin@cluster1 echo "kubectl top nodes" > /opt/18/nodes.txt echo "kubectl top pod --all-namespaces --sort-by cpu" > /opt/18/pods.txt