kubectl wait <arg>

Experimental: Wait for a specific condition on one or many resources

Arguments

NameDescription
arg

Options

NameDescription
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats
--field-selector <arg>Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type
-f, --filename <File>Filename, directory, or URL to files identifying the resource
--localIf true, annotation will NOT contact api-server but run locally
-o, --output <Output Format>Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file
-R, --recursiveProcess the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory
-l, --selector <arg>Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
--template <arg>Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]
--allSelect all resources in the namespace of the specified resource types
-A, --all-namespaces <arg>If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace
--for <arg>The condition to wait on: [delete|condition=condition-name]
--timeout <arg>The length of time to wait before giving up. Zero means check once and don't wait, negative means wait for a week