> For the complete documentation index, see [llms.txt](https://amartyushov.gitbook.io/tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://amartyushov.gitbook.io/tech/platforms/kubernetes/tooling/argocd.md).

# ArgoCD

## How to install

### By script

* ```
  kubectl create namespace argocd 
  ```
* ```
  kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
  ```
* To reach ArgoCD UI
  * ```
    kubectl port-forward svc/argocd-server -n argocd 8080:443
    ```
  * 127.0.0.1:8080
    * admin
    * ```
      kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
      ```

## By Helm

* ```
  helm repo add argo https://argoproj.github.io/argo-helm
  ```
* ```
  helm install my-release argo/argo-cd
  ```

### Deploy simple app

[Repo link](https://github.com/Abhinav-26/ArgoCD-Config-Test)

```
cd to the project
> kubectl apply -f application.yaml
```
