damp-fireman-50971
07/15/2022, 1:58 PMv0.23.3
(latest release), the automigrate job finishes successfully, but it does not create the kratos-[id]
and kratos-courier
pods. The status of the automigrate pod is NotReady
, but describing it shows that it's ready:
$ kubectl describe pod kratos-automigrate-t8n4h
kratos-automigrate:
...
State: Terminated
Reason: Completed
Exit Code: 0
Started: Fri, 15 Jul 2022 15:45:14 +0200
Finished: Fri, 15 Jul 2022 15:45:51 +0200
Ready: False
Restart Count: 0
Describing the job shows:
$ kubectl describe job kratos-automigrate
...
Parallelism: 1
Completions: 1
Start Time: Fri, 15 Jul 2022 15:45:10 +0200
Pods Statuses: 1 Active / 0 Succeeded / 0 Failed
Which makes sense, since the pod remains active to allow inspection of its status, logs, etc.
Logs show successful migrations:
$ kubectl logs kratos-automigrate-t8n4h kratos-automigrate
...
Successfully applied SQL migrations!
Why aren't the other pods start up - kratos
and kratos-courierr
- that make up the deployment, if all seems well concerning the migrations?damp-fireman-50971
07/15/2022, 1:58 PMkratos.automigrate
set to true
. Plus a dsn set to a postgres server.