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

Can not deploy mutable-jar (used by remote development feature) on OpenShift

    XMLWordPrintable

Details

    • Hide

      Create bootstrap project:

      mvn io.quarkus:quarkus-maven-plugin:1.7.6.Final:create \
      -DprojectGroupId=org.acme \
      -DprojectArtifactId=getting-started-runner \
      -DplatformVersion=1.7.6.Final \
      -DclassName="org.acme.getting.started.GreetingResource" \
      -Dpath="/hello" \
      -Dextensions=openshift

      Add in application.properties:

      quarkus.openshift.expose=true
      quarkus.package.type=mutable-jar
      quarkus.live-reload.password=changeit
      quarkus.openshift.env.vars.quarkus-launch-devmode=true
      quarkus.kubernetes-client.trust-certs=true

       

      Login to OpenShift cluster:

      oc login <URL>

      Deploy to OpenShift:

      ./mvnw clean package -Dquarkus.kubernetes.deploy=true

      Show
      Create bootstrap project: mvn io.quarkus:quarkus-maven-plugin:1.7.6.Final:create \ -DprojectGroupId=org.acme \ -DprojectArtifactId=getting-started-runner \ -DplatformVersion=1.7.6.Final \ -DclassName="org.acme.getting.started.GreetingResource" \ -Dpath="/hello" \ -Dextensions=openshift Add in application.properties: quarkus.openshift.expose=true quarkus.package.type=mutable-jar quarkus.live-reload.password=changeit quarkus.openshift.env.vars.quarkus-launch-devmode=true quarkus.kubernetes-client.trust-certs=true   Login to OpenShift cluster: oc login <URL> Deploy to OpenShift: ./mvnw clean package -Dquarkus.kubernetes.deploy=true
    • Undefined
    • ---

    Description

      Description:

      To use the remote development feature in Quarkus, the application should be packaged as mutable-jar. When deploying an application on OpenShift the pod is ending up in CrashLoopBackOff state, thus the application can not be accessed.

       

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              kshpak Kyrylo Shpak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: