microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
307 stars 106 forks source link

Cannot start bridge because of kubectl timeout #267

Open pandagodyyy opened 2 years ago

pandagodyyy commented 2 years ago

Hi,

there is a blocker that I cannot start the bridge

Error: Failed to validate the requirements to replicate resources locally: An unexpected error occurred: ''kubectl' timeout after 10000ms when running exec notification-6d8c55fd56-4knvw -c notification -n main -- env'
To see our active issues or file a bug report, please visit https://aka.ms/bridge-to-k8s-report.
For diagnostic information, see logs at '/var/folders/wf/8mv9bmpj33v83fxfkbh5nrsh0000gn/T/Bridge To Kubernetes'.

The terminal process terminated with exit code: 1.

I started another terminal and run "kubectl exec notification-6d8c55fd56-4knvw -c notification -n main -- env" and triggered a timer at the same time. Actually the api server returned the response over 10 seconds. So I think this is the network latency and current the default timeout value is too short. I'm asking how I can make the timeout value bigger?

Thanks

pragyamehta commented 2 years ago

Hi @pandagodyyy thanks for reaching out to us, currently it is not possible to configure this timeout. I am logging a work item on our side to figure out how to make this experience better.

pandagodyyy commented 2 years ago

@pragyamehta thanks for reply, looking forward it can be configured in new version