From f325c0b4e43fc40d8d09e03abdbf06e7a0e15f2d Mon Sep 17 00:00:00 2001 From: Kosuke Morimoto Date: Mon, 16 Dec 2024 15:27:22 +0900 Subject: [PATCH] fix --- Makefile.d/k8s.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.d/k8s.mk b/Makefile.d/k8s.mk index 7bc14d32cf..9af8245f9b 100644 --- a/Makefile.d/k8s.mk +++ b/Makefile.d/k8s.mk @@ -262,12 +262,14 @@ k8s/vald-readreplica/deploy: --output-dir $(TEMP_DIR) \ charts/vald-readreplica kubectl apply -f $(TEMP_DIR)/vald-readreplica/templates - sleep 2 + sleep 5 + kubectl get pods kubectl delete pod --selector=app=vald-lb-gateway + sleep 5 kubectl get pods - kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=vald-readreplica --timeout=600s + kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=vald-readreplica --timeout=900s .PHONY: k8s/vald-readreplica/delete ## delete vald-helm-operator from k8s