May 2018
Intermediate to advanced
554 pages
13h 51m
English
In this recipe, to bypass additional network settings and having to verify permissions, we will demonstrate the a minikube-created cluster with a Kubernetes proxy: it is easy to create a Kubernetes cluster on the host, and enable local proximity to an API server with a proxy entry.
First, run up a proxy for fast API request forwarding:
//curl by API endpoint$ kubectl proxyStarting to serve on 127.0.0.1:8001
Having worked with Kubernetes proxy for a while, you may find it is somehow annoying that the command kubectl proxy is a halt process on your terminal, forcing you to open a new channel for the following commands. To avoid this, just add & as the last parameter in your command. This & symbol in the shell will make your command ...