An open API service indexing awesome lists of open source software.

https://github.com/princebansal7/gitops-argocd-k8s

GitOps repo for deployment and other manifests
https://github.com/princebansal7/gitops-argocd-k8s

argocd gitops k8s

Last synced: 11 months ago
JSON representation

GitOps repo for deployment and other manifests

Awesome Lists containing this project

README

          

# GitOps with ArgoCD

- This repository is for `argocd` manifests reference => add repo specific folders like `npx-app-manifests` and add manifests there.
- To install `argocd` on k8s cluster
- Use below commands
```bash
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```
- Install using the marketplace on cloud providers

- Port forwarding to access `argocd UI`
```bash
kubectl port-forward svc/argocd-server -n argocd 8080:443
```
- On login dashboard username is `admin` for password use below commands
```bash
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}"
```
- As password is stored as **secret** by `argocd` hence it is `base64` encoded, to decode use below command
```bash
echo "" | base64 -d
```
- Once logged in create new application with your repository URL