Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanparsa/gitops
https://github.com/ryanparsa/gitops
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryanparsa/gitops
- Owner: ryanparsa
- Created: 2024-10-15T20:35:52.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-15T22:59:09.000Z (about 1 month ago)
- Last Synced: 2024-10-17T07:58:29.131Z (about 1 month ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Apply Backend Prod Application
```bash
kubectl apply -f gitops-repo/backend/overlays/prod/application.yaml
```#### Apply Backend Beta Application
```bash
kubectl apply -f gitops-repo/backend/overlays/beta/application.yaml
```#### Apply Frontend Prod Application
```bash
kubectl apply -f gitops-repo/frontend/overlays/prod/application.yaml
```#### Apply Frontend Beta Application
```bash
kubectl apply -f gitops-repo/frontend/overlays/beta/application.yaml
```### Verify ArgoCD Sync
Once you’ve applied the `application.yaml` files, ArgoCD will start monitoring the GitOps repository for changes in those specific paths and sync the resources to your Kubernetes cluster. To verify that everything is synced correctly, you can:
1. **Access the ArgoCD UI**:
- You can access the ArgoCD UI by port-forwarding the ArgoCD server to your local machine:
```bash
kubectl port-forward svc/argocd-server -n argocd 8080:443
```
- Then, visit `https://localhost:8080` in your browser and log in.2. **Check Application Status**:
- In the ArgoCD UI, you should see your applications (`backend-prod`, `backend-beta`, `frontend-prod`, `frontend-beta`) listed.
- ArgoCD will automatically sync these applications by pulling the configuration from your GitOps repo and applying it to the cluster.