git clone https://github.com/ajeet476/argoproject.git
# check namespaces
kubectl get ns
Create K8s cluster via GKE
- when using ingress gateway
Using Helm: see
Using istioctl
istioctl install
- when using gateway API
# check
kubectl get crd gateways.gateway.networking.k8s.io
# if not exits
kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.1.0" | kubectl apply -f -
# install istio
istioctl install --set profile=minimal -y
see docs
export NS=dev-cpn
kubectl config set-context --current --namespace=$NS
- Install argocd
https://argo-cd.readthedocs.io/en/stable/getting_started/
curl https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml | sed 's/namespace: argocd/namespace: cicd/g' > modified_install.yaml
kubectl apply -f modified_install.yaml
- Add ingress
kubectl apply -f argoprojects/argocd-ingress.yaml
Install CLI
Create helm chart