Skip to main content

wf wait

wf wait

Waits for one of more conditions to be met


Provides the ability to wait for a resource in Wayfinder to meet a specific state. At present the only states supported are 'condition' and 'jsonpath'. The command will continue to poll the resource until all the conditions are met or the timeout is reached.



# Wait for the cluster and authentication module conditions to be ready
$ wf wait cluster mycluster --for=condition=Ready --for=condition=AuthenticationModuleReady

# Wait for the value to be present
$ wf wait cluster mycluster --for=jsonpath='{.status.clusterID}'

# Wait for the value to equal
$ wf wait cluster mycluster --for=jsonpath='{.status.clusterID}'=1234


      --for strings         The definition of a condition TYPE=RESOURCE[=VALUE]
-h, --help help for wait
--interval duration The time duration between checking for the conditions (default 5s)
--timeout duration The maximum time to wait for the conditions to be met (default 5m0s)

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within


  • wf - wf provides a cli for Wayfinder