Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1947

[Docs]: Quarkus Deployment Testing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.13.7.GA
    • 2.2.5.GA, 2.13.7.GA
    • OpenShift, team/docs
    • None
    • 5
    • False
    • None
    • False
    • +

      5. Deploying Quarkus Java applications to OpenShift

      Verification
       
      $ oc get pods
       
      $ oc logs -f <pod_name>

      {{}}

      {{}}

      You could illustrate this with the getting-started example:

      $ oc get svc
      NAME              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
      getting-started   ClusterIP   172.30.196.83   <none>        80/TCP    57m

      $ oc get routes
      NAME              HOST/PORT                                                        PATH   SERVICES          PORT   TERMINATION   WILDCARD
      getting-started   getting-started-quarkus-demo.apps.ssocluster.sso.com          getting-started   8080                 None

      {{}}

      The url to be tested is tested is

       

      curl }}Http://{{{}getting-started-quarkus-demo.apps.ssocluster.sso.com/hello{}

       

      The important to note, is the route is now port 80. (and no longer port 8080 as originally).

      It is important to mention, as it could avoid some confusion for new user.

       

              mmaler@redhat.com Michal Maléř
              rhn-support-orivat Olivier Rivat
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: