Skip to content

Windows Server 2022 Datacenter : Unable to Install KubeLogin #729

Description

@pavanmathad11

I tried below commands and errors below:

  1. az aks install-cli
    Errors: The detected architecture of current device is "amd64", and the binary for "amd64" will be downloaded. If the detection is wrong, please download and install the binary corresponding to the appropriate architecture.
    No version specified, will get the latest version of kubectl from "https://dl.k8s.io/release/stable.txt"
    SSL certificate verification failed. Please ensure that the python interpreter used by azure-cli uses the appropriate cert store when making requests. For more details, please refer to Use the system certificate store instead of certifi azure-cli#19305

2.winget install --id=Kubernetes.kubectl -e

Error:winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • winget install --id=Kubernetes.kubectl -e
  •   + CategoryInfo          : ObjectNotFound: (winget:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
  1. choco install kubernetes-cli azure-kubelogin
    Error: choco : The term 'choco' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
  • choco install kubernetes-cli azure-kubelogin
  •   + CategoryInfo          : ObjectNotFound: (choco:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    

Please note Choco and Winget are not supported in Windows Server 2202 as per this article.

https://github.com/microsoft/winget-cli

Please suggest if any alternate way to install Kubelogin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions