I was unable to port-forward to minio service this is what I was seeing when I tried to port forward to a service.

I am facing a problem when giving this command what can I do now…

kubectl port-forward svc/minio 9002:9000 --kubeconfig=“kubeconfig.yaml”

error: error upgrading connection:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey, @srinu7

I had a similar issue and it was related to the API call itself. Did you checked the logs for any errors? The API server logs should help you to find the cause of the error.

Let us know how it goes.