From 3c517080d1f69ce7696a14c42d1e40c614bcc108 Mon Sep 17 00:00:00 2001
From: Leonardo Christino <leomilho@gmail.com>
Date: Tue, 9 May 2023 12:05:28 +0200
Subject: [PATCH] add log make instruction

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 75f49a4..bc579c8 100644
--- a/Makefile
+++ b/Makefile
@@ -51,5 +51,8 @@ docker: login
 rollout: docker
 	kubectl rollout restart deployment schema-orchestrator
 
+log: 
+	@kubectl get pods -o wide | grep Running | grep schema-orchestrator | cut -d " " -f1 | xargs kubectl logs -f
+
 login:
 	echo -e "machine git.science.uu.nl\nlogin gitlab-ci-token\npassword ${CI_JOB_TOKEN}" > ~/.netrc
\ No newline at end of file
-- 
GitLab