2014-10-09 22:42:04 +00:00
% KUBERNETES(1) kubernetes User Manuals
% Scott Collier
% October 2014
# NAME
kube-proxy \- Provides network proxy services.
# SYNOPSIS
**kube-proxy** [OPTIONS]
# DESCRIPTION
The **kubernetes** network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP stream forwarding or round robin TCP forwarding across a set of backends. Service endpoints are currently found through Docker-links-compatible environment variables specifying ports opened by the service proxy. Currently the user must select a port to expose the service on on the proxy, as well as the container's port to target.
The kube-proxy takes several options.
# OPTIONS
2015-01-13 20:02:24 +00:00
**--alsologtostderr**=false
2014-10-09 22:42:04 +00:00
log to standard error as well as files
2015-01-13 20:02:24 +00:00
**--api_version=**""
2014-10-09 22:42:04 +00:00
The API version to use when talking to the server
2015-01-13 20:02:24 +00:00
**--bindaddress**="0.0.0.0"
2014-10-09 22:42:04 +00:00
The address for the proxy server to serve on (set to 0.0.0.0 or "" for all interfaces)
2015-01-13 20:02:24 +00:00
**--etcd_servers**=[]
2014-10-09 22:42:04 +00:00
List of etcd servers to watch (http://ip:port), comma separated (optional)
2015-01-13 20:02:24 +00:00
**--insecure_skip_tls_verify**=false
2014-10-09 22:42:04 +00:00
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
2015-01-13 20:02:24 +00:00
**--log_backtrace_at**=:0
2014-10-09 22:42:04 +00:00
when logging hits line file:N, emit a stack trace
2015-01-13 20:02:24 +00:00
**--log_dir**=""
2014-10-09 22:42:04 +00:00
If non-empty, write log files in this directory
2015-01-13 20:02:24 +00:00
**--log_flush_frequency**=5s
2014-10-09 22:42:04 +00:00
Maximum number of seconds between log flushes
2015-01-13 20:02:24 +00:00
**--logtostderr**=false
2014-10-09 22:42:04 +00:00
log to standard error instead of files
2015-01-13 20:02:24 +00:00
**--master**=""
2014-10-09 22:42:04 +00:00
The address of the Kubernetes API server
2015-01-13 20:02:24 +00:00
**--stderrthreshold**=0
2014-10-09 22:42:04 +00:00
logs at or above this threshold go to stderr
2015-01-13 20:02:24 +00:00
**--v**=0
2014-10-09 22:42:04 +00:00
log level for V logs
2015-01-13 20:02:24 +00:00
**--version**=false
2014-10-09 22:42:04 +00:00
Print version information and quit
2015-01-13 20:02:24 +00:00
**--vmodule**=
2014-10-09 22:42:04 +00:00
comma-separated list of pattern=N settings for file-filtered logging
# EXAMPLES
2014-10-29 17:06:56 +00:00
```
/usr/bin/kube-proxy --logtostderr=true --v=0 --etcd_servers=http://127.0.0.1:4001
```
2014-10-09 22:42:04 +00:00
# HISTORY
October 2014, Originally compiled by Scott Collier (scollier at redhat dot com) based
on the kubernetes source material and internal work.