https://github.com/emrahcom/argocd-example
https://github.com/emrahcom/argocd-example
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emrahcom/argocd-example
- Owner: emrahcom
- Created: 2024-06-11T15:32:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-12T08:13:47.000Z (over 1 year ago)
- Last Synced: 2025-01-08T12:48:54.843Z (12 months ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ArgoCD example
Run the following after installing `ArgoCD`:
```bash
kubectl apply -f https://raw.githubusercontent.com/emrahcom/argocd-example/main/myproject.yaml
kubectl apply -f https://raw.githubusercontent.com/emrahcom/argocd-example/main/application.yaml
kubectl get namespaces
kubectl -n argocd get appprojects
kubectl -n argocd get applications
kubectl -n argocd-example get pods
```
Removing:
```bash
kubectl delete -f https://raw.githubusercontent.com/emrahcom/argocd-example/main/application.yaml
kubectl delete -f https://raw.githubusercontent.com/emrahcom/argocd-example/main/myproject.yaml
kubectl -n argocd-example delete deployment postgres
kubectl -n argocd-example get all
#kubectl delete namespace argocd-example
kubectl get namespaces
```