github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_app_wait.md (about)

     1  ## argocd app wait
     2  
     3  Wait for an application to reach a synced and healthy state
     4  
     5  ### Synopsis
     6  
     7  Wait for an application to reach a synced and healthy state
     8  
     9  ```
    10  argocd app wait [APPNAME.. | -l selector] [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16    # Wait for an app
    17    argocd app wait my-app
    18  
    19    # Wait for multiple apps
    20    argocd app wait my-app other-app
    21  
    22    # Wait for apps by label, in this example we waiting for apps that are children of another app (aka app-of-apps)
    23    argocd app wait -l app.kubernetes.io/instance=apps
    24  ```
    25  
    26  ### Options
    27  
    28  ```
    29        --health                 Wait for health
    30    -h, --help                   help for wait
    31        --operation              Wait for pending operations
    32        --resource stringArray   Sync only specific resources as GROUP:KIND:NAME. Fields may be blank. This option may be specified repeatedly
    33    -l, --selector string        Wait for apps by label
    34        --suspended              Wait for suspended
    35        --sync                   Wait for sync
    36        --timeout uint           Time out after this many seconds
    37  ```
    38  
    39  ### Options inherited from parent commands
    40  
    41  ```
    42        --auth-token string               Authentication token
    43        --client-crt string               Client certificate file
    44        --client-crt-key string           Client certificate key file
    45        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    46        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    47        --grpc-web-root-path string       Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
    48    -H, --header strings                  Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers)
    49        --insecure                        Skip server certificate and domain verification
    50        --logformat string                Set the logging format. One of: text|json (default "text")
    51        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    52        --plaintext                       Disable TLS
    53        --port-forward                    Connect to a random argocd-server port using port forwarding
    54        --port-forward-namespace string   Namespace name which should be used for port forwarding
    55        --server string                   Argo CD server address
    56        --server-crt string               Server certificate file
    57  ```
    58  
    59  ### SEE ALSO
    60  
    61  * [argocd app](argocd_app.md)	 - Manage applications
    62