Skip to content

Declarative, GitOps continuous delivery tool for Kubernetes.

Notifications You must be signed in to change notification settings

rwiteshbera/argo-cd-app-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Some important commands to manage ArgoCD

  • Create namespace and install ArgoCD inside k8s cluster.
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
  • Get all the services created by argocd
kubectl get svc -n argocd
  • Open the argocd-server in GUI inside browser by forwarding port
kubectl port-forward -n argocd svc/argocd-server 8000:443
  • Login with a username and password The initial password for the admin account is auto-generated and stored as clear text in the field password in a secret named argocd-initial-admin-secret in your Argo CD installation namespace. You can simply retrieve this password using kubectl:
Default username: admin
  • Get password
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo

image

Create a new app and connect your github repo for the configuration file, leave revision as HEAD. If you are using SSH, then make sure you are adding your private key in Settings->Repositories

  • Sync the application once it is done.

About

Declarative, GitOps continuous delivery tool for Kubernetes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published