Skip to content

Expose exec Standard error #1266

Closed
@IvanJosipovic

Description

@IvanJosipovic

Describe the bug
When connecting to a new Azure AKS instance, kubelogin exposes a URL that we must open. I think we have to somehow expose this in the client so the user can interact with the URL as needed. Kubelogin exposes this output as Standard Error.
image

Kubernetes C# SDK Client Version
10.1.19

Server Kubernetes Version
1.25.4

Dotnet Runtime Version
net6

To Reproduce
Steps to reproduce the behavior:
Install Azure CLI

az aks get-credentials --resource-group $ResourceGroup --name $Name --subscription $Subscription

Load Kubeconfig with the client and attempt to list Pods etc.

Expected behavior
Client should expose standard error for exec and keep the process open and allow us view the output.

Where do you run your app with Kubernetes SDK (please complete the following information):

  • OS: Windows
  • Cloud: Azure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions