Skip to content

Commit cd460fe

Browse files
committed
Update cli-arguments.md
1 parent ee39139 commit cd460fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/developer/cli-arguments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ Flags:
6767
--pod-namespace string Name of the namespace of the pod specified by --pod. When set, it is expected that --pod and --pod-namespace are both set. Most likely this should be passed via the downward API. This is used for auto-detecting sharding. If set, this has preference over statically configured sharding. This is experimental, it may be removed without notice.
6868
--port int Port to expose metrics on. (default 8080)
6969
--resources string Comma-separated list of Resources to be enabled. Defaults to "certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,leases,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments"
70-
--server-idle-timeout duration The maximum amount of time to wait for the next request when keep-alives are enabled. (default 5m0s)
70+
--server-idle-timeout duration The maximum amount of time to wait for the next request when keep-alives are enabled. Align with the idletimeout of your scrape clients. (default 5m0s)
7171
--server-read-header-timeout duration The maximum duration for reading the header of requests. (default 5s)
72-
--server-read-timeout duration The maximum duration for reading the entire request, including the body. (default 1m0s)
73-
--server-write-timeout duration The maximum duration before timing out writes of the response. (default 1m0s)
72+
--server-read-timeout duration The maximum duration for reading the entire request, including the body. Align with the scrape interval or timeout of scraping clients. (default 1m0s)
73+
--server-write-timeout duration The maximum duration before timing out writes of the response. Align with the scrape interval or timeout of scraping clients.. (default 1m0s)
7474
--shard int32 The instances shard nominal (zero indexed) within the total number of shards. (default 0)
7575
--skip_headers If true, avoid header prefixes in the log messages
7676
--skip_log_headers If true, avoid headers when opening log files (no effect when -logtostderr=true)

0 commit comments

Comments
 (0)