hey team! whats going on .... Im having a strange ...
# talk-kratos
d
hey team! whats going on .... Im having a strange behavior about kratos, I'm deploying kratos in kubernetes cluster, and everything works fine, but... when I create a new session the session was created fine but when I delete the pod the session does not exist anymore, it seems like the session is saved on memory in the pod...
d
what DSN are you using to connect to the database? Is it possible Kratos is writing to a local sqlite database?
d
Im using postgresql
s
do you have automigrate enabled?
d
yes @shy-beach-55709
s
@dry-barista-86311 could you share how your dns is configured and the logs when you start the pod?May be the pod isn't connecting correctly to the db. Also, you can check whether the session is being saved in your postgresql by logging into the db and checking the sessions (
USE kratos SELECT * FROM sessions;
) . This command should output all the sessions saved into the db, you could filter by the session information.