Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while true;do
- clear
- echo "MONITOR DE PODS:"
- microk8s kubectl get pods
- echo ""
- echo "MONITOR DE REPLICAS:"
- microk8s kubectl get rs
- echo ""
- echo "MONITOR DE DEPLOYMENTS:"
- microk8s kubectl get deployments
- echo ""
- echo "(r)efresh (e)xit"
- read -rsn1 ACTION
- case $ACTION in
- r|R)
- echo "refreshing..."
- ;;
- e|E)
- exit 0
- ;;
- esac
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement