-
Create a Firewall rule to open the firewall to access your cluster
-
Set the project and region:
gcloud config set compute/zone us-central1-a
gcloud config set project cs-nonprod
- Create your cluster:
gcloud container clusters create kcd-colombia --num-nodes=1 --tags=allin,allout --machine-type=n1-standard-2 --no-enable-network-policy
- Install ArgoCD:
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- Install ArgoCD CLI:
brew install argocd
- Access ArgoCD installation:
kubectl port-forward svc/argocd-server -n argocd 8080:443
Open http://localhost:8080 in your browser
- Get the current password in a terminal
argocd admin initial-password -n argocd
-
Update the password using the UI
-
Create namespace for your Kubernetes deployments:
kubectl create namespace development
- Create your ArgoCD Projects and Apps of Apps:
kubectl apply -f projects/
-
Create your apps using the Github Action Called "Create App" in the URL https://github.com/sergioarmgpl/CNAmsterdam2023/actions
-
Find your project and see how the application are created.
-
Check for the new services created for the apps
kubectl get svc -n development
- Check for the new deployments created for the apps
kubectl get deploy -n development
- Access an application
kubectl port-forward svc/APPNAME-srv 5001:5000 -n development