@asdusadeh You can get inside the CDSW DB by below steps but I would be very careful while make any changes as it can cause whole application down or data loss.
Get the db pod name
$ kubectl get pods -l role=db
NAME READY STATUS RESTARTS AGE
db-4066525870-68x44 1/1 Running 2 21d
Exec into the running container and connect to the psql terminal with the sense user:
kubectl exec db-4066525870-68x44 -ti -- psql -U sense
Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.