Example Apps to Demonstrate Argo CD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

4 years ago
kubectl create ns guestbook
kc create ns helm-guestbook
kc create ns prod-kustomize-guestbook
kc create ns dev-kustomize-guestbook
argocd app create guestbook \
--repo https://github.com/radtac-craft/argocd-example-apps.git \
--path guestbook \
--dest-server https://kubernetes.default.svc \
--dest-namespace guestbook
4 years ago
argocd app sync guestbook
argocd app wait guestbook --sync
4 years ago
argocd app create helm-guestbook \
--repo https://github.com/radtac-craft/argocd-example-apps.git \
--path helm-guestbook \
--dest-server https://kubernetes.default.svc \
--dest-namespace helm-guestbook
4 years ago
argocd app sync helm-guestbook
argocd app wait helm-guestbook --sync
KUSTOMIZE -
4 years ago
PROD:
argocd app create prod-kustomize-guestbook \
--repo https://github.com/radtac-craft/argocd-example-apps.git \
--path kustomize-guestbook/overlays/prod \
--dest-server https://kubernetes.default.svc \
--dest-namespace prod-kustomize-guestbook
4 years ago
argocd app sync prod-kustomize-guestbook
argocd app wait prod-kustomize-guestbook --sync
4 years ago
DEV:
argocd app create dev-kustomize-guestbook \
--repo https://github.com/radtac-craft/argocd-example-apps.git \
--path kustomize-guestbook/overlays/dev \
--dest-server https://kubernetes.default.svc \
4 years ago
--dest-namespace dev-kustomize-guestbook \
-- targetRevision dev
4 years ago
argocd app sync dev-kustomize-guestbook
argocd app wait dev-kustomize-guestbook --sync