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

Openshift extension does not create a service for a management interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • 3.2.3.ER3, 3.2.6-Ghost.GA
    • 3.2.3.ER3, 3.2.6-Ghost.GA
    • team/eng
    • None
    • False
    • None
    • False
    • Hide
      git@github.com:fedinskiy/reproducer.git -b openshift-extension-management
      mvn clean install -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.route.expose=true -Dquarkus.kubernetes-client.trust-certs=true -Dquarkus.platform.version=3.2.0.Final 
      # OR
      mvn clean verify -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.route.expose=true -Dquarkus.kubernetes-client.trust-certs=true  -Dmaven.repo.local=$REPO -Dquarkus.version=3.2.3.Final-redhat-00004 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.version=3.2.3.Final-redhat-00004 -Dquarkus-plugin.version=3.2.3.Final-redhat-00004
      
      $ oc get services
      NAME                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)   AGE
      openshift-quickstart   ClusterIP   172.30.129.146   <none>        80/TCP    13s
      # port 9000 is not accessible even from inside the cluster
      
      
      Show
      git@github.com:fedinskiy/reproducer.git -b openshift-extension-management mvn clean install -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.route.expose=true -Dquarkus.kubernetes-client.trust-certs=true -Dquarkus.platform.version=3.2.0.Final # OR mvn clean verify -Dquarkus.kubernetes.deploy=true -Dquarkus.openshift.route.expose=true -Dquarkus.kubernetes-client.trust-certs=true -Dmaven.repo. local = $REPO -Dquarkus.version=3.2.3.Final-redhat-00004 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.version=3.2.3.Final-redhat-00004 -Dquarkus-plugin.version=3.2.3.Final-redhat-00004 $ oc get services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE openshift-quickstart ClusterIP 172.30.129.146 <none> 80/TCP 13s # port 9000 is not accessible even from inside the cluster
    • ---

      Applications, which use separate management interface[1], the interface can not be accessed, when the app is deployed via quarkus-openshift extension, since this port is not exposed as a part of a service.

      [1] https://quarkus.io/guides/management-interface-reference

              rhn-support-fdudinsk Fedor Dudinskii
              rhn-support-fdudinsk Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: