kubectl get pod -w
-w, --watch=false: After listing/getting the requested object, watch for changes. Uninitialized
objects are excluded if no object name is provided.
--watch-only=false: Watch for changes to the requested object(s), without listing/getting
first.
它类似于linux的watch命令;在list或get一个资源对象后,加上该选项,能够看到它状态的变化。