mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 18:52:38 +00:00
Merge pull request #3480 from jbeda/all_pflag
Convert all main binaries to pflag library
This commit is contained in:
@@ -253,7 +253,7 @@ Congratulations!
|
||||
The following will run all of the end-to-end testing scenarios assuming you set your environment in cluster/kube-env.sh
|
||||
|
||||
```
|
||||
hack/e2e-test.sh
|
||||
NUM_MINIONS=3 hack/e2e-test.sh
|
||||
```
|
||||
|
||||
### Troubleshooting
|
||||
|
@@ -14,64 +14,64 @@ The **kubernetes** API server validates and configures data for 3 types of objec
|
||||
The the kube-apiserver several options.
|
||||
|
||||
# OPTIONS
|
||||
**-address**=""
|
||||
**--address**=""
|
||||
The address on the local server to listen to. Default 127.0.0.1
|
||||
|
||||
**-allow_privileged**=""
|
||||
**--allow_privileged**=""
|
||||
If true, allow privileged containers.
|
||||
|
||||
**-alsologtostderr**=
|
||||
**--alsologtostderr**=
|
||||
log to standard error as well as files. Default is false.
|
||||
|
||||
**-api_prefix**="/api"
|
||||
**--api_prefix**="/api"
|
||||
The prefix for API requests on the server. Default '/api'
|
||||
|
||||
**-cloud_config**=""
|
||||
**--cloud_config**=""
|
||||
The path to the cloud provider configuration file. Empty string for no configuration file.
|
||||
|
||||
**-cloud_provider**=""
|
||||
**--cloud_provider**=""
|
||||
The provider for cloud services. Empty string for no provider.
|
||||
|
||||
**-cors_allowed_origins**=[]
|
||||
**--cors_allowed_origins**=[]
|
||||
List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
|
||||
|
||||
**-etcd_servers**=[]
|
||||
**--etcd_servers**=[]
|
||||
List of etcd servers to watch (http://ip:port), comma separated
|
||||
|
||||
**-health_check_minions**=
|
||||
**--health_check_minions**=
|
||||
If true, health check minions and filter unhealthy ones. Default true.
|
||||
|
||||
**-log_backtrace_at=**:0
|
||||
**--log_backtrace_at=**:0
|
||||
when logging hits line file:N, emit a stack trace
|
||||
|
||||
**-log_dir**=""
|
||||
**--log_dir**=""
|
||||
If non-empty, write log files in this directory
|
||||
|
||||
**-log_flush_frequency**=5s
|
||||
**--log_flush_frequency**=5s
|
||||
Maximum number of seconds between log flushes. Default is 5 seconds.
|
||||
|
||||
**-logtostderr**=
|
||||
**--logtostderr**=
|
||||
log to standard error instead of files. Default is false.
|
||||
|
||||
**-kubelet_port**=10250
|
||||
**--kubelet_port**=10250
|
||||
The port at which kubelet will be listening on the minions. Default is 10250.
|
||||
|
||||
**-port**=8080
|
||||
**--port**=8080
|
||||
The port to listen on. Default is 8080.
|
||||
|
||||
**-stderrthreshold**=0
|
||||
**--stderrthreshold**=0
|
||||
logs at or above this threshold go to stderr. Default is 0.
|
||||
|
||||
**-storage_version**=""
|
||||
**--storage_version**=""
|
||||
The version to store resources with. Defaults to server preferred.
|
||||
|
||||
**-v**=0
|
||||
**--v**=0
|
||||
Log level for V logs.
|
||||
|
||||
**-version**=false
|
||||
**--version**=false
|
||||
Print version information and quit. Default is false.
|
||||
|
||||
**-vmodule**=
|
||||
**--vmodule**=
|
||||
comma-separated list of pattern=N settings for file-filtered logging
|
||||
|
||||
# EXAMPLES
|
||||
|
@@ -14,64 +14,64 @@ The **kubernetes** controller manager is really a service that is layered on top
|
||||
The kube-controller-manager has several options.
|
||||
|
||||
# OPTIONS
|
||||
**-address**=""
|
||||
**--address**=""
|
||||
The address on the local server to listen to. Default 127.0.0.1.
|
||||
|
||||
**-allow_privileged**="false"
|
||||
**--allow_privileged**="false"
|
||||
If true, allow privileged containers.
|
||||
|
||||
**-address=**"127.0.0.1"
|
||||
**--address=**"127.0.0.1"
|
||||
The address to serve from.
|
||||
|
||||
**-alsologtostderr**=false
|
||||
**--alsologtostderr**=false
|
||||
log to standard error as well as files.
|
||||
|
||||
**-api_version**=""
|
||||
**--api_version**=""
|
||||
The API version to use when talking to the server.
|
||||
|
||||
**-cloud_config**=""
|
||||
**--cloud_config**=""
|
||||
The path to the cloud provider configuration file. Empty string for no configuration file.
|
||||
|
||||
**-cloud_provider**=""
|
||||
**--cloud_provider**=""
|
||||
The provider for cloud services. Empty string for no provider.
|
||||
|
||||
**-minion_regexp**=""
|
||||
**--minion_regexp**=""
|
||||
If non empty, and -cloud_provider is specified, a regular expression for matching minion VMs.
|
||||
|
||||
**-insecure_skip_tls_verify**=false
|
||||
**--insecure_skip_tls_verify**=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
**-log_backtrace_at**=:0
|
||||
**--log_backtrace_at**=:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
**-log_dir**=""
|
||||
**--log_dir**=""
|
||||
If non-empty, write log files in this directory.
|
||||
|
||||
**-log_flush_frequency**=5s
|
||||
**--log_flush_frequency**=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
**-logtostderr**=false
|
||||
**--logtostderr**=false
|
||||
log to standard error instead of files.
|
||||
|
||||
**-machines**=[]
|
||||
**--machines**=[]
|
||||
List of machines to schedule onto, comma separated.
|
||||
|
||||
**-master**=""
|
||||
**--master**=""
|
||||
The address of the Kubernetes API server.
|
||||
|
||||
**-port**=10252
|
||||
**--port**=10252
|
||||
The port that the controller-manager's http service runs on.
|
||||
|
||||
**-stderrthreshold**=0
|
||||
**--stderrthreshold**=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
**-v**=0
|
||||
**--v**=0
|
||||
log level for V logs.
|
||||
|
||||
**-version**=false
|
||||
**--version**=false
|
||||
Print version information and quit.
|
||||
|
||||
**-vmodule**=
|
||||
**--vmodule**=
|
||||
comma-separated list of pattern=N settings for file-filtered logging.
|
||||
|
||||
# EXAMPLES
|
||||
|
@@ -14,46 +14,46 @@ The **kubernetes** network proxy runs on each node. This reflects services as de
|
||||
The kube-proxy takes several options.
|
||||
|
||||
# OPTIONS
|
||||
**-alsologtostderr**=false
|
||||
**--alsologtostderr**=false
|
||||
log to standard error as well as files
|
||||
|
||||
**-api_version=**""
|
||||
**--api_version=**""
|
||||
The API version to use when talking to the server
|
||||
|
||||
**-bindaddress**="0.0.0.0"
|
||||
**--bindaddress**="0.0.0.0"
|
||||
The address for the proxy server to serve on (set to 0.0.0.0 or "" for all interfaces)
|
||||
|
||||
**-etcd_servers**=[]
|
||||
**--etcd_servers**=[]
|
||||
List of etcd servers to watch (http://ip:port), comma separated (optional)
|
||||
|
||||
**-insecure_skip_tls_verify**=false
|
||||
**--insecure_skip_tls_verify**=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
**-log_backtrace_at**=:0
|
||||
**--log_backtrace_at**=:0
|
||||
when logging hits line file:N, emit a stack trace
|
||||
|
||||
**-log_dir**=""
|
||||
**--log_dir**=""
|
||||
If non-empty, write log files in this directory
|
||||
|
||||
**-log_flush_frequency**=5s
|
||||
**--log_flush_frequency**=5s
|
||||
Maximum number of seconds between log flushes
|
||||
|
||||
**-logtostderr**=false
|
||||
**--logtostderr**=false
|
||||
log to standard error instead of files
|
||||
|
||||
**-master**=""
|
||||
**--master**=""
|
||||
The address of the Kubernetes API server
|
||||
|
||||
**-stderrthreshold**=0
|
||||
**--stderrthreshold**=0
|
||||
logs at or above this threshold go to stderr
|
||||
|
||||
**-v**=0
|
||||
**--v**=0
|
||||
log level for V logs
|
||||
|
||||
**-version**=false
|
||||
**--version**=false
|
||||
Print version information and quit
|
||||
|
||||
**-vmodule**=
|
||||
**--vmodule**=
|
||||
comma-separated list of pattern=N settings for file-filtered logging
|
||||
|
||||
|
||||
|
@@ -14,46 +14,46 @@ The **kubernetes** scheduler is a policy-rich, topology-aware, workload-specific
|
||||
The kube-scheduler can take several options.
|
||||
|
||||
# OPTIONS
|
||||
**-address=**"127.0.0.1"
|
||||
**--address=**"127.0.0.1"
|
||||
The address to serve from.
|
||||
|
||||
**-alsologtostderr=**false
|
||||
**--alsologtostderr=**false
|
||||
log to standard error as well as files.
|
||||
|
||||
**-api_version=**""
|
||||
**--api_version=**""
|
||||
The API version to use when talking to the server.
|
||||
|
||||
**-insecure_skip_tls_verify**=false
|
||||
**--insecure_skip_tls_verify**=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
**-log_backtrace_at=**:0
|
||||
**--log_backtrace_at=**:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
**-log_dir=**""
|
||||
**--log_dir=**""
|
||||
If non-empty, write log files in this directory.
|
||||
|
||||
**-log_flush_frequency**=5s
|
||||
**--log_flush_frequency**=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
**-logtostderr**=false
|
||||
**--logtostderr**=false
|
||||
log to standard error instead of files.
|
||||
|
||||
**-master=**""
|
||||
**--master=**""
|
||||
The address of the Kubernetes API server.
|
||||
|
||||
**-port=**10251
|
||||
**--port=**10251
|
||||
The port that the scheduler's http service runs on.
|
||||
|
||||
**-stderrthreshold**=0
|
||||
**--stderrthreshold**=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
**-v**=0
|
||||
**--v**=0
|
||||
log level for V logs.
|
||||
|
||||
**-version**=false
|
||||
**--version**=false
|
||||
Print version information and quit.
|
||||
|
||||
**-vmodule**=
|
||||
**--vmodule**=
|
||||
comma-separated list of pattern=N settings for file-filtered logging.
|
||||
|
||||
# EXAMPLES
|
||||
|
@@ -20,79 +20,79 @@ There are 4 ways that a container manifest can be provided to the Kubelet:
|
||||
|
||||
|
||||
# OPTIONS
|
||||
**-address**="127.0.0.1"
|
||||
**--address**="127.0.0.1"
|
||||
The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces).
|
||||
|
||||
**-allow_privileged**=false
|
||||
**--allow_privileged**=false
|
||||
If true, allow containers to request privileged mode. [default=false].
|
||||
|
||||
**-alsologtostderr**=false
|
||||
**--alsologtostderr**=false
|
||||
log to standard error as well as files.
|
||||
|
||||
**-config**=""
|
||||
**--config**=""
|
||||
Path to the config file or directory of files.
|
||||
|
||||
**-docker_endpoint**=""
|
||||
**--docker_endpoint**=""
|
||||
If non-empty, use this for the docker endpoint to communicate with.
|
||||
|
||||
**-enable_server**=true
|
||||
**--enable_server**=true
|
||||
Enable the info server.
|
||||
|
||||
**-etcd_servers**=[]
|
||||
**--etcd_servers**=[]
|
||||
List of etcd servers to watch (http://ip:port), comma separated.
|
||||
|
||||
**-file_check_frequency**=20s
|
||||
**--file_check_frequency**=20s
|
||||
Duration between checking config files for new data.
|
||||
|
||||
**-hostname_override**=""
|
||||
**--hostname_override**=""
|
||||
If non-empty, will use this string as identification instead of the actual hostname.
|
||||
|
||||
**-http_check_frequency**=20s
|
||||
**--http_check_frequency**=20s
|
||||
Duration between checking http for new data.
|
||||
|
||||
**-log_backtrace_at**=:0
|
||||
**--log_backtrace_at**=:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
**-log_dir**=""
|
||||
**--log_dir**=""
|
||||
If non-empty, write log files in this directory.
|
||||
|
||||
**-log_flush_frequency**=5s
|
||||
**--log_flush_frequency**=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
**-logtostderr**=false
|
||||
**--logtostderr**=false
|
||||
log to standard error instead of files.
|
||||
|
||||
**-manifest_url**=""
|
||||
**--manifest_url**=""
|
||||
URL for accessing the container manifest.
|
||||
|
||||
**-network_container_image**="kubernetes/pause:latest"
|
||||
**--network_container_image**="kubernetes/pause:latest"
|
||||
The image that network containers in each pod will use.
|
||||
|
||||
**-port**=10250
|
||||
**--port**=10250
|
||||
The port for the info server to serve on.
|
||||
|
||||
**-registry_burst**=10
|
||||
**--registry_burst**=10
|
||||
Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry_qps. Only used if --registry_qps > 0.
|
||||
|
||||
**-registry_qps**=0
|
||||
**--registry_qps**=0
|
||||
If > 0, limit registry pull QPS to this value. If 0, unlimited. [default=0.0].
|
||||
|
||||
**-root_dir**="/var/lib/kubelet"
|
||||
**--root_dir**="/var/lib/kubelet"
|
||||
Directory path for managing kubelet files (volume mounts,etc).
|
||||
|
||||
**-stderrthreshold**=0
|
||||
**--stderrthreshold**=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
**-sync_frequency**=10s
|
||||
**--sync_frequency**=10s
|
||||
Max period between synchronizing running containers and config.
|
||||
|
||||
**-v**=0
|
||||
**--v**=0
|
||||
log level for V logs.
|
||||
|
||||
**-version**=false
|
||||
**--version**=false
|
||||
Print version information and quit.
|
||||
|
||||
**-vmodule**=
|
||||
**--vmodule**=
|
||||
comma-separated list of pattern=N settings for file-filtered logging.
|
||||
|
||||
|
||||
|
@@ -17,84 +17,84 @@ The the kube\-apiserver several options.
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-address\fP=""
|
||||
\fB\-\-address\fP=""
|
||||
The address on the local server to listen to. Default 127.0.0.1
|
||||
|
||||
.PP
|
||||
\fB\-allow\_privileged\fP=""
|
||||
\fB\-\-allow\_privileged\fP=""
|
||||
If true, allow privileged containers.
|
||||
|
||||
.PP
|
||||
\fB\-alsologtostderr\fP=
|
||||
\fB\-\-alsologtostderr\fP=
|
||||
log to standard error as well as files. Default is false.
|
||||
|
||||
.PP
|
||||
\fB\-api\_prefix\fP="/api"
|
||||
\fB\-\-api\_prefix\fP="/api"
|
||||
The prefix for API requests on the server. Default '/api'
|
||||
|
||||
.PP
|
||||
\fB\-cloud\_config\fP=""
|
||||
\fB\-\-cloud\_config\fP=""
|
||||
The path to the cloud provider configuration file. Empty string for no configuration file.
|
||||
|
||||
.PP
|
||||
\fB\-cloud\_provider\fP=""
|
||||
\fB\-\-cloud\_provider\fP=""
|
||||
The provider for cloud services. Empty string for no provider.
|
||||
|
||||
.PP
|
||||
\fB\-cors\_allowed\_origins\fP=[]
|
||||
\fB\-\-cors\_allowed\_origins\fP=[]
|
||||
List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
|
||||
|
||||
.PP
|
||||
\fB\-etcd\_servers\fP=[]
|
||||
\fB\-\-etcd\_servers\fP=[]
|
||||
List of etcd servers to watch (
|
||||
\[la]http://ip:port\[ra]), comma separated
|
||||
|
||||
.PP
|
||||
\fB\-health\_check\_minions\fP=
|
||||
\fB\-\-health\_check\_minions\fP=
|
||||
If true, health check minions and filter unhealthy ones. Default true.
|
||||
|
||||
.PP
|
||||
\fB\-log\_backtrace\_at=\fP:0
|
||||
\fB\-\-log\_backtrace\_at=\fP:0
|
||||
when logging hits line file:N, emit a stack trace
|
||||
|
||||
.PP
|
||||
\fB\-log\_dir\fP=""
|
||||
\fB\-\-log\_dir\fP=""
|
||||
If non\-empty, write log files in this directory
|
||||
|
||||
.PP
|
||||
\fB\-log\_flush\_frequency\fP=5s
|
||||
\fB\-\-log\_flush\_frequency\fP=5s
|
||||
Maximum number of seconds between log flushes. Default is 5 seconds.
|
||||
|
||||
.PP
|
||||
\fB\-logtostderr\fP=
|
||||
\fB\-\-logtostderr\fP=
|
||||
log to standard error instead of files. Default is false.
|
||||
|
||||
.PP
|
||||
\fB\-kubelet\_port\fP=10250
|
||||
\fB\-\-kubelet\_port\fP=10250
|
||||
The port at which kubelet will be listening on the minions. Default is 10250.
|
||||
|
||||
.PP
|
||||
\fB\-port\fP=8080
|
||||
\fB\-\-port\fP=8080
|
||||
The port to listen on. Default is 8080.
|
||||
|
||||
.PP
|
||||
\fB\-stderrthreshold\fP=0
|
||||
\fB\-\-stderrthreshold\fP=0
|
||||
logs at or above this threshold go to stderr. Default is 0.
|
||||
|
||||
.PP
|
||||
\fB\-storage\_version\fP=""
|
||||
\fB\-\-storage\_version\fP=""
|
||||
The version to store resources with. Defaults to server preferred.
|
||||
|
||||
.PP
|
||||
\fB\-v\fP=0
|
||||
\fB\-\-v\fP=0
|
||||
Log level for V logs.
|
||||
|
||||
.PP
|
||||
\fB\-version\fP=false
|
||||
\fB\-\-version\fP=false
|
||||
Print version information and quit. Default is false.
|
||||
|
||||
.PP
|
||||
\fB\-vmodule\fP=
|
||||
\fB\-\-vmodule\fP=
|
||||
comma\-separated list of pattern=N settings for file\-filtered logging
|
||||
|
||||
.SH EXAMPLES
|
||||
@@ -102,7 +102,7 @@ The the kube\-apiserver several options.
|
||||
.RS
|
||||
|
||||
.nf
|
||||
/usr/bin/kube\-apiserver \-\-logtostderr=true \-\-v=0 \-\-etcd\_servers=http://127.0.0.1:4001 \-\-address=0.0.0.0 \-\-port=8080 \-\-machines=127.0.0.1 \-\-kubelet\_port=10250 \-\-allow\_privileged=false
|
||||
/usr/bin/kube\-apiserver \-\-logtostderr=true \-\-v=0 \-\-etcd\_servers=http://127.0.0.1:4001 \-\-address=0.0.0.0 \-\-port=8080 \-\-kubelet\_port=10250 \-\-allow\_privileged=false
|
||||
|
||||
.fi
|
||||
|
||||
|
@@ -17,83 +17,83 @@ The kube\-controller\-manager has several options.
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-address\fP=""
|
||||
\fB\-\-address\fP=""
|
||||
The address on the local server to listen to. Default 127.0.0.1.
|
||||
|
||||
.PP
|
||||
\fB\-allow\_privileged\fP="false"
|
||||
\fB\-\-allow\_privileged\fP="false"
|
||||
If true, allow privileged containers.
|
||||
|
||||
.PP
|
||||
\fB\-address=\fP"127.0.0.1"
|
||||
\fB\-\-address=\fP"127.0.0.1"
|
||||
The address to serve from.
|
||||
|
||||
.PP
|
||||
\fB\-alsologtostderr\fP=false
|
||||
\fB\-\-alsologtostderr\fP=false
|
||||
log to standard error as well as files.
|
||||
|
||||
.PP
|
||||
\fB\-api\_version\fP=""
|
||||
\fB\-\-api\_version\fP=""
|
||||
The API version to use when talking to the server.
|
||||
|
||||
.PP
|
||||
\fB\-cloud\_config\fP=""
|
||||
\fB\-\-cloud\_config\fP=""
|
||||
The path to the cloud provider configuration file. Empty string for no configuration file.
|
||||
|
||||
.PP
|
||||
\fB\-cloud\_provider\fP=""
|
||||
\fB\-\-cloud\_provider\fP=""
|
||||
The provider for cloud services. Empty string for no provider.
|
||||
|
||||
.PP
|
||||
\fB\-minion\_regexp\fP=""
|
||||
\fB\-\-minion\_regexp\fP=""
|
||||
If non empty, and \-cloud\_provider is specified, a regular expression for matching minion VMs.
|
||||
|
||||
.PP
|
||||
\fB\-insecure\_skip\_tls\_verify\fP=false
|
||||
\fB\-\-insecure\_skip\_tls\_verify\fP=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
.PP
|
||||
\fB\-log\_backtrace\_at\fP=:0
|
||||
\fB\-\-log\_backtrace\_at\fP=:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
.PP
|
||||
\fB\-log\_dir\fP=""
|
||||
\fB\-\-log\_dir\fP=""
|
||||
If non\-empty, write log files in this directory.
|
||||
|
||||
.PP
|
||||
\fB\-log\_flush\_frequency\fP=5s
|
||||
\fB\-\-log\_flush\_frequency\fP=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
.PP
|
||||
\fB\-logtostderr\fP=false
|
||||
\fB\-\-logtostderr\fP=false
|
||||
log to standard error instead of files.
|
||||
|
||||
.PP
|
||||
\fB\-machines\fP=[]
|
||||
List of machines to schedule onto, comma separated.
|
||||
\fB\-\-machines\fP=[]
|
||||
List of machines to schedule onto, comma separated.
|
||||
|
||||
.PP
|
||||
\fB\-master\fP=""
|
||||
\fB\-\-master\fP=""
|
||||
The address of the Kubernetes API server.
|
||||
|
||||
.PP
|
||||
\fB\-port\fP=10252
|
||||
\fB\-\-port\fP=10252
|
||||
The port that the controller\-manager's http service runs on.
|
||||
|
||||
.PP
|
||||
\fB\-stderrthreshold\fP=0
|
||||
\fB\-\-stderrthreshold\fP=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
.PP
|
||||
\fB\-v\fP=0
|
||||
\fB\-\-v\fP=0
|
||||
log level for V logs.
|
||||
|
||||
.PP
|
||||
\fB\-version\fP=false
|
||||
\fB\-\-version\fP=false
|
||||
Print version information and quit.
|
||||
|
||||
.PP
|
||||
\fB\-vmodule\fP=
|
||||
\fB\-\-vmodule\fP=
|
||||
comma\-separated list of pattern=N settings for file\-filtered logging.
|
||||
|
||||
.SH EXAMPLES
|
||||
|
@@ -17,60 +17,60 @@ The kube\-proxy takes several options.
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-alsologtostderr\fP=false
|
||||
\fB\-\-alsologtostderr\fP=false
|
||||
log to standard error as well as files
|
||||
|
||||
.PP
|
||||
\fB\-api\_version=\fP""
|
||||
\fB\-\-api\_version=\fP""
|
||||
The API version to use when talking to the server
|
||||
|
||||
.PP
|
||||
\fB\-bindaddress\fP="0.0.0.0"
|
||||
\fB\-\-bindaddress\fP="0.0.0.0"
|
||||
The address for the proxy server to serve on (set to 0.0.0.0 or "" for all interfaces)
|
||||
|
||||
.PP
|
||||
\fB\-etcd\_servers\fP=[]
|
||||
\fB\-\-etcd\_servers\fP=[]
|
||||
List of etcd servers to watch (
|
||||
\[la]http://ip:port\[ra]), comma separated (optional)
|
||||
|
||||
.PP
|
||||
\fB\-insecure\_skip\_tls\_verify\fP=false
|
||||
\fB\-\-insecure\_skip\_tls\_verify\fP=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
.PP
|
||||
\fB\-log\_backtrace\_at\fP=:0
|
||||
\fB\-\-log\_backtrace\_at\fP=:0
|
||||
when logging hits line file:N, emit a stack trace
|
||||
|
||||
.PP
|
||||
\fB\-log\_dir\fP=""
|
||||
\fB\-\-log\_dir\fP=""
|
||||
If non\-empty, write log files in this directory
|
||||
|
||||
.PP
|
||||
\fB\-log\_flush\_frequency\fP=5s
|
||||
\fB\-\-log\_flush\_frequency\fP=5s
|
||||
Maximum number of seconds between log flushes
|
||||
|
||||
.PP
|
||||
\fB\-logtostderr\fP=false
|
||||
\fB\-\-logtostderr\fP=false
|
||||
log to standard error instead of files
|
||||
|
||||
.PP
|
||||
\fB\-master\fP=""
|
||||
\fB\-\-master\fP=""
|
||||
The address of the Kubernetes API server
|
||||
|
||||
.PP
|
||||
\fB\-stderrthreshold\fP=0
|
||||
\fB\-\-stderrthreshold\fP=0
|
||||
logs at or above this threshold go to stderr
|
||||
|
||||
.PP
|
||||
\fB\-v\fP=0
|
||||
\fB\-\-v\fP=0
|
||||
log level for V logs
|
||||
|
||||
.PP
|
||||
\fB\-version\fP=false
|
||||
\fB\-\-version\fP=false
|
||||
Print version information and quit
|
||||
|
||||
.PP
|
||||
\fB\-vmodule\fP=
|
||||
\fB\-\-vmodule\fP=
|
||||
comma\-separated list of pattern=N settings for file\-filtered logging
|
||||
|
||||
.SH EXAMPLES
|
||||
|
@@ -17,59 +17,59 @@ The kube\-scheduler can take several options.
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-address=\fP"127.0.0.1"
|
||||
\fB\-\-address=\fP"127.0.0.1"
|
||||
The address to serve from.
|
||||
|
||||
.PP
|
||||
\fB\-alsologtostderr=\fPfalse
|
||||
\fB\-\-alsologtostderr=\fPfalse
|
||||
log to standard error as well as files.
|
||||
|
||||
.PP
|
||||
\fB\-api\_version=\fP""
|
||||
\fB\-\-api\_version=\fP""
|
||||
The API version to use when talking to the server.
|
||||
|
||||
.PP
|
||||
\fB\-insecure\_skip\_tls\_verify\fP=false
|
||||
\fB\-\-insecure\_skip\_tls\_verify\fP=false
|
||||
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
|
||||
.PP
|
||||
\fB\-log\_backtrace\_at=\fP:0
|
||||
\fB\-\-log\_backtrace\_at=\fP:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
.PP
|
||||
\fB\-log\_dir=\fP""
|
||||
\fB\-\-log\_dir=\fP""
|
||||
If non\-empty, write log files in this directory.
|
||||
|
||||
.PP
|
||||
\fB\-log\_flush\_frequency\fP=5s
|
||||
\fB\-\-log\_flush\_frequency\fP=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
.PP
|
||||
\fB\-logtostderr\fP=false
|
||||
\fB\-\-logtostderr\fP=false
|
||||
log to standard error instead of files.
|
||||
|
||||
.PP
|
||||
\fB\-master=\fP""
|
||||
\fB\-\-master=\fP""
|
||||
The address of the Kubernetes API server.
|
||||
|
||||
.PP
|
||||
\fB\-port=\fP10251
|
||||
\fB\-\-port=\fP10251
|
||||
The port that the scheduler's http service runs on.
|
||||
|
||||
.PP
|
||||
\fB\-stderrthreshold\fP=0
|
||||
\fB\-\-stderrthreshold\fP=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
.PP
|
||||
\fB\-v\fP=0
|
||||
\fB\-\-v\fP=0
|
||||
log level for V logs.
|
||||
|
||||
.PP
|
||||
\fB\-version\fP=false
|
||||
\fB\-\-version\fP=false
|
||||
Print version information and quit.
|
||||
|
||||
.PP
|
||||
\fB\-vmodule\fP=
|
||||
\fB\-\-vmodule\fP=
|
||||
comma\-separated list of pattern=N settings for file\-filtered logging.
|
||||
|
||||
.SH EXAMPLES
|
||||
|
@@ -28,104 +28,104 @@ HTTP server The kubelet can also listen for HTTP and respond to a simple API (un
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB\-address\fP="127.0.0.1"
|
||||
\fB\-\-address\fP="127.0.0.1"
|
||||
The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces).
|
||||
|
||||
.PP
|
||||
\fB\-allow\_privileged\fP=false
|
||||
\fB\-\-allow\_privileged\fP=false
|
||||
If true, allow containers to request privileged mode. [default=false].
|
||||
|
||||
.PP
|
||||
\fB\-alsologtostderr\fP=false
|
||||
\fB\-\-alsologtostderr\fP=false
|
||||
log to standard error as well as files.
|
||||
|
||||
.PP
|
||||
\fB\-config\fP=""
|
||||
\fB\-\-config\fP=""
|
||||
Path to the config file or directory of files.
|
||||
|
||||
.PP
|
||||
\fB\-docker\_endpoint\fP=""
|
||||
\fB\-\-docker\_endpoint\fP=""
|
||||
If non\-empty, use this for the docker endpoint to communicate with.
|
||||
|
||||
.PP
|
||||
\fB\-enable\_server\fP=true
|
||||
\fB\-\-enable\_server\fP=true
|
||||
Enable the info server.
|
||||
|
||||
.PP
|
||||
\fB\-etcd\_servers\fP=[]
|
||||
\fB\-\-etcd\_servers\fP=[]
|
||||
List of etcd servers to watch (
|
||||
\[la]http://ip:port\[ra]), comma separated.
|
||||
|
||||
.PP
|
||||
\fB\-file\_check\_frequency\fP=20s
|
||||
\fB\-\-file\_check\_frequency\fP=20s
|
||||
Duration between checking config files for new data.
|
||||
|
||||
.PP
|
||||
\fB\-hostname\_override\fP=""
|
||||
\fB\-\-hostname\_override\fP=""
|
||||
If non\-empty, will use this string as identification instead of the actual hostname.
|
||||
|
||||
.PP
|
||||
\fB\-http\_check\_frequency\fP=20s
|
||||
\fB\-\-http\_check\_frequency\fP=20s
|
||||
Duration between checking http for new data.
|
||||
|
||||
.PP
|
||||
\fB\-log\_backtrace\_at\fP=:0
|
||||
\fB\-\-log\_backtrace\_at\fP=:0
|
||||
when logging hits line file:N, emit a stack trace.
|
||||
|
||||
.PP
|
||||
\fB\-log\_dir\fP=""
|
||||
\fB\-\-log\_dir\fP=""
|
||||
If non\-empty, write log files in this directory.
|
||||
|
||||
.PP
|
||||
\fB\-log\_flush\_frequency\fP=5s
|
||||
\fB\-\-log\_flush\_frequency\fP=5s
|
||||
Maximum number of seconds between log flushes.
|
||||
|
||||
.PP
|
||||
\fB\-logtostderr\fP=false
|
||||
\fB\-\-logtostderr\fP=false
|
||||
log to standard error instead of files.
|
||||
|
||||
.PP
|
||||
\fB\-manifest\_url\fP=""
|
||||
\fB\-\-manifest\_url\fP=""
|
||||
URL for accessing the container manifest.
|
||||
|
||||
.PP
|
||||
\fB\-network\_container\_image\fP="kubernetes/pause:latest"
|
||||
\fB\-\-network\_container\_image\fP="kubernetes/pause:latest"
|
||||
The image that network containers in each pod will use.
|
||||
|
||||
.PP
|
||||
\fB\-port\fP=10250
|
||||
\fB\-\-port\fP=10250
|
||||
The port for the info server to serve on.
|
||||
|
||||
.PP
|
||||
\fB\-registry\_burst\fP=10
|
||||
\fB\-\-registry\_burst\fP=10
|
||||
Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry\_qps. Only used if \-\-registry\_qps > 0.
|
||||
|
||||
.PP
|
||||
\fB\-registry\_qps\fP=0
|
||||
\fB\-\-registry\_qps\fP=0
|
||||
If > 0, limit registry pull QPS to this value. If 0, unlimited. [default=0.0].
|
||||
|
||||
.PP
|
||||
\fB\-root\_dir\fP="/var/lib/kubelet"
|
||||
\fB\-\-root\_dir\fP="/var/lib/kubelet"
|
||||
Directory path for managing kubelet files (volume mounts,etc).
|
||||
|
||||
.PP
|
||||
\fB\-stderrthreshold\fP=0
|
||||
\fB\-\-stderrthreshold\fP=0
|
||||
logs at or above this threshold go to stderr.
|
||||
|
||||
.PP
|
||||
\fB\-sync\_frequency\fP=10s
|
||||
\fB\-\-sync\_frequency\fP=10s
|
||||
Max period between synchronizing running containers and config.
|
||||
|
||||
.PP
|
||||
\fB\-v\fP=0
|
||||
\fB\-\-v\fP=0
|
||||
log level for V logs.
|
||||
|
||||
.PP
|
||||
\fB\-version\fP=false
|
||||
\fB\-\-version\fP=false
|
||||
Print version information and quit.
|
||||
|
||||
.PP
|
||||
\fB\-vmodule\fP=
|
||||
\fB\-\-vmodule\fP=
|
||||
comma\-separated list of pattern=N settings for file\-filtered logging.
|
||||
|
||||
.SH EXAMPLES
|
||||
|
Reference in New Issue
Block a user