Giter Club home page Giter Club logo

Comments (2)

astefanutti avatar astefanutti commented on July 19, 2024

I've just tested the following commands successfully:

$ oc create -n openshift -f https://raw.githubusercontent.com/jboss-fuse/application-templates/2.1.x.redhat-7-0-x/fis-image-streams.json
imagestream "fis-java-openshift" created
imagestream "jboss-fuse70-java-openshift" created
imagestream "fis-karaf-openshift" created
imagestream "jboss-fuse70-karaf-openshift" created
imagestream "jboss-fuse70-eap-openshift" created
imagestream "jboss-fuse70-console" created
$ oc new-app -n myproject -f https://raw.githubusercontent.com/jboss-fuse/application-templates/2.1.x.redhat-7-0-x/fis-console-namespace-template.json
--> Deploying template "myproject/fuse70-console" for "fis-console-namespace-template.json" to project myproject

     Red Hat Fuse 7.0 Console
     ---------
     The Red Hat Fuse Console eases the discovery and management of FIS applications deployed on OpenShift.

     * With parameters:
        * Application Name=fuse70-console
        * Application Version=1.0
        * Image Stream Namespace=openshift
        * ROUTE_HOSTNAME=
        * CPU request=0.2
        * Memory request=32Mi
        * CPU limit=1.0
        * Memory limit=32Mi

--> Creating resources ...
    route "fuse70-console-route" created
    service "fuse70-console-service" created
    serviceaccount "fuse70-console-service-account" created
    deploymentconfig "fuse70-console" created
--> Success
    Access your application via route 'fuse70-console-route-myproject.192.168.64.23.nip.io' 
    Run 'oc status' to view your app.
$ oc scale -n myproject dc/fuse70-console --replicas=2
deploymentconfig "fuse70-console" scaled

With:

$ oc version
oc v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth

Server https://192.168.64.23:8443
openshift v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657

Is the fuse70-console image that is used by fis-console-namespace template based on Nginx? If so, root is required for that image.

Yes, though the Fuse console image adjusts the NGINX config so that root is not required: https://github.com/hawtio/hawtio-online/blob/5ca3d1a859def241b5eb3092d1c52e90f8be5766/docker/Dockerfile#L32-L38

The scale-up of FUSE Console Pod fails.

There may be an error during scheduling. Could you double check the events in the OpenShift Web console?

I cannot find any meaningful log from the Pod itself except a single line in output: "NGINX".

This does not match the log from the Fuse console but that of the bare NGINX image. Fuse console log should start with Starting NGINX....

from application-templates.

astefanutti avatar astefanutti commented on July 19, 2024

Just in case it's not clear from the instructions above, please use the 2.1.x.redhat-7-0-x branch as the master branch has already moved to 7.1 development and the image is not yet built / align with the change to the template.

from application-templates.

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.