Skip to content

[help] How to access api server via python client in pod #626

@ghost

Description

Hi,

I need to run the python client in the pod to access api server. When the python client runs in the pod, it raise an error that

No such file or directory: '/root/.kube/config'

It seems that the python client tries to read config file. Is there any approach to configure the client in the pod?

thanks a lot.

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