#!/bin/bash pod_name=otel-sampled-clickhouse-taskmanager-1-1 ns=ob ./stop.sh ./start.sh kubectl get pod while ! kubectl -n ${ns} get pod ${pod_name} do sleep 1; done while ! [ $(kubectl -n ${ns} get pod ${pod_name} -o jsonpath="{.status.phase}") == "Running" ] do sleep 1; done kubectl -n ${ns} logs --tail 20 -f ${pod_name}