Automic Workload Automation

 View Only
  • 1.  How to route Automic ports for AAKE?

    Posted Jun 01, 2023 07:13 AM
    Hi you all
    I want to install Automic on Kubernetes (AAKE) in a test environment in my company. Because here we only have OpenShift available, I cannot use helms with values.yaml file. I need to install everything "by hand".
    I am able to create the deployments for a CP and a JCP, which opens the ports 2217 and 8443 respectively. But Kubernetes services and routes only works with web/http ports. As Automic uses other protocols, it is difficult to reach the pods from the outside of the cluster.
    How Automic solved it? I read it was done through ingress, but I don't see any examples of it. Does someone know how to do it?
    Kind regards, Saulo.


  • 2.  RE: How to route Automic ports for AAKE?

    Broadcom Employee
    Posted Jun 01, 2023 07:29 AM

    Hi Saulo,

    The JCP WS, REST and AWI NodePort services can be exposed via an Ingress/HTTPS Load Balancer. In order to access the CPs, you could use a LoadBalancer type service and connect it to a TCP Load Balancer.

    We have a guide on how to do this on Azure, I assume for Openshift you need to create the Load Balancers yourself.

    https://www.software.broadcom.com/hubfs/ESD/ESD_Academy/ESD_FY21_Academy/ESD_FY21_Academy_Files/ESD_FY21_Academy_Files_AIOps/Installing%20Automic%20Automation%20Kubernetes%20Edition%20on%20Microsoft%20Azure%20(v1.1).pdf?hsCtaTracking=44b90736-71a7-42cd-827f-f384affeb1ce%7C57f40094-f5c7-4c8f-9ebd-0d533334ba89

    Hope this helps,

    Oana




  • 3.  RE: How to route Automic ports for AAKE?

    Broadcom Employee
    Posted Jun 01, 2023 07:35 AM

    And this is an example for the jcp-ws NodePort service:

    apiVersion: v1
    kind: Service
    metadata:
      name: jcp-ws
      annotations:
        cloud.google.com/app-protocols: '{"ws":"HTTPS"}'
        cloud.google.com/neg: '{"ingress": true}'

      labels:
        app.kubernetes.io/name: jcp-ws
        app.kubernetes.io/component: java-communication-process
        app.kubernetes.io/part-of: automic-automation
    spec:
      ports:
        - name: ws
          port: 8443
          targetPort: 8443
      selector:
        app.kubernetes.io/name: jcp-ws
      type: NodePort




  • 4.  RE: How to route Automic ports for AAKE?

    Posted Jun 01, 2023 07:44 AM

    Hi Oana

    Thank you for your answer. I know already these documents, but they don't help me.

    Do you have some YAML standard file created by Automic AAKE installation that setup the ingress, services or routes?

    Regards, Saulo




  • 5.  RE: How to route Automic ports for AAKE?

    Posted Jun 01, 2023 07:45 AM

    Hi, sorry. I just saw your answer. Thank you.




  • 6.  RE: How to route Automic ports for AAKE?

    Posted Jun 01, 2023 08:39 AM

    Hi Oana

    Do you also have an example in YAML for the ingress?

    Regards, Saulo




  • 7.  RE: How to route Automic ports for AAKE?

    Broadcom Employee
    Posted Jun 01, 2023 09:14 AM

    Yes, but this is configured for GKE:

    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      name: oab-aake-v22-ingress
      annotations:
        kubernetes.io/ingress.global-static-ip-name: oab-aake-ip-v22
        networking.gke.io/managed-certificates: oab-aake-cert-v22
    spec:
      rules:
        - host: awi.<your static public ip address>.nip.io
          http:
            paths:
              - path: /*
                pathType: ImplementationSpecific
                backend:
                  service:
                    name: awi
                    port:
                      name: awi
        - host: rest.<your static public ip address>.nip.io
          http:
            paths:
              - path: /*
                pathType: ImplementationSpecific
                backend:
                  service:
                    name: jcp-rest
                    port:
                      name: rest
        - host: ws.<your static public ip address>.nip.io
          http:
            paths:
              - path: /*
                pathType: ImplementationSpecific
                backend:
                  service:
                    name: jcp-ws
                    port:
                      name: ws




  • 8.  RE: How to route Automic ports for AAKE?

    Posted Jun 01, 2023 09:19 AM

    Hi Oana

    This is great. I will try to use it. Thanks.

    Best regards, Saulo