Pod Restart Policy #1016
Unanswered
ranajoy1998
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Changing the restart policies only works for standalone Pods. Pods managed via StatefulSets only support a restart policy of Always and the operator creates StatefulSets. Anyway, after restart the container should not remain in an unresponsive state. Could you share the broker log? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I'm using Artemis Cloud Operator to deploy broker Pods in EKS. Upon stress testing the broker, sometimes the broker container is OOM killed and restarted in the same Pod. After restart the container remains in an unresponsive state, maybe because it is trying to read data from the old heap(not sure). Only when I manually delete the pod, a new pod starts and broker behaves normally. I was checking the restartPolicy in the Pod yaml, it is set to Always but CRD does not support setting it. Is there any way to set it to Never so that a new Pod is created always? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions