Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: 33958: add global timeout flag #11104

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
86 changes: 86 additions & 0 deletions contrib/completions/bash/oadm

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions contrib/completions/bash/oc

Large diffs are not rendered by default.

386 changes: 386 additions & 0 deletions contrib/completions/bash/openshift

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions contrib/completions/zsh/oadm

Large diffs are not rendered by default.

218 changes: 218 additions & 0 deletions contrib/completions/zsh/oc

Large diffs are not rendered by default.

386 changes: 386 additions & 0 deletions contrib/completions/zsh/openshift

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/man/man1/oadm-build-chain.1
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ default namespace will be used respectively.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-create-key-pair.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ oadm ca create\-key\-pair \-\-public\-key=$CONFIG/serviceaccounts.public.key \-\
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-create-master-certs.1
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ for certain configuration changes.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-create-server-cert.1
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ cat cloudapps.crt cloudapps.key $CA/ca.crt > cloudapps.router.pem
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-create-signer-cert.1
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ Create a self\-signed CA key/cert for signing certificates used by server compon
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-decrypt.1
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ Decrypt data encrypted with "oadm ca encrypt"
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca-encrypt.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ Encrypt data with AES\-256\-CBC encryption
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-ca.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Manage certificates and keys
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-completion.1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ completion of oadm commands.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-current-context.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Displays the current\-context
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-delete-cluster.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Delete the specified cluster from the kubeconfig
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-delete-context.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Delete the specified context from the kubeconfig
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-get-clusters.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Display clusters defined in the kubeconfig
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-get-contexts.1
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ Displays one or many contexts from the kubeconfig file.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-set-cluster.1
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Specifying a name that already exists will merge new fields on top of existing v
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-token\fP=""
Bearer token for authentication to the API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-set-context.1
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ Specifying a name that already exists will merge new fields on top of existing v
\fB\-\-match\-server\-version\fP=false
Require server version to match client version

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-set-credentials.1
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ Bearer token and basic auth are mutually exclusive.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-set.1
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ PROPERTY\_VALUE is the new value you wish to set. Binary fields such as 'certifi
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-unset.1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ PROPERTY\_NAME is a dot delimited name where each token represents either an att
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-use-context.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Sets the current\-context in a kubeconfig file
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config-view.1
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ You can use \-\-output jsonpath={...} to extract specific values using a jsonpat
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-config.1
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Reference:
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-cordon.1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Mark node as unschedulable.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-api-client-config.1
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ master as the provided user.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-bootstrap-policy-file.1
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ Create the default bootstrap policy
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-bootstrap-project-template.1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ Create a bootstrap project template
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-error-template.1
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ oauthConfig:
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-key-pair.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ oadm create\-key\-pair \-\-public\-key=$CONFIG/serviceaccounts.public.key \-\-pr
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-kubeconfig.1
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ users:
\fB\-\-match\-server\-version\fP=false
Require server version to match client version

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-login-template.1
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ oauthConfig:
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-master-certs.1
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ for certain configuration changes.
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-node-config.1
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ Create a configuration bundle for a node
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-provider-selection-template.1
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ oauthConfig:
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-server-cert.1
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ cat cloudapps.crt cloudapps.key $CA/ca.crt > cloudapps.router.pem
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-create-signer-cert.1
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ Create a self\-signed CA key/cert for signing certificates used by server compon
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oadm-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ AggregatedLogging AnalyzeLogs ClusterRegistry ClusterRoleBindings ClusterRoles C
\fB\-n\fP, \fB\-\-namespace\fP=""
If present, the namespace scope for this CLI request

.PP
\fB\-\-request\-timeout\fP="0"
The length of time to wait before giving up on a single server request. Non\-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

.PP
\fB\-\-server\fP=""
The address and port of the Kubernetes API server
Expand Down
Loading