k8wiz
Argo CD
Medium
CLI Usage

When running `argocd app create`, which flag specifies the target cluster API server URL?

Select your answer:

Show answer and explanation

Answer: --dest-server

Explanation

--dest-server takes the API server URL of the target cluster, such as https://kubernetes.default.svc for the cluster Argo CD runs in. --dest-name selects a registered cluster by name instead, and --dest-namespace sets the target namespace.

Read more about Argo CD