From 7a65a62cf65528af447a68fb155998186edffccb Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Wed, 16 Oct 2024 03:28:07 -0300 Subject: [PATCH] Adds Minikube IP to Local Run --- deploy.sh | 4 ++++ template/backend/backend.template.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index c740a4e..f954881 100755 --- a/deploy.sh +++ b/deploy.sh @@ -127,6 +127,10 @@ deploy_kubernetes() { apply_deployment "./template/backend" configure_ingress + + if [[ $environment == "local" ]]; then + echo "Minikube IP: http://$(minikube ip)" + fi } diff --git a/template/backend/backend.template.yaml b/template/backend/backend.template.yaml index b86482f..eb3444a 100644 --- a/template/backend/backend.template.yaml +++ b/template/backend/backend.template.yaml @@ -32,7 +32,7 @@ spec: httpGet: path: /health port: 8070 - initialDelaySeconds: 240 + initialDelaySeconds: 120 livenessProbe: httpGet: path: /health