I am following the production installation guide to install Sitecore on AKS. I am at the step of Deploy the data initialization jobs
. I have run the command and it created 2 jobs in kubernetes cluster, one for mssql-init
, and another for solr-init
. The solr-init
job ran successfully and was completed. However, the mssql-init
job is not completed as shown in the image below.
I have tried to check on the pod by using the describe command, but it does not show any errors as shown below.
I checked events to see if there are any errors there. However, I do not see any errors there as shown below
I have tried to see the logs of the pods, but it didn't show me any logs of the pod with the following message:
Error from server (BadRequest): previous terminated container "mssql-init" in pod "mssql-init-2jvw8" not found
Could someone please help me what the error is with mssql-init
container and what needs to be done to go past this error? Thanks in advance.
Update on error:
I have used Stern
to see the logs and found that there is a SQL connection error. Here is the error: