https://github.com/sergioarmgpl/idpkcdcolombia2023
https://github.com/sergioarmgpl/idpkcdcolombia2023
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergioarmgpl/idpkcdcolombia2023
- Owner: sergioarmgpl
- Created: 2023-06-02T04:48:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T18:59:49.000Z (almost 2 years ago)
- Last Synced: 2024-12-29T21:12:19.162Z (5 months ago)
- Language: Python
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IDPKCDColombia2023
1. Create a Firewall rule to open the firewall to access your cluster2. Set the project and region:
```
gcloud config set compute/zone us-central1-a
gcloud config set project cs-nonprod
```3. Create your cluster:
```
gcloud container clusters create kcd-colombia --num-nodes=1 --tags=allin,allout --machine-type=n1-standard-2 --no-enable-network-policy
```4. Install ArgoCD:
```
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
```5. Install ArgoCD CLI:
```
brew install argocd
```6. Access ArgoCD installation:
```
kubectl port-forward svc/argocd-server -n argocd 8080:443
```Open http://localhost:8080 in your browser
7. Get the current password in a terminal
```
argocd admin initial-password -n argocd
```8. Update the password using the UI
9. Create namespace for your Kubernetes deployments:
```
kubectl create namespace development
```10. Create your ArgoCD Projects and Apps of Apps:
```
kubectl apply -f projects/
```11. Create your apps using the Github Action Called "Create App" in the URL https://github.com/sergioarmgpl/IDPKCDColombia2023/actions
12. Find your project and see how the application are created.
13. Check for the new services created for the apps
```
kubectl get svc -n development
```14. Check for the new deployments created for the apps
```
kubectl get deploy -n development
```15. Access an application
```
kubectl port-forward svc/APPNAME-srv 5001:5000 -n development
```