diff --git a/jdownie/k3s/kl b/jdownie/k3s/kl index f03b453..7b97773 100755 --- a/jdownie/k3s/kl +++ b/jdownie/k3s/kl @@ -2,5 +2,9 @@ NS="$1" DEPL="$2" -kubectl logs -n "$NS" "deployment/$DEPL" +if [ "$3" = "-f" ]; then + kubectl logs -n "$NS" -f "deployment/$DEPL" +else + kubectl logs -n "$NS" "deployment/$DEPL" +fi diff --git a/jdownie/repo/repo b/jdownie/repo/repo index 68b4b03..6e491bc 100755 --- a/jdownie/repo/repo +++ b/jdownie/repo/repo @@ -266,7 +266,7 @@ if __name__ == "__main__": print(f" {tl} {k.ljust(ml + 1)} {flags}") # print(json.dumps(dat, indent = 2)) elif sys.argv[1] in list( [ "sync", "lc", "lcs", "pull", "push", "fetch" ] ): - thread_count = 10 + thread_count = 30 with concurrent.futures.ThreadPoolExecutor(max_workers=thread_count) as executor: futures = {executor.submit(perform_action, sys.argv[1], k, cfg[k]) for k in r} for future in concurrent.futures.as_completed(futures):