Today I learnt : Kubectl commands for debugging

Today I learnt a few kubectl commands which I used to for debugging a few issues in testing environment at work. To check logs kubectl logs -f pod_name Useful when you need to check logs inside a pod. To get the bin bash inside a pod kubectl --exec --stdin --tty podname --bin/bash This is useful command to check for certain versions or debugging which is done This command was helpful for determining Java versions inside the pod which was used in a particular environment....

<span title='2023-03-03 23:10:00 +0530 +0530'>March 3, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;217 words&nbsp;·&nbsp;Shweta Kadam