Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivsonv/gitops-argocd
Argo CD is a declarative continuous delivery tool for Kubernetes. It can be used as a standalone tool or as part of your CI/CD workflow to deliver the resources your clusters need.
https://github.com/ivsonv/gitops-argocd
argocd docker golang k8s kubernetes
Last synced: 7 days ago
JSON representation
Argo CD is a declarative continuous delivery tool for Kubernetes. It can be used as a standalone tool or as part of your CI/CD workflow to deliver the resources your clusters need.
- Host: GitHub
- URL: https://github.com/ivsonv/gitops-argocd
- Owner: ivsonv
- Created: 2024-07-29T23:49:38.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T12:25:07.000Z (5 months ago)
- Last Synced: 2024-12-19T02:10:53.201Z (7 days ago)
- Topics: argocd, docker, golang, k8s, kubernetes
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GITOPS WITH ARGOCD
Argo CD is a declarative continuous delivery tool for Kubernetes. It can be used as a standalone tool or as part of your CI/CD workflow to deliver the resources your clusters need.
To manage infrastructure and application configurations in line with GitOps principles, your git repository must be your single source of truth. The desired state of your system must be versioned, expressed declaratively, and automatically retrieved.
## Requisites
* Golang - [go dev](https://go.dev/)
* kustomize.io [kustomize.io](https://kustomize.io)
* Kubernetes - K8s - [kubernetes.io](https://kubernetes.io/pt-br)
* Docker - [docker.io](https://hub.docker.com/)## Commands
* go mod init apiCD## Install Local With Docker
This guide assumes you have a grounding in the tools that Argo CD is based on. Please read understanding the basics to learn about these tools.
* ArgoCD - [Doc v2.12](https://argo-cd.readthedocs.io/en/stable/getting_started/)### Requirements
* Installed kubectl command-line tool.
* Have a kubeconfig file (default location is `~/.kube/config)`.
_________________1. Install Argo CD
* kubectl create namespace argocd
* kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
*2. Install Argo CLI
* brew install argocd (MAC)3. Port Forwarding
* kubectl port-forward svc/argocd-server -n argocd 8080:443
*4. Login Using The CLI
* argocd admin initial-password -n argocd
*### Testing
* http://localhost:8080 *with -> _Port Forwarding_*
* login: admin
* password: -> `4. Login Using The CLI`![image](https://github.com/user-attachments/assets/30068916-ac41-4e2c-a213-bdc6e2a99e54)
*_connected_*
![image](https://github.com/user-attachments/assets/b6cce11c-89b9-48a7-9af4-a8dd05d6e003)