Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-31336

Kafka operator installs globally in microprofile-reactive-messaging-kafka quickstart

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • EAP-XP-6.0.0.GA
    • EAP-XP-6.0.0.CR10
    • Quickstarts
    • None

      The microprofile-reactive-messaging-kafka quickstart instructs users to install the Kafka operator globally (cluster-wide), which causes problems for users working on shared
      OpenShift clusters.

      Current behavior

      The quickstart documentation and YAML files perform a global operator installation:

      Documentation (helm-install-prerequisites-openshift.adoc):

      • Requires cluster admin privileges
      • No mention of namespace-scoped installation option

      YAML file (charts/amq-operator-on-openshift.yaml):

        apiVersion: operators.coreos.com/v1alpha1
        kind: Subscription
        metadata:     name: amq-streams
          namespace: openshift-operators  # Global installation
        spec:     channel: stable
          installPlanApproval: Automatic
          name: amq-streams
          source: redhat-operators
          sourceNamespace: openshift-marketplace
        
      • Contains only Subscription resource
      • Uses openshift-operators namespace (global installation)
      • Missing OperatorGroup (not needed for global, but indicates global install)

      Problems

      • Requires cluster admin privileges - Many users don't have admin access on shared clusters
      • Global operator installation affects all users and namespaces on the cluster
      • Conflicts on shared clusters - Multiple users cannot run the quickstart simultaneously
      • Impossible to properly clean up - Global operator remains after quickstart completion
      • Breaks user isolation - One user's operator installation affects others
      • Not suitable for CI/CD - Cannot run in parallel test environments

      Expected behavior

      • Quickstart should use namespace-scoped operator installation
      • Should not require cluster admin privileges
      • Each user should be able to install operator in their own namespace
      • Documentation should guide users through namespace-scoped installation
      • Cleanup should completely remove all operator resources from user's namespace
      • Multiple users should be able to run quickstart simultaneously without conflicts

      Affected files

      • quickstarts/microprofile-reactive-messaging-kafka/helm-install-prerequisites-openshift.adoc
      • quickstarts/microprofile-reactive-messaging-kafka/charts/amq-operator-on-openshift.yaml
      • - quickstarts/microprofile-reactive-messaging-kafka/README-source.adoc

              rhn-support-kstekovi Krystof Stekovic
              rhn-support-kstekovi Krystof Stekovic
              Martin Choma Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: