Ingress for Kubernetes (K8S)

You need an Ingress object in your Kubernetes cluster to make Pulse services accessible from outside the cluster. To use an Ingress object, an Ingress controller must already be set up in your Kubernetes environment.

To enable external access, expose the following services through the Ingress controller, including their service names and ports.

Service NameService PortDescription
ad-graphql4000This is the Acceldata UI service
ad-hydra19072The Hydra Server for Mpack and Agents to connect and communicate.
ad-axnserver19999Actions Server that connects with agents and the UI.
accelo-manager20001Accelo Manager, which the user connects, and manager agent connects
ad-streaming19005Streaming service for agents.
ad-pulse-ui4100New Pulse UI interface for users.

Install Ingress

For the testing environment and to enhance developer productivity, we will install the Ingress controller ourselves using the following steps:

  1. Install Nginx Controller.
Bash
Copy

The Ingress controller may take a short time to become fully operational. By default, wait for 1 minute before proceeding to the next step.

  1. Create NGINX routes for services. To configure NGINX routes for all required services, copy and paste the following content into a file named nginx-routes.yaml:
Bash
Copy
  1. Install NGINX Routes. To apply the NGINX Ingress routes, run the following command:
Bash
Copy
  1. Verify the NGINX services are running. To check if all NGINX-related services (Ingress controller and exposed services) are up and running, use the following commands:
Bash
Copy

Here, you can find the PORT that agents or users must use to connect to the service, for example, 30592.

  1. Verify if all the mappings are installed properly or not.
Bash
Copy

Here, you can see that the ingresses are correctly mapped to their respective services, and all Kubernetes nodes have the Node and Port configured and running.

  1. Describe Ingress Resources. To view detailed information about the ingress resources, run the following command, and you can also see the expected output.
Bash
Copy

Ingress in OpenShift

OpenShift provides an Ingress Controller that exposes services from any namespace, providing an external or public URL for access. By default, the URL listens on port 80 and can route requests to all configured endpoints correctly.

The first step is to install the oc binary (OpenShift CLI) and connect it to your OpenShift cluster.

Steps to Create Routes for Pulse Services

  1. Get all the services present in the Pulse namespace using the following command.
Bash
Copy
Bash
Copy
  1. Expose a service by using the following command.
Bash
Copy
Bash
Copy
  1. The above command creates a public URL for the service. To view the URL, use the following command.
Bash
Copy
  1. You can access the service directly using the Host, Port, or the public URL generated by the route.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard