openshift-start-kubernetes-proxy man page

openshift start kubernetes proxy — Launch Kubernetes proxy (kube-proxy)

Synopsis

openshift start kubernetes proxy [Options]

Description

Start Kubernetes Proxy

This command launches an instance of the Kubernetes proxy (kube-proxy).

Options

--bind-address=0.0.0.0

The IP address for the proxy server to serve on (set to 0.0.0.0 for all interfaces)

--cleanup-iptables=false

If true cleanup iptables rules and exit.

--cluster-cidr=""

The CIDR range of pods in the cluster. It is used to bridge traffic coming from outside of the cluster. If not provided, no off-cluster bridging will be performed.

--config-sync-period=0

How often configuration from the apiserver is refreshed.  Must be greater than 0.

--conntrack-max=0

Maximum number of NAT connections to track (0 to leave as-is).

--conntrack-max-per-core=32768

Maximum number of NAT connections to track per CPU core (0 to leave as-is). This is only considered if conntrack-max is 0.

--conntrack-tcp-timeout-established=0

Idle timeout for established TCP connections (0 to leave as-is)

--feature-gates=

A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: AllAlpha=true|false (ALPHA - default=false) AllowExtTrafficLocalEndpoints=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) DynamicVolumeProvisioning=true|false (ALPHA - default=true)

--healthz-bind-address=127.0.0.1

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=10249

The port to bind the health check server. Use 0 to disable.

--hostname-override=""

If non-empty, will use this string as identification instead of the actual hostname.

--iptables-masquerade-bit=14

If using the pure iptables proxy, the bit of the fwmark space to mark packets requiring SNAT with.  Must be within the range [0, 31].

--iptables-sync-period=0

How often iptables rules are refreshed (e.g. '5s', '1m', '2h22m').  Must be greater than 0.

--kube-api-burst=10

Burst to use while talking with kubernetes apiserver

--kube-api-content-type="application/vnd.kubernetes.protobuf"

Content type of requests sent to apiserver.

--kube-api-qps=5

QPS to use while talking with kubernetes apiserver

--kubeconfig=""

Path to kubeconfig file with authorization information (the master location is set by the master flag).

--masquerade-all=false

If using the pure iptables proxy, SNAT everything

--master=""

The address of the Kubernetes API server (overrides any value in kubeconfig)

--oom-score-adj=-999

The oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000]

--proxy-mode=

Which proxy mode to use: 'userspace' (older) or 'iptables' (faster). If blank, look at the Node object on the Kubernetes API and respect the 'net.experimental.kubernetes.io/proxy-mode' annotation if provided.  Otherwise use the best-available proxy (currently iptables).  If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.

--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).

--udp-timeout=0

How long an idle UDP connection will be kept open (e.g. '250ms', '2s').  Must be greater than 0. Only applicable for proxy-mode=userspace

Options Inherited from Parent Commands

--google-json-key=""

The Google Cloud Platform Service Account JSON Key to use for authentication.

--log-flush-frequency=0

Maximum number of seconds between log flushes

See Also

openshift-start-kubernetes(1),

History

June 2016, Ported from the Kubernetes man-doc generator

Referenced By

openshift-start-kubernetes(1).

Openshift CLI User Manuals June 2016