A complete example of using the akuity
CLI to declaratively manage Argo CD instances on the Akuity Platform.
This repository is accompanied by a complete tutorial in the Akuity Platform documentation.
akuity login
- Open the link displayed, enter the code.
akuity config set --organization-name=<name>
- Replace
<name>
with your organization name.
akuity argocd apply -f akuity-platform/example
Apply the agent install manifests to the cluster.
akuity argocd cluster get-agent-manifests --instance-name=example kind | kubectl apply -f -
argocd login \
$(akuity argocd instance get example -o json | jq -r '.id').cd.akuity.cloud \
--username admin \
--password akuity-argocd \
--grpc-web
argocd app list
Example output:
NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET
argocd/bootstrap in-cluster argocd default Synced Healthy Auto-Prune <none> https://github.com/akuity/declarative-example apps/ HEAD
argocd/helm-guestbook kind helm-guestbook default Synced Healthy Auto-Prune <none> https://github.com/morey-tech/argocd-example-apps general/helm-guestbook HEAD
argocd/sync-waves kind sync-waves default Synced Healthy Auto-Prune <none> https://github.com/morey-tech/argocd-example-apps general/sync-waves HEAD