# Exec into postgresql pod $ kubectl exec -it -n postgres pod/postgres-deployment-698bd56b7-fnbpv -- /bin/bash # Login to dev_user and connect to test_db which is already created $ psql -h -U postgres -d postgres # check tables $ \dt # Create table $ create table test1 (id SERIAL PRIMARY KEY, name VARCHAR(50)); # Insert values into table $ insert into test1 values('1','user1'); # Check inserted values $ select * from test1;