diff --git a/p3/scripts/argo-install.sh b/p3/scripts/argo-install.sh index 9f3ac29..0f69b15 100755 --- a/p3/scripts/argo-install.sh +++ b/p3/scripts/argo-install.sh @@ -7,13 +7,13 @@ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/late kubectl patch deployment metrics-server -n kube-system --type='json' \ -p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--kubelet-insecure-tls"}]' -echo '> Waiting for metrics-server to be ready...' -kubectl wait --for=condition=available deployment/metrics-server -n kube-system --timeout=300s +echo '> metrics-server is starting (this takes around ~3 minutes)...' +kubectl wait --for=condition=available deployment/metrics-server -n kube-system --timeout=500s kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml -echo "> ArgoCD is starting (this takes around ~5 minutes)..." +echo "> ArgoCD is starting (this takes around ~6 minutes)..." sleep 10 echo '> Starting watch...' sleep 5