kubectl proxy
Run a proxy to the Kubernetes API server kubectl reference
14 options Its page in the kubectl reference
Options
--accept-hostsRegular expression for hosts that the proxy should accept.--accept-pathsRegular expression for paths that the proxy should accept.--addressThe IP address on which to serve on.--api-prefixPrefix to serve the proxied API under.--append-server-pathIf true, enables automatic path appending of the kube context server path to each request.--disable-filterIf true, disable request filtering in the proxy.--help, -hhelp for proxy--keepalivekeepalive specifies the keep-alive period for an active network connection.--port, -pThe port on which to run the proxy.--reject-methodsRegular expression for HTTP methods that the proxy should reject (example --reject-methods='POST,PUT,PATCH').--reject-pathsRegular expression for paths that the proxy should reject.--unix-socket, -uUnix socket on which to run the proxy.--www, -wAlso serve static files from the given directory under the specified prefix.--www-prefix, -PPrefix to serve static files under, if static file directory is specified.