Git Product home page Git Product logo

Comments (2)

bonocore avatar bonocore commented on July 16, 2024

Happened also to me, not sure about the real cause (proably lack of resources on my laptop).

As a workaround, I've find out that cleaning up everything and starting from scratch is a solution.

The script I have used to cleanup is something like:

oc project cicd
oc delete all -l template=cicd -n cicd --now=true
oc delete all -l app=shopping -n dev --now=true
oc delete template cicd -n cicd
oc delete all -l app=shopping -n stage --now=true
oc delete rolebinding default_edit -n cicd
oc delete configmap gogs-install
oc delete is tasks -n dev
oc delete is tasks -n stage
oc delete template cicd

from openshift-jenkins-demo.

suibinz avatar suibinz commented on July 16, 2024

Yes, the behavior is somewhat intermittent - I can start up the template from fresh, sometime works, sometime not. It is probably not a resource issue. I am running an m4.large on EC2, and CPU and mem are not heavily utilized.

There might be race condition on the sequence of services. Similar problem of Gogs service initiated before the "install-gogs" task is done. I think the cicd template should be StatefulSet instead. I am new to this, but am looking into modifying it.

from openshift-jenkins-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.