Kubernetes – Connect to a Pod and Execute Command

How to connect to a Kubernetes Pod and execute any command? E.g. ifconfig? kubectl exec POD_NAME ifconfig kubectl exec webapp ifconfig kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl kubectl exec [POD] — [COMMAND] instead. kubectl exec webapp — ifconfig To connect to shell command of a […]
 •  0 comments  •  flag
Share on Twitter
Published on August 15, 2020 07:01
No comments have been added yet.