Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

kubectl proxy in API server access #41

Open
liujunhui2 opened this issue Jan 16, 2020 · 0 comments
Open

kubectl proxy in API server access #41

liujunhui2 opened this issue Jan 16, 2020 · 0 comments

Comments

@liujunhui2
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant