mirror of https://github.com/k3s-io/k3s
59 lines
2.6 KiB
Markdown
59 lines
2.6 KiB
Markdown
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
|
|
|
|
<!-- BEGIN STRIP_FOR_RELEASE -->
|
|
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
|
|
<h1>PLEASE NOTE: This document applies to the HEAD of the source
|
|
tree only. If you are using a released version of Kubernetes, you almost
|
|
certainly want the docs that go with that version.</h1>
|
|
|
|
<strong>Documentation for specific releases can be found at
|
|
[releases.k8s.io](http://releases.k8s.io).</strong>
|
|
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
![WARNING](http://kubernetes.io/img/warning.png)
|
|
|
|
<!-- END STRIP_FOR_RELEASE -->
|
|
|
|
<!-- END MUNGE: UNVERSIONED_WARNING -->
|
|
## kube-proxy
|
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
|
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,UDP stream forwarding or round robin TCP,UDP forwarding across a set of backends.
|
|
Service cluster ips and ports are currently found through Docker-links-compatible
|
|
environment variables specifying ports opened by the service proxy. There is an optional
|
|
addon that provides cluster DNS for these cluster IPs. The user must create a service
|
|
with the apiserver API to configure the proxy.
|
|
|
|
|
|
### Options
|
|
|
|
```
|
|
--bind-address=<nil>: The IP address for the proxy server to serve on (set to 0.0.0.0 for all interfaces)
|
|
--healthz-bind-address=<nil>: The IP address for the health check server to serve on, defaulting to 127.0.0.1 (set to 0.0.0.0 for all interfaces)
|
|
--healthz-port=0: The port to bind the health check server. Use 0 to disable.
|
|
-h, --help=false: help for kube-proxy
|
|
--kubeconfig="": Path to kubeconfig file with authorization information (the master location is set by the master flag).
|
|
--master="": The address of the Kubernetes API server (overrides any value in kubeconfig)
|
|
--oom-score-adj=0: The oom_score_adj value for kube-proxy process. Values must be within the range [-1000, 1000]
|
|
--proxy-port-range=: Range of host ports (beginPort-endPort, inclusive) that may be consumed in order to proxy service traffic. If unspecified (0-0) then ports will be randomly chosen.
|
|
--resource-container="": Absolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).
|
|
```
|
|
|
|
###### Auto generated by spf13/cobra at 2015-07-06 18:03:37.657112759 +0000 UTC
|
|
|
|
|
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
|
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/kube-proxy.md?pixel)]()
|
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|