Skip to content

User: <username> does not have appropriate auth credentials in kubeconfig #226

Closed
@cilerler

Description

@cilerler

Examples are based on

var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
IKubernetes client = new Kubernetes(config);

where it doesn't work out of the box and according to #91 workaround is simply

> kubectl proxy
Starting to serve on 127.0.0.1:8001

and calling it as

var config = new KubernetesClientConfiguration {  Host = "http://127.0.0.1:8001" };

for development environment.

What is the step-by-step instruction to make this work on production environment for Kubernetes on Google (meaning no kubectl proxy workaround )

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