I am trying to use this docker image with kubernetes. However the pod repeatedly goes into CrashLoopBackOff. I think this is due to the fact that my camera doesn't sends continuous feed (can be configured to, but don't want to). It only sends events video feed through rstp, i.e only when any activity is detected. When there is no activity, there is no feed and the pod errors out after some time leading to restart. The pod however records and saves the file when it is running and if there is any activity at that time.
My assessment may be incorrect. Any clue why the pod keeps restarting continuously. Following is the deployment yaml file.
I am trying to use this docker image with kubernetes. However the pod repeatedly goes into
CrashLoopBackOff
. I think this is due to the fact that my camera doesn't sends continuous feed (can be configured to, but don't want to). It only sendsevents
video feed through rstp, i.e only when any activity is detected. When there is no activity, there is no feed and the pod errors out after some time leading to restart. The pod however records and saves the file when it is running and if there is any activity at that time.My assessment may be incorrect. Any clue why the pod keeps restarting continuously. Following is the deployment yaml file.
Thanks.