microsoft / mindaro

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

Value cannot be Null, Docker Desktop Kubernetes #177

Open StiviiK opened 3 years ago

StiviiK commented 3 years ago

Describe the bug Trying to use Bridge To Kubernetes on Visual Studio 2019 with the local Docker Desktop Kubernetes Cluster fails and an exception gets logged:

System.ArgumentNullException: Value cannot be null.
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_2.<_CollectServicesToRouteAsync>b__2(V1Endpoints e)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_0.<<_CollectServicesToRouteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.GetReachableServicesAsync(String namespaceName, ILocalProcessConfig localProcessConfig, IProgress`1 progress, CancellationToken cancellationToken)
   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass13_0.<<GetElevationRequestsAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func`1 func, FailureConfig failureConfig)

To Reproduce Run Kubernetes within Docker Desktop and try to run the Bridge to that local cluster.

Logs bridge-mindarocli-2021-05-26-13-14-48-18776.txt bridge-library-2021-05-26-13-14-49-18776.txt

Environment Details Visual Studio 2019 16.9.6 Microsoft Windows 10 Pro N 10.0.19042 Build 19042

daniv-msft commented 3 years ago

Thanks @StiviiK for reporting this issue, and sorry you encountered it. From the logs you share, this seems to be the same issue as #169. Do you have any headless services deployed in your cluster?

We have released the fix for this in VS Code, but it's not yet released in Visual Studio. Would using VS Code be an acceptable workaround in the meantime?

Also, I wanted to let you know that Docker Desktop is creating issues with Bridge (blocking all ports on localhost, preventing us from working), and that if you experience an issue when connecting, I'd suggest to look into Minikube to run your cluster locally.

StiviiK commented 3 years ago

Do you have any headless services deployed in your cluster?

Yes. We are using Dapr, which itself uses headless services.

We have released the fix for this in VS Code, but it's not yet released in Visual Studio. Would using VS Code be an acceptable workaround in the meantime?

Is there any ETA for the fix in Visual Studio? Using VS Code would be theoretically a possible workaround for this Issue.

Also, I wanted to let you know that Docker Desktop is creating issues with Bridge (blocking all ports on localhost, preventing us from working), and that if you experience an issue when connecting, I'd suggest to look into Minikube to run your cluster locally.

Thanks for that Info, I will try using it with Minikube instead.

daniv-msft commented 3 years ago

Hi @Stiviik, I looked further into this issue, and this is actually not the same bug as the one I mentioned above. Apologies for the miscommunication.

This null reference comes from a part of our code that was removed as part of a refactoring in the recent weeks, and thus it should not reproduce with our next release. We will start releasing in VS Code in ~2 weeks, and the Visual Studio update will likely come 1-2 weeks after that.

Unfortunately I don't have a perfect workaround to offer in the meantime. Looking at where the null reference is coming from, this is because some of the endpoints available in the namespace (kubectl get endpoints --namespace -o json) don't have a "subsets" field we expect. Would it be possible for you to declare subsets here, with the corresponding ports?

Alternatively, you can download a previous version of the Visual Studio extension by following the instructions here, that shouldn't have this issue: https://github.com/microsoft/mindaro/issues/155#issuecomment-825902824

kekovski commented 3 years ago

We encounter still the same issue. Even with the newest release of 6 days ago v1.0.120210615.

I have tried to downgrade the extension version to v1.0.120210322 (3 months ago) and v1.0.120200919 (9 months ago). Again it failed with the same error.

Terminal log

> Executing task: bridge-to-kubernetes.resource <

Redirecting Kubernetes service stats-api to your machine...
Target cluster: ***
Current cluster: ***
Target namespace: ***
Current namespace: ***
Target service name: stats-api
Target service ports: 3001
Using kubernetes service environment variables: false

Error: An unexpected error occurred: 'Value cannot be null. (Parameter 'source')'
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/dk/m0pscc055yz4gskf1ymy5fmr0000gn/T/Bridge To Kubernetes'.

The terminal process terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

bridge-library-2021-06-22-05-50-12-13096.txt

2021-06-22T05:50:12.6959230Z | Library | TRACE | Pulling kubeconfig...\nOperation context: <json>{"clientRequestId":null,"correlationId":"04f0cb0c-2968-4623-bdc9-8fced85d4bb21624340541789:eb898ee35138:bc15265861bf","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-22T05:50:12.6334710Z","userAgent":"VSCode/1.0.120210615","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210517.1","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64","framework":".NET Core 3.1.9","macAddressHash":"bb7fe85235f87f3e5106c771712f2e6d389eb6c7edd59352200616581c2ed72c","processId":13096,"targetEnvironment":"Production"}}</json>
2021-06-22T05:50:13.0547730Z | Library | TRACE | Event: CloudProvider <json>{"properties":{"clusterFQDNDomain":"AzurePublic"},"metrics":null}</json>
2021-06-22T05:50:13.6801560Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListServicesInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.2263830Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.2320270Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...\nOperation context: <json>{"clientRequestId":null,"correlationId":"04f0cb0c-2968-4623-bdc9-8fced85d4bb21624340541789:eb898ee35138:977f8bb74925","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-22T05:50:12.6334710Z","userAgent":"VSCode/1.0.120210615","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210517.1","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64","framework":".NET Core 3.1.9","macAddressHash":"bb7fe85235f87f3e5106c771712f2e6d389eb6c7edd59352200616581c2ed72c","processId":13096,"targetEnvironment":"Production","isRoutingEnabled":false}}</json>
2021-06-22T05:50:14.2563660Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2572830Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2577160Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2580420Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2583860Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2586950Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2589950Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2593160Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.2596410Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-22T05:50:14.3047640Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.3113530Z | Library | TRACE | Found 2 endpoint(s) matching headless service 'bridges-rabbitmq-nodes'
2021-06-22T05:50:14.4134140Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4141420Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-0'
2021-06-22T05:50:14.4152500Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4156000Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-4'
2021-06-22T05:50:14.4460300Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4461670Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4462830Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-1'
2021-06-22T05:50:14.4463370Z | Library | TRACE | Found 1 endpoint(s) matching headless service 'search-es-default'
2021-06-22T05:50:14.4489090Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4507530Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4510530Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-2'
2021-06-22T05:50:14.4518020Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4519590Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-5'
2021-06-22T05:50:14.4527320Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4528810Z | Library | WARNG | Failed to resolve any endpoints with the same name as headless service: 'discovery-graph-neo4j-3'
2021-06-22T05:50:14.4556380Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-22T05:50:14.4558890Z | Library | TRACE | Found 3 endpoint(s) matching headless service 'search-es-transport'
2021-06-22T05:50:14.4693130Z | Library | TRACE | Event: KubernetesRemoteEnvironmentManager-GetReachableServices <json>{"properties":{"result":"Failed"},"metrics":{"durationInMs":1310.0}}</json>
2021-06-22T05:50:14.4749830Z | Library | TRACE | Event: ConnectManagementClient-GetElevationRequests <json>{"properties":{"result":"Failed"},"metrics":{"durationInMs":1349.0}}</json>
2021-06-22T05:50:14.4764370Z | Library | ERROR | Failed to get elevation requests.
2021-06-22T05:50:14.5194630Z | Library | ERROR | Logging handled exception: System.ArgumentNullException: {"ClassName":"System.ArgumentNullException","Message":"Value cannot be null.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\n   at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_2.<_CollectServicesToRouteAsync>b__2(V1Endpoints e)\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_0.<<_CollectServicesToRouteAsync>b__0>d.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.GetReachableServicesAsync(String namespaceName, ILocalProcessConfig localProcessConfig, IProgress`1 progress, CancellationToken cancellationToken)\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass13_0.<<GetElevationRequestsAsync>b__0>d.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func`1 func, FailureConfig failureConfig)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"System.Linq","WatsonBuckets":null,"ParamName":"source"}

bridge-mindarocli-2021-06-22-05-50-12-13096.txt

2021-06-22T05:50:12.5671470Z | MindaroCli | TRACE | Event: Command.Start <json>{"properties":{"arguments":"prep-connect --output json --namespace ***","isRoutingEnabled":"false"},"metrics":null}</json>\nOperation context: <json>{"clientRequestId":null,"correlationId":"04f0cb0c-2968-4623-bdc9-8fced85d4bb21624340541789:eb898ee35138","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-22T05:50:12.1424690Z","userAgent":"VSCode/1.0.120210615","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210517.1","requestHeaders":{},"loggingProperties":{"applicationName":"MindaroCli","deviceOperatingSystem":"Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64","framework":".NET Core 3.1.9","macAddressHash":"bb7fe85235f87f3e5106c771712f2e6d389eb6c7edd59352200616581c2ed72c","processId":13096,"targetEnvironment":"Production","commandId":"eb898ee35138"}}</json>
2021-06-22T05:50:12.6615870Z | MindaroCli | TRACE | Running Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand...
2021-06-22T05:50:12.6665070Z | MindaroCli | TRACE | Initializing progress reporter...
2021-06-22T05:50:14.5350060Z | MindaroCli | ERROR | Dependency: Prep Connect <json>{"target":null,"success":false,"duration":null,"properties":{"requestId":"null","clientRequestId":"null","correlationRequestId":"null"}}</json>
2021-06-22T05:50:15.1696600Z | MindaroCli | ERROR | An unexpected error occurred: 'Value cannot be null. (Parameter 'source')'\n
2021-06-22T05:50:15.1707830Z | MindaroCli | ERROR | To see our active issues or file a bug report, please visit https://aka.ms/bridge-to-k8s-report.\n
2021-06-22T05:50:15.1712690Z | MindaroCli | ERROR | For diagnostic information, see logs at '/var/folders/dk/m0pscc055yz4gskf1ymy5fmr0000gn/T/Bridge To Kubernetes'.\n
2021-06-22T05:50:15.1785180Z | MindaroCli | ERROR | Logging handled exception: System.ArgumentNullException: {"ClassName":"System.ArgumentNullException","Message":"Value cannot be null.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\n   at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_2.<_CollectServicesToRouteAsync>b__2(V1Endpoints e)\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_0.<<_CollectServicesToRouteAsync>b__0>d.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.GetReachableServicesAsync(String namespaceName, ILocalProcessConfig localProcessConfig, IProgress`1 progress, CancellationToken cancellationToken)\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass13_0.<<GetElevationRequestsAsync>b__0>d.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func`1 func, FailureConfig failureConfig)\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.GetElevationRequestsAsync(IProgress`1 progress, CancellationToken cancellationToken)\n   at Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand.ExecuteAsync()\n   at Microsoft.BridgeToKubernetes.Exe.CliApp.RunCommandAsync(String[] args, CancellationToken cancellationToken)\n   at Microsoft.BridgeToKubernetes.Exe.CliApp.ExecuteAsync(String[] args, CancellationToken cancellationToken)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"System.Linq","WatsonBuckets":null,"ParamName":"source"}
2021-06-22T05:50:15.1805430Z | MindaroCli | TRACE | Event: Command.End <json>{"properties":{"arguments":"prep-connect --output json --namespace ***","result":"Failed","failureReason":"Value cannot be null. (Parameter 'source')"},"metrics":{"duration":2700.0}}</json>
amsoedal commented 3 years ago

Hey @kekovski, sorry that you're running into this. The full headless service support should be gradually pushed out to everyone with the v1.0.120210615 extension this month. To test out the latest changes, can you try setting the environment variable BRIDGE_CLI_VERSION to "1.0.20210615.1" and launch VS Code before trying again? Let me know if this changes anything.

kekovski commented 3 years ago

@amsoedal Unfortunately it did also not work with setting BRIDGE_CLI_VERSION to "1.0.20210615.1" in the environment variables.

Note: I did restart my VSCode workspace after setting the environment variable.

Kenans-MacBook-Pro-2:todo-app kekovski$ cat ~/.bash_profile

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
BRIDGE_CLI_VERSION="1.0.20210615.1"
export BRIDGE_CLI_VERSION
Kenans-MacBook-Pro-2:todo-app kekovski$ echo $BRIDGE_CLI_VERSION 
1.0.20210615.1
amsoedal commented 3 years ago

Ok thanks for giving that a go. From the logs on our side it looks like an issue is happening under the hood that is similar to one I fixed a few days ago, but I'm not 100% sure it is the same. Do you think you could email us at BridgeToKubernetes@microsoft.com? I can let you know via email when we have some beta bits for you to try, if you're willing to give that a go.

kekovski commented 3 years ago

@amsoedal mail is sent :)

amsoedal commented 3 years ago

@kekovski I can confirm we received it! We'll hopefully have something for you to try early next week!

dk-do commented 3 years ago

I think I have the same problem. I use VS 2019 Professional and the Bridge to Kubernetes with a K8S Cluster which consists of 3 masters and 6 worker nodes.

After everything was fine and running, I am facing the following problem since today (yesterday was everything okay):

This is what the logs says:

2021-06-30T09:41:37.4073607Z | Library | TRACE | Pulling kubeconfig...\nOperation context: <json>{"clientRequestId":null,"correlationId":"bcf8f02d-03c2-4d9d-9009-8703d55522e4:6108aa1dec10:cb16cfc006b7","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-30T09:41:37.3740165Z","userAgent":"LPK/2.1.20210515.1-887601f7 VisualStudio/16.10.31321.278","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210421.2","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Microsoft Windows 10.0.19042","framework":".NET Core 3.1.15","macAddressHash":"816faa7e656abb394563e08fee2b8aad7b9acbc3495cb0feffabd21ebca9cc43","processId":8804,"targetEnvironment":"Production"}}</json>
2021-06-30T09:41:37.5689025Z | Library | TRACE | Event: CloudProvider <json>{"properties":{"clusterFQDNDomain":"Remote IP"},"metrics":null}</json>
2021-06-30T09:41:38.1213411Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListServicesInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-30T09:41:38.3586597Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListPodsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-30T09:41:38.3612223Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...\nOperation context: <json>{"clientRequestId":null,"correlationId":"bcf8f02d-03c2-4d9d-9009-8703d55522e4:6108aa1dec10:8a003b26da85","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-30T09:41:37.3740165Z","userAgent":"LPK/2.1.20210515.1-887601f7 VisualStudio/16.10.31321.278","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210421.2","requestHeaders":{},"loggingProperties":{"applicationName":"Library","deviceOperatingSystem":"Microsoft Windows 10.0.19042","framework":".NET Core 3.1.15","macAddressHash":"816faa7e656abb394563e08fee2b8aad7b9acbc3495cb0feffabd21ebca9cc43","processId":8804,"targetEnvironment":"Production","isRoutingEnabled":false}}</json>
2021-06-30T09:41:38.3730304Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-30T09:41:38.3736290Z | Library | TRACE | Detected headless service with selectors. Using selectors to look for endpoints...
2021-06-30T09:41:38.4328836Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-30T09:41:38.4364377Z | Library | TRACE | Found 2 endpoint(s) matching headless service 'elasticsearch-master-headless'
2021-06-30T09:41:38.5257358Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-30T09:41:38.5259503Z | Library | TRACE | Found 2 endpoint(s) matching headless service 'etcd-headless'
2021-06-30T09:41:38.5312534Z | Library | TRACE | Dependency: Kubernetes <json>{"target":"ListEndpointsInNamespaceAsync","success":true,"duration":null,"properties":{}}</json>
2021-06-30T09:41:38.5406007Z | Library | TRACE | Event: KubernetesRemoteEnvironmentManager-GetReachableServices <json>{"properties":{"result":"Failed"},"metrics":{"durationInMs":912.0}}</json>
2021-06-30T09:41:38.5435050Z | Library | TRACE | Event: ConnectManagementClient-GetElevationRequests <json>{"properties":{"result":"Failed"},"metrics":{"durationInMs":937.0}}</json>
2021-06-30T09:41:38.5441279Z | Library | ERROR | Failed to get elevation requests.
2021-06-30T09:41:38.5634520Z | Library | ERROR | Logging handled exception: System.ArgumentNullException: {"ClassName":"System.ArgumentNullException","Message":"Value cannot be null.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\r\n   at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_2.<_CollectServicesToRouteAsync>b__2(V1Endpoints e)\r\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\r\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_0.<<_CollectServicesToRouteAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.GetReachableServicesAsync(String namespaceName, ILocalProcessConfig localProcessConfig, IProgress`1 progress, CancellationToken cancellationToken)\r\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass13_0.<<GetElevationRequestsAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func`1 func, FailureConfig failureConfig)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"System.Linq","WatsonBuckets":null,"ParamName":"source"}

and:

2021-06-30T09:41:37.3180484Z | MindaroCli | TRACE | Event: Command.Start <json>{"properties":{"arguments":"prep-connect --namespace default --output json","isRoutingEnabled":"false"},"metrics":null}</json>\nOperation context: <json>{"clientRequestId":null,"correlationId":"bcf8f02d-03c2-4d9d-9009-8703d55522e4:6108aa1dec10","requestId":null,"userSubscriptionId":null,"startTime":"2021-06-30T09:41:37.1309348Z","userAgent":"LPK/2.1.20210515.1-887601f7 VisualStudio/16.10.31321.278","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210421.2","requestHeaders":{},"loggingProperties":{"applicationName":"MindaroCli","deviceOperatingSystem":"Microsoft Windows 10.0.19042","framework":".NET Core 3.1.15","macAddressHash":"816faa7e656abb394563e08fee2b8aad7b9acbc3495cb0feffabd21ebca9cc43","processId":8804,"targetEnvironment":"Production","commandId":"6108aa1dec10"}}</json>
2021-06-30T09:41:37.3881755Z | MindaroCli | TRACE | Running Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand...
2021-06-30T09:41:37.3904502Z | MindaroCli | TRACE | Initializing progress reporter...
2021-06-30T09:41:38.5710586Z | MindaroCli | ERROR | Dependency: Prep Connect <json>{"target":null,"success":false,"duration":null,"properties":{"requestId":"null","clientRequestId":"null","correlationRequestId":"null"}}</json>
2021-06-30T09:41:39.6547664Z | MindaroCli | ERROR | An unexpected error occurred: 'Value cannot be null. (Parameter 'source')'\n
2021-06-30T09:41:39.6551221Z | MindaroCli | ERROR | To see our active issues or file a bug report, please visit https://aka.ms/bridge-to-k8s-report.\n
2021-06-30T09:41:39.6553740Z | MindaroCli | ERROR | For diagnostic information, see logs at 'C:\Users\xxx\AppData\Local\Temp\Bridge To Kubernetes'.\n
2021-06-30T09:41:39.6590645Z | MindaroCli | ERROR | Logging handled exception: System.ArgumentNullException: {"ClassName":"System.ArgumentNullException","Message":"Value cannot be null.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)\r\n   at System.Linq.Enumerable.SelectMany[TSource,TResult](IEnumerable`1 source, Func`2 selector)\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_2.<_CollectServicesToRouteAsync>b__2(V1Endpoints e)\r\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\r\n   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.<>c__DisplayClass31_0.<<_CollectServicesToRouteAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.BridgeToKubernetes.Library.Connect.KubernetesRemoteEnvironmentManager.GetReachableServicesAsync(String namespaceName, ILocalProcessConfig localProcessConfig, IProgress`1 progress, CancellationToken cancellationToken)\r\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.<>c__DisplayClass13_0.<<GetElevationRequestsAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ManagementClientExceptionStrategy.RunWithHandlingAsync[T](Func`1 func, FailureConfig failureConfig)\r\n   at Microsoft.BridgeToKubernetes.Library.ManagementClients.ConnectManagementClient.GetElevationRequestsAsync(IProgress`1 progress, CancellationToken cancellationToken)\r\n   at Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand.ExecuteAsync()\r\n   at Microsoft.BridgeToKubernetes.Exe.CliApp.RunCommandAsync(String[] args, CancellationToken cancellationToken)\r\n   at Microsoft.BridgeToKubernetes.Exe.CliApp.ExecuteAsync(String[] args, CancellationToken cancellationToken)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"System.Linq","WatsonBuckets":null,"ParamName":"source"}
2021-06-30T09:41:39.6604216Z | MindaroCli | TRACE | Event: Command.End <json>{"properties":{"arguments":"prep-connect --namespace default --output json","result":"Failed","failureReason":"Value cannot be null. (Parameter 'source')"},"metrics":{"duration":2394.0}}</json>

Why does it want to connect to etcd-headless or elastisearch-master-headless? I didn't choose that in the configuration:

image

daniv-msft commented 3 years ago

Thanks @dk-do for your comment. We have a fix for this, and will release it soon. Even though you are not connecting to etcd-headless or elastisearch-master-headless specifically, you can see references to them in the logs because our technology works by intercepting traffic your local service sends to other services and redirect that in your cluster. As such, we need to "replicate" locally (i.e. create interceptors in your local hosts file, etc.) all the services available in your cluster, including the two services you mention here.

From our investigation, this bug is related to a concurrent access issue and should happen more or less randomly. Could you please let us know if you are reproducing this issue consistently?

Also, I see that you're using VS 2019 Professional. Would you be open to trying beta bits in VS Code? If yes, we can provide you instructions on how to test the fix and unblock you.

Finally, if using VS Code isn't a possibility, please feel free to use an older version of the Visual Studio extension while we release the fix for it: https://github.com/microsoft/mindaro/issues/155#issuecomment-825902824

dk-do commented 3 years ago

@daniv-msft Thx for the fast response! The issue occured suddenly. On Tuesday evening everything was fine. I shut down my notebook and after starting on Wednesday I had this issue. Now I have it permantly. Both in VS Pro and VS Code...

I will check the previous version but I can test beta bits in VS Code as well :)

daniv-msft commented 3 years ago

@dk-do Thanks for your reply, and sorry again for the disruption this creates on your side. Here is how you can test the beta bits of our VS Code extension. We would really appreciate if you can validate it fixes the issue for you!

Please note that VS Code easily loses environment variables if you open a new window, so please make sure that you can see the [STAGING] prefix in the Kubernetes status bar item before testing your application.

kekovski commented 3 years ago

Hi @daniv-msft,

I did uninstall the existing Bridge to Kubernetes extension. Then installed again via the VSIX file. Thereafter on my terminal I set the BRIDGE_ENVIRONMENT="staging" environment variable and launched my workspace again.

I also see the [STAGING] sign on the status bar.

When I try to launch the debugger I get the following issue:

> Executing task: bridge-to-kubernetes.resource <

Redirecting Kubernetes service stats-api to your machine...
Target cluster: aks-bridges-dev-we-001
Current cluster: aks-bridges-dev-we-001
Target namespace: bridges-platform
Current namespace: bridges-platform
Target service name: stats-api
Target service ports: 3001
Using kubernetes service environment variables: false

Retrieving the current context and credentials...
Validating the credentials to access the cluster...
Validating the requirements to replicate resources locally...

Error: Unrecognized option '--service'

The terminal process terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

> Executing task: bridge-to-kubernetes.resource <

Redirecting Kubernetes service stats-api to your machine...
Target cluster: aks-bridges-dev-we-001
Current cluster: aks-bridges-dev-we-001
Target namespace: bridges-platform
Current namespace: bridges-platform
Target service name: stats-api
Target service ports: 3001
Using kubernetes service environment variables: false

Retrieving the current context and credentials...
Validating the credentials to access the cluster...
Validating the requirements to replicate resources locally...

Error: Unrecognized option '--service'

The terminal process terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

image

Log file: bridge-mindarocli-2021-07-02-06-36-39-8828.txt

2021-07-02T06:36:39.6887620Z | MindaroCli | TRACE | Event: Command.Start <json>{"properties":{"arguments":"prep-connect --output json --service stats-api --namespace bridges-platform","isRoutingEnabled":"false"},"metrics":null}</json>\nOperation context: <json>{"clientRequestId":null,"correlationId":"e74846d0-feba-45bc-9409-0c70b594a3f21625207317731:f7189eae3fe1","requestId":null,"userSubscriptionId":null,"startTime":"2021-07-02T06:36:39.2555130Z","userAgent":"VSCode/1.0.120210702","requestHttpMethod":null,"requestUri":null,"version":"1.0.20210615.1","requestHeaders":{},"loggingProperties":{"applicationName":"MindaroCli","deviceOperatingSystem":"Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu May  6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64","framework":".NET Core 3.1.9","macAddressHash":"bb7fe85235f87f3e5106c771712f2e6d389eb6c7edd59352200616581c2ed72c","processId":8828,"targetEnvironment":"Staging","commandId":"f7189eae3fe1"}}</json>
2021-07-02T06:36:39.7882570Z | MindaroCli | ERROR | Unrecognized option '--service'\n
2021-07-02T06:36:40.0258270Z | MindaroCli | WARNG | Logging handled exception: Microsoft.Extensions.CommandLineUtils.CommandParsingException: {"Command":{"Options":[{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Parent":{"Options":[{"Template":"--version","ShortName":null,"LongName":"version","SymbolName":null,"ValueName":null,"Description":"Show version information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},{"Template":"-h|--help","ShortName":"h","LongName":"help","SymbolName":null,"ValueName":null,"Description":"Show help information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[{"Options":[{"Template":"-h|--help","ShortName":"h","LongName":"help","SymbolName":null,"ValueName":null,"Description":"Show help information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--container","ShortName":null,"LongName":"container","SymbolName":null,"ValueName":null,"Description":"The name of the container to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--deployment","ShortName":null,"LongName":"deployment","SymbolName":null,"ValueName":null,"Description":"The name of the deployment to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--local-port","ShortName":null,"LongName":"local-port","SymbolName":null,"ValueName":null,"Description":"Application's port number when running locally.","Values":[],"OptionType":0,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--script","ShortName":null,"LongName":"script","SymbolName":null,"ValueName":null,"Description":"Generate a script file to update environment variables.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--env","ShortName":null,"LongName":"env","SymbolName":null,"ValueName":null,"Description":"Output a json file with the environment variables.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--ppid","ShortName":null,"LongName":"ppid","SymbolName":null,"ValueName":null,"Description":"The effective parent process ID that dictates lifetime of the CLI process","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--control-port","ShortName":null,"LongName":"control-port","SymbolName":null,"ValueName":null,"Description":"A port used to communicate internal status.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--pod","ShortName":null,"LongName":"pod","SymbolName":null,"ValueName":null,"Description":"The name of the pod to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--service","ShortName":null,"LongName":"service","SymbolName":null,"ValueName":null,"Description":"The name of the service to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--elevation-requests","ShortName":null,"LongName":"elevation-requests","SymbolName":null,"ValueName":null,"Description":"JSON encoded output from prep-connect command.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},{"IsRequired":false,"Template":"--routing","ShortName":null,"LongName":"routing","SymbolName":null,"ValueName":null,"Description":"The header value to route on.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--use-kubernetes-service-environment-variables","ShortName":null,"LongName":"use-kubernetes-service-environment-variables","SymbolName":null,"ValueName":null,"Description":"An option to run the connect command when cluster service environment variables are used. To learn more, visit https://aka.ms/use-k8s-svc-env-vars","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"-y|--yes","ShortName":"y","LongName":"yes","SymbolName":null,"ValueName":null,"Description":"Overrides prompt for confirmation.","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"connect","FullName":"Redirect traffic from a service, deployment or pod running in your cluster to your local machine.","Syntax":null,"Description":"Redirect traffic from a service, deployment or pod running in your cluster to your local machine.","ShowInHelpText":true,"ExtendedHelpText":"","OptionHelp":{"Template":"-h|--help","ShortName":"h","LongName":"help","SymbolName":null,"ValueName":null,"Description":"Show help information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetDeploymentOption":{"IsRequired":false,"Template":"--deployment","ShortName":null,"LongName":"deployment","SymbolName":null,"ValueName":null,"Description":"The name of the deployment to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"targetPodOption":{"IsRequired":false,"Template":"--pod","ShortName":null,"LongName":"pod","SymbolName":null,"ValueName":null,"Description":"The name of the pod to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"targetServiceOption":{"IsRequired":false,"Template":"--service","ShortName":null,"LongName":"service","SymbolName":null,"ValueName":null,"Description":"The name of the service to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"connect","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetContainerOption":{"IsRequired":false,"Template":"--container","ShortName":null,"LongName":"container","SymbolName":null,"ValueName":null,"Description":"The name of the container to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"localPortOption":{"IsRequired":false,"Template":"--local-port","ShortName":null,"LongName":"local-port","SymbolName":null,"ValueName":null,"Description":"Application's port number when running locally.","Values":[],"OptionType":0,"ShowInHelpText":true,"Inherited":false},"updateScriptOption":{"IsRequired":false,"Template":"--script","ShortName":null,"LongName":"script","SymbolName":null,"ValueName":null,"Description":"Generate a script file to update environment variables.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"envOption":{"IsRequired":false,"Template":"--env","ShortName":null,"LongName":"env","SymbolName":null,"ValueName":null,"Description":"Output a json file with the environment variables.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"waitPpidOption":{"IsRequired":false,"Template":"--ppid","ShortName":null,"LongName":"ppid","SymbolName":null,"ValueName":null,"Description":"The effective parent process ID that dictates lifetime of the CLI process","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"controlPortOption":{"IsRequired":false,"Template":"--control-port","ShortName":null,"LongName":"control-port","SymbolName":null,"ValueName":null,"Description":"A port used to communicate internal status.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"elevationRequestsOption":{"IsRequired":false,"Template":"--elevation-requests","ShortName":null,"LongName":"elevation-requests","SymbolName":null,"ValueName":null,"Description":"JSON encoded output from prep-connect command.","Values":[],"OptionType":1,"ShowInHelpText":false,"Inherited":false},"routingOption":{"IsRequired":false,"Template":"--routing","ShortName":null,"LongName":"routing","SymbolName":null,"ValueName":null,"Description":"The header value to route on.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"useKubernetesServiceEnvironmentVariables":{"IsRequired":false,"Template":"--use-kubernetes-service-environment-variables","ShortName":null,"LongName":"use-kubernetes-service-environment-variables","SymbolName":null,"ValueName":null,"Description":"An option to run the connect command when cluster service environment variables are used. To learn more, visit https://aka.ms/use-k8s-svc-env-vars","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},"yesOption":{"IsRequired":false,"Template":"-y|--yes","ShortName":"y","LongName":"yes","SymbolName":null,"ValueName":null,"Description":"Overrides prompt for confirmation.","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ConnectCommand+<>c__DisplayClass27_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ConnectCommand+<>c__DisplayClass27_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663539,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489120592}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"clean-local-connect","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"Name":"clean-local-connect","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"Method":{"Name":"<Configure>b__3_0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.CleanConnectCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.CleanConnectCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663446,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4446794848}},"Attributes":129,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":true,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[{"AttributeType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Constructor":{"Name":".ctor","MemberType":1,"DeclaringType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReflectedType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","MetadataToken":100676289,"MethodHandle":{"Value":{"value":4480310064}},"Attributes":6278,"CallingConvention":33,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":true,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":true,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":true,"IsConstructedGenericMethod":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"CustomAttributes":[],"IsCollectible":true},"ConstructorArguments":[],"NamedArguments":[]}]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"get-routing-header","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"get-routing-header","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RoutingHeaderCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RoutingHeaderCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663586,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489121840}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"is-routing-supported","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"is-routing-supported","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RoutingSupportedCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RoutingSupportedCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663588,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489122088}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"check-credentials","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"check-credentials","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.CheckCredentialsCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.CheckCredentialsCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663562,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489122352}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--routing","ShortName":null,"LongName":"routing","SymbolName":null,"ValueName":null,"Description":"The header value to route on.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"list-ingress","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"list-ingress","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"routingOption":{"IsRequired":false,"Template":"--routing","ShortName":null,"LongName":"routing","SymbolName":null,"ValueName":null,"Description":"The header value to route on.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListIngressCommand+<>c__DisplayClass6_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListIngressCommand+<>c__DisplayClass6_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663570,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489122632}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"list-namespace","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"list-namespace","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListNamespaceCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListNamespaceCommand+<>c__DisplayClass4_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663574,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489122880}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"list-service","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"list-service","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListServiceCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListServiceCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663578,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489123144}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"list-context","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"Name":"list-context","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"Method":{"Name":"<Configure>b__3_0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListContextCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.ListContextCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663468,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4446800336}},"Attributes":129,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":true,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[{"AttributeType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Constructor":{"Name":".ctor","MemberType":1,"DeclaringType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReflectedType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","MetadataToken":100676289,"MethodHandle":{"Value":{"value":4480310064}},"Attributes":6278,"CallingConvention":33,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":true,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":true,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":true,"IsConstructedGenericMethod":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"CustomAttributes":[],"IsCollectible":true},"ConstructorArguments":[],"NamedArguments":[]}]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},{"Options":[{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}],"Arguments":[],"RemainingArguments":[],"Commands":[],"Name":"refresh-credentials","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"refresh-credentials","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RefreshCredentialsCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.RefreshCredentialsCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663582,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489123408}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}}],"Parent":null,"Name":null,"FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":true,"ExtendedHelpText":null,"OptionHelp":{"Template":"-h|--help","ShortName":"h","LongName":"help","SymbolName":null,"ValueName":null,"Description":"Show help information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},"OptionVersion":{"Template":"--version","ShortName":null,"LongName":"version","SymbolName":null,"ValueName":null,"Description":"Show version information","Values":[],"OptionType":2,"ShowInHelpText":true,"Inherited":false},"IsShowingInformation":false,"Invoke":{"Target":{"invoke":{"Target":{"Name":null,"ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"Method":{"Name":"<Configure>b__14_0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.RootCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.RootCommand, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663441,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4446790056}},"Attributes":129,"CallingConvention":33,"ReturnType":"System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Threading.Tasks.Task`1[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":true,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[{"AttributeType":"System.Runtime.CompilerServices.AsyncStateMachineAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Constructor":{"Name":".ctor","MemberType":1,"DeclaringType":"System.Runtime.CompilerServices.AsyncStateMachineAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReflectedType":"System.Runtime.CompilerServices.AsyncStateMachineAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","MetadataToken":100676264,"MethodHandle":{"Value":{"value":4489242376}},"Attributes":6278,"CallingConvention":33,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":true,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":true,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":true,"IsConstructedGenericMethod":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"CustomAttributes":[{"AttributeType":"System.Runtime.CompilerServices.NullableContextAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Constructor":{"Name":".ctor","MemberType":1,"DeclaringType":"System.Runtime.CompilerServices.NullableContextAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReflectedType":"System.Runtime.CompilerServices.NullableContextAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","MetadataToken":100663305,"MethodHandle":{"Value":{"value":4464916696}},"Attributes":6278,"CallingConvention":33,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":true,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":true,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":true,"IsConstructedGenericMethod":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"CustomAttributes":[],"IsCollectible":true},"ConstructorArguments":[{"ArgumentType":"System.Byte, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Value":1}],"NamedArguments":[]}],"IsCollectible":true},"ConstructorArguments":[{"ArgumentType":"System.Type, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Value":"Microsoft.BridgeToKubernetes.Exe.Commands.RootCommand+<<Configure>b__14_0>d, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"}],"NamedArguments":[]},{"AttributeType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Constructor":{"Name":".ctor","MemberType":1,"DeclaringType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReflectedType":"System.Runtime.CompilerServices.CompilerGeneratedAttribute, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","MetadataToken":100676289,"MethodHandle":{"Value":{"value":4480310064}},"Attributes":6278,"CallingConvention":33,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":true,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":true,"IsStatic":false,"IsVirtual":false,"IsAssembly":false,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":true,"IsConstructedGenericMethod":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"CustomAttributes":[],"IsCollectible":true},"ConstructorArguments":[],"NamedArguments":[]}]}}},"Method":{"Name":"<OnExecute>b__0","DeclaringType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass79_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","ReflectedType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass79_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","MemberType":8,"MetadataToken":100663419,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489119616}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":{"Target":{"shortFormVersion":"1.0.20210615.1","longFormVersion":"1.0.20210615.1"},"Method":{"Name":"<VersionOption>b__2","DeclaringType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass82_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","ReflectedType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass82_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","MemberType":8,"MetadataToken":100663428,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489119384}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"ShortVersionGetter":{"Target":{"shortFormVersion":"1.0.20210615.1","longFormVersion":"1.0.20210615.1"},"Method":{"Name":"<VersionOption>b__1","DeclaringType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass82_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","ReflectedType":"Microsoft.Extensions.CommandLineUtils.CommandLineApplication+<>c__DisplayClass82_0, Microsoft.Extensions.CommandLineUtils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60","MemberType":8,"MetadataToken":100663427,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489119360}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},"Name":"prep-connect","FullName":null,"Syntax":null,"Description":null,"ShowInHelpText":false,"ExtendedHelpText":null,"OptionHelp":null,"OptionVersion":null,"IsShowingInformation":false,"Invoke":{"Target":{"targetNamespaceOption":{"IsRequired":false,"Template":"--namespace","ShortName":null,"LongName":"namespace","SymbolName":null,"ValueName":null,"Description":"The namespace containing the resource to redirect locally.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false},"<>4__this":{"Name":"prep-connect","ShouldSendTelemetry":true,"CancellationToken":{"IsCancellationRequested":false,"CanBeCanceled":false,"WaitHandle":{"Handle":{"value":864},"SafeWaitHandle":{"IsInvalid":false,"IsClosed":false}}}},"targetKubeConfigContextOption":{"IsRequired":false,"Template":"--context","ShortName":null,"LongName":"context","SymbolName":null,"ValueName":null,"Description":"The kubeconfig context to use. To use this flag, --namespace must also be passed.","Values":[],"OptionType":1,"ShowInHelpText":true,"Inherited":false}},"Method":{"Name":"<Configure>b__0","DeclaringType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","ReflectedType":"Microsoft.BridgeToKubernetes.Exe.Commands.Connect.PrepConnectCommand+<>c__DisplayClass5_0, dsc, Version=1.0.4871.95, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","MemberType":8,"MetadataToken":100663555,"IsSecurityCritical":true,"IsSecuritySafeCritical":false,"IsSecurityTransparent":false,"MethodHandle":{"Value":{"value":4489121592}},"Attributes":131,"CallingConvention":33,"ReturnType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","ReturnTypeCustomAttributes":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"ReturnParameter":{"ParameterType":"System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","Name":null,"HasDefaultValue":true,"DefaultValue":null,"RawDefaultValue":null,"MetadataToken":134217728,"Attributes":0,"Position":-1,"IsIn":false,"IsLcid":false,"IsOptional":false,"IsOut":false,"IsRetval":false,"CustomAttributes":[]},"IsCollectible":false,"IsGenericMethod":false,"IsGenericMethodDefinition":false,"ContainsGenericParameters":false,"MethodImplementationFlags":0,"IsAbstract":false,"IsConstructor":false,"IsFinal":false,"IsHideBySig":true,"IsSpecialName":false,"IsStatic":false,"IsVirtual":false,"IsAssembly":true,"IsFamily":false,"IsFamilyAndAssembly":false,"IsFamilyOrAssembly":false,"IsPrivate":false,"IsPublic":false,"IsConstructedGenericMethod":false,"CustomAttributes":[]}},"LongVersionGetter":null,"ShortVersionGetter":null,"AllowArgumentSeparator":false,"Out":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"},"Error":{"Encoding":{"BodyName":"utf-8","EncodingName":"Unicode (UTF-8)","HeaderName":"utf-8","WebName":"utf-8","WindowsCodePage":1200,"IsBrowserDisplay":true,"IsBrowserSave":true,"IsMailNewsDisplay":true,"IsMailNewsSave":true,"IsSingleByte":false,"EncoderFallback":{"DefaultString":"�","MaxCharCount":1},"DecoderFallback":{"DefaultString":"�","MaxCharCount":1},"IsReadOnly":true,"CodePage":65001},"FormatProvider":"(Default)","NewLine":"\n"}},"StackTrace":"   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.HandleUnexpectedArg(CommandLineApplication command, String[] args, Int32 index, String argTypeName)\n   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)\n   at Microsoft.BridgeToKubernetes.Exe.Commands.CommandsConfigurator.ConfigureCommands()\n   at Microsoft.BridgeToKubernetes.Exe.CliApp.ConfigureCommands()","Message":"Unrecognized option '--service'","Data":{},"InnerException":null,"HelpLink":null,"Source":"Microsoft.Extensions.CommandLineUtils","HResult":-2146233088}
2021-07-02T06:36:40.0405460Z | MindaroCli | TRACE | Event: Command.End <json>{"properties":{"arguments":"prep-connect --output json --service stats-api --namespace bridges-platform","result":"Failed","failureReason":"Unrecognized option '--service'"},"metrics":{"duration":432.0}}</json>
amsoedal commented 3 years ago

Hi @kekovski, it looks like our binaries from the prod extension got left over. Can you delete everything inside this folder and try again with the same vsix & environment variables? /Users/your_username/Library/"Application Support"/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/