thanks so much , I would be LOST with out the help I am getting here the oc debug POD_NAME was great but the oc logs -p podname really told me what is going on
I am attempting to get just a python example that is long running and persistent thanks again ALL! On Mon, May 21, 2018 at 5:17 PM, Graham Dumpleton <[email protected]> wrote: > If that is really your whole application then as soon as the loop > completes, the container will exit and the pod restarted. If that happens > quick enough and keeps happening it would go into a fail state. For a > normal deployment, you need to have an application, such as a WSGI > application running on a WSGI server, which runs permanently. You wouldn't > use a normal deployment for a short lived program that exits straight away. > > What is it that you are ultimately wanting to do? > > Graham > > On 22 May 2018, at 7:04 am, Brian Keyes <[email protected]> wrote: > > I have an very very simple hello python > > > #start loop > for x in range(0, 300000): > print ("hello python ") > > but every time I run this on openshift it keeps crashing , why , would it > be best to scale this up so it is on all worker nodes let it crash and ssh > into the worker node and look at the docker logs ? > > it has 2gb of ram allocated so I am not thinking that this is a memory > issue > > any advice ? > -- > thanks !!!! > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > > -- Brian Keyes Systems Engineer, Vizuri 703-855-9074(Mobile) 703-464-7030 x8239 (Office) FOR OFFICIAL USE ONLY: This email and any attachments may contain information that is privacy and business sensitive. Inappropriate or unauthorized disclosure of business and privacy sensitive information may result in civil and/or criminal penalties as detailed in as amended Privacy Act of 1974 and DoD 5400.11-R.
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
