kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=web-api -o name)"
kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=process-manager -o name)"
kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=interactive-computation-server -o name)"
kubectl -n dotdata port-forward --address=0.0.0.0 service/web-api 9875:9875
kubectl -n dotdata port-forward --address=0.0.0.0 service/process-manager 9874:9874
kubectl -n dotdata port-forward --address=0.0.0.0 service/interactive-computation-server-service 9876:9876
kubectl -n dotdata port-forward --address localhost "$(kubectl -n dotdata get pods -l component=postgresql-patroni -o name)" 55432:5432
kubectl -n dotdata port-forward --address localhost "$(kubectl -n dotdata get pods -l component=patroni1 -o name)" 55432:5432
kubectl -n dotdata port-forward --address 0.0.0.0 service/interactive-computation-server-service 8443:8443
kubectl -n dotdata exec -it "$(kubectl -n dotdata get pods -l component=interactive-computation-server -o name)" -- env | grep SECRET
./trino --server https://stg-master.dot-data.net:8443 --insecure --user dotdata_internal_services_user_clfvds8ld000208mj5rxiduhl --extra-credential=access-type=service --extra-credential=secret='$1$43137$zWYsBpTf8eFvL6lf94O/S/' --catalog artifacts
select query_id, created, started, "end", "end" - started as "duration", query from system.runtime.queries order by created desc;