How to fix kubectl exec: error unable to upgrade connection,forbidden (connect with kubectl proxy)
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=Sxm9rB7xgvE
i am trying to connect to one of the pods in kubernetes with kubectl exec through kubectl proxy, but error:
error: unable to upgrade connection: Forbidden
--
how to solve it:
just add parameter --disable-filter to your kubectl proxy:
kubectl proxy --address=0.0.0.0 --accept-host=^*$ --disable-filter
Other Videos By Ambar Hasbiyatmoko
Tags:
kubectl proxy
kubectl exec
kubernetes
terminal
access pods
kubectl
eks
aws
cloud
login
address
accept-port
disable-filter
cluster