3 ms·
This might be faster: kubectl logs deployment/<whatever> | less kubectl exec -it deployment/whatever sh
by throwanem 6y ago
This might be faster:
kubectl logs deployment/<whatever> | less
kubectl exec -it deployment/whatever sh
- neurostimulant 6y agoThe benefit of using tools like k9s and rancher is making it easy to explore your cluster. If you have hundreds of pods and services, using a gui tools to explore and manage your cluster is much easier than using kubectl.
- throwanem 6y agoI've found just the opposite, in clusters with usually about a hundred or so deployments per namespace and concomitant scale in pods, services, etc. GUI tools proved occasionally useful early on as I familiarized myself with k8s concepts and the system architecture at hand. Once I developed that basic level of familiarity, the 30,000' view largely ceased to be useful.
- neurostimulant 6y agoYup, it's useful for exploration, but once you have a good mental model of the cluster's contents, the gui probably won't be as useful anymore, though personally I like to open the gui dashboard to watch live logs and graphana graph (it somehow calming to me).