Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi Team,
Suppose any ThingWorx platform restarts everyday automatically at sometime in night, then how to stop this or edit this automatic ThingWorx restart configuration.
Thanks in advance.
I don't think that ThingWorx platform will trigger a restart itself. Do you know who executes the restart?
I assume the server ThingWorx is running on executes the restart (either from Tomcat or from the whole server)?
@nmutter The ThingWorx is being delpoyed on Kubernetes pod and that pod restarts automatically everyday in late night. So just want to know which setting do we need to check in ThingWorx/Kubernetes to stop this automatic restart.
Please advise.
This needs to be checked on Kubernetes side. Few checkpoints:
1. check the container restartPolicy from spec.
2. kubectl get pods - this should give you all the pods.
kubectl describe pod <pod_name> will give further information of the pod.
3. check for events if there was liveness probe failed.
4. kubectl logs ${POD_NAME} ${CONTAINER_NAME}