Is kubectl port-forward encrypted?
问题 I couldn't find any information on wherever a connection creation between cluster's pod and locahost is encrypted when running "kubectl port-forward" command. It seems like it uses "socat" library which supports encryption, but I'm not sure if kubernetes actually uses it. 回答1: As far as I know when you port-forward the port of choice to your machine kubectl connects to one of the masters of your cluster so yes, normally communication is encrypted. How your master communicate to the pod though