🐛 fix(p3): higher metrics-server wait timeout

Signed-off-by: dyn <oss+dyn@xtrm.me>
This commit is contained in:
dyn
2025-12-17 14:12:03 +01:00
parent 97a2ef7e46
commit 8c9ad77686

View File

@ -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