Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 1.86 KB

README.md

File metadata and controls

65 lines (54 loc) · 1.86 KB

Logs

web-api

kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=web-api -o name)"

process-manager

kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=process-manager -o name)"

ICS

kubectl -n dotdata logs -f --tail=10 "$(kubectl -n dotdata get pods -l component=interactive-computation-server -o name)"

Port forward

JMX

web-api

kubectl -n dotdata port-forward --address=0.0.0.0 service/web-api 9875:9875

process-manager

kubectl -n dotdata port-forward --address=0.0.0.0 service/process-manager 9874:9874

ICS

kubectl -n dotdata port-forward --address=0.0.0.0 service/interactive-computation-server-service 9876:9876

PostgreSQL Database for IntelliJ

3.4 and after

kubectl -n dotdata port-forward --address localhost "$(kubectl -n dotdata get pods -l component=postgresql-patroni -o name)" 55432:5432

3.2 and before

kubectl -n dotdata port-forward --address localhost "$(kubectl -n dotdata get pods -l component=patroni1 -o name)" 55432:5432

Admin console

ICS

kubectl -n dotdata port-forward --address 0.0.0.0 service/interactive-computation-server-service 8443:8443

Trino CLI

Obtain secret

kubectl -n dotdata exec -it "$(kubectl -n dotdata get pods -l component=interactive-computation-server -o name)" -- env | grep SECRET

Connect to CLI

./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

Most recent queries

select query_id, created, started, "end", "end" - started as "duration", query from system.runtime.queries order by created desc;