Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2488

Add custom NodePort to expose AAP

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      CU requires NodePort to expose an application.

      "service_type: NodePort" exists but there is not an option to set a nodeport number.

       

      Other information and questions asked for the current platform:

       

      If you want a NodePort instead of clusterIP you can add following configuration

      spec:
        service_type: nodeport
        controller:
          service_type: nodeport
          nodeport_port: <your controller port number>
        eda:
          service_type: nodeport
          nodeport_port: <your eda port number>
        hub:
          ingress_type: nodeport
          nodeport_port: <your hub port number>

      Unfortunately, CRD of gateway doesn't seem to allow nodeport_port spec, that means operator will randomly choose available port instead to allow you pick up one.

      With such a configuration, all services to access different component will be a nodeport. And the route automatically created will point to those services. 

      If, for any reason, you don't want a route to be created you can add the spec for controller, gateway and eda.

      ingress_type: None

              dysilva Dylan Silva
              rhn-support-alconsta Alvaro Constantino Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: