Skip to content

kubectl proxy in API server access #41

@liujunhui2

Description

@liujunhui2

In the example, kubectl proxy command is used to proxy a local port to the kube-apiserver:
$ kubectl proxy --port=8080
This will work only if you have a config file recording the address of kube-apiserver, either at the default location ~/.kube/config, or provided by the --kubeconfig= parameter.
If none exists, kubectl proxy --port=8080 will create a loop, proxying itself to itself, and a kubectl command will cause a confusing too many open files error message.

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