Skip to content

kubelogin not found error while client reading kubeconfig file #2093

Open
@ravihooda155

Description

@ravihooda155

On using python client in azure function to do custom operation on k8s object in azure cluster and
Azure cluster config is configured to use kubelogin for auth via service principal.

"kubelogin" not found error thrown post using standard python client for doing custom operation.

Is there any fix for using python client using kubeconfig having kubelogin as auth mechanism via service principal ?
or there are separate apis for that ?

Kubernetes version (kubectl version): 1.26
OS (e.g., MacOS 10.13.6): linux
Python version (python --version): 3.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions