Skip to content

Instantly share code, notes, and snippets.

@rafaeltuelho
Created December 20, 2022 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rafaeltuelho/34543b16af05fd4fdbc8f91747e730b2 to your computer and use it in GitHub Desktop.
Save rafaeltuelho/34543b16af05fd4fdbc8f91747e730b2 to your computer and use it in GitHub Desktop.
Notes from Codefresh ArgoCD Fundamentals

Simple Sample App

argocd app create demo \
--project default \
--sync-policy auto \
--repo https://github.com/codefresh-contrib/gitops-certification-examples \
--path ./blue-green-app \
--dest-namespace default \
--dest-server https://kubernetes.default.svc

Install Argo Rollouts Controller

argocd app create argo-rollouts-controller \
--project default \
--sync-policy auto \
--repo https://github.com/codefresh-contrib/gitops-certification-examples \
--path ./argo-rollouts-controller \
--dest-namespace argo-rollouts \
--dest-server https://kubernetes.default.svc --sync-option CreateNamespace=true

Install a smart Http Traffic Gateway

argocd app create ambassador \
--project default \
--sync-policy auto \
--repo https://github.com/codefresh-contrib/gitops-certification-examples \
--path ./ambassador-chart \
--dest-namespace ambassador \
--dest-server https://kubernetes.default.svc \
--sync-option CreateNamespace=true

Canary Sample Deployment

argocd app create demo \
--project default \
--sync-policy none \
--repo https://github.com/codefresh-contrib/gitops-certification-examples \
--path ./canary-app \
--dest-namespace default \
--dest-server https://kubernetes.default.svc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment