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

     1  ## argocd cluster
     2  
     3  Manage cluster credentials
     4  
     5  ### Synopsis
     6  
     7  Manage cluster credentials
     8  
     9  ```
    10  argocd cluster [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16    # List all known clusters in JSON format:
    17    argocd cluster list -o json
    18  
    19    # Add a target cluster configuration to ArgoCD. The context must exist in your kubectl config:
    20    argocd cluster add example-cluster
    21  
    22    # Get specific details about a cluster in plain text (wide) format:
    23    argocd cluster get example-cluster -o wide
    24  
    25    #	Remove a target cluster context from ArgoCD
    26    argocd cluster rm example-cluster
    27  
    28  ```
    29  
    30  ### Options
    31  
    32  ```
    33    -h, --help   help for cluster
    34  ```
    35  
    36  ### Options inherited from parent commands
    37  
    38  ```
    39        --auth-token string               Authentication token
    40        --client-crt string               Client certificate file
    41        --client-crt-key string           Client certificate key file
    42        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    43        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    44        --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.
    45    -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)
    46        --insecure                        Skip server certificate and domain verification
    47        --logformat string                Set the logging format. One of: text|json (default "text")
    48        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    49        --plaintext                       Disable TLS
    50        --port-forward                    Connect to a random argocd-server port using port forwarding
    51        --port-forward-namespace string   Namespace name which should be used for port forwarding
    52        --server string                   Argo CD server address
    53        --server-crt string               Server certificate file
    54  ```
    55  
    56  ### SEE ALSO
    57  
    58  * [argocd](argocd.md)	 - argocd controls a Argo CD server
    59  * [argocd cluster add](argocd_cluster_add.md)	 - argocd cluster add CONTEXT
    60  * [argocd cluster get](argocd_cluster_get.md)	 - Get cluster information
    61  * [argocd cluster list](argocd_cluster_list.md)	 - List configured clusters
    62  * [argocd cluster rm](argocd_cluster_rm.md)	 - Remove cluster credentials
    63  * [argocd cluster rotate-auth](argocd_cluster_rotate-auth.md)	 - argocd cluster rotate-auth SERVER
    64