Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhatthaiquang-agilityio/kustomize-overlays
Example: deploy web api and worker service using Kustomize Overlays and ArgoCD
https://github.com/nhatthaiquang-agilityio/kustomize-overlays
argocd gitops kubenetes kustomize minikube overlay
Last synced: 2 days ago
JSON representation
Example: deploy web api and worker service using Kustomize Overlays and ArgoCD
- Host: GitHub
- URL: https://github.com/nhatthaiquang-agilityio/kustomize-overlays
- Owner: nhatthaiquang-agilityio
- Created: 2023-04-27T06:28:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-04T04:24:07.000Z (over 1 year ago)
- Last Synced: 2024-04-16T07:09:40.778Z (8 months ago)
- Topics: argocd, gitops, kubenetes, kustomize, minikube, overlay
- Homepage:
- Size: 839 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kustomize Overlays
Example: create overlays for each environment using Kustomize
+ Deploy order api and worker service on Minikube using Kustomize
+ Deploy order api and worker service with ArgoCD(GitOps)### Prerequisites
+ Install Minikube
+ Install Kustomize![GitOps with ArgoCD](./images/GitOps-with-ArgoCD.png)
### Using Kustomize CLI
+ Build Base
```
kustomize build .\base
```+ Preview output in Dev
```
kustomize build overlays/dev
```+ Apply/Deploy output in Dev
```
kustomize build overlays/dev | kubectl apply -f -
```### Using ArgoCD(GitOps)
Argo CD - Declarative GitOps CD for Kubernetes
+ Install ArgoCD
```
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```
+ Download Argo CLI on Mac/Linux
```
brew install argocd
```
+ Forward Port ArgoCD
```
kubectl port-forward svc/argocd-server -n argocd 8080:443
```
+ Generate password(username: admin)
```
argocd admin initial-password -n argocd
```+ Create app
![Create app in ArgoCD](./images/argocd-create-app.png)+ Detail app
![Detail app in ArgoCD](./images/argocd-app-detail.png)