(Optional) Creating Kubernetes Ingresses

You create ingresses to log in to the Decision Intelligence Client Managed Software home page. If you are using OpenShift® Container Platform (OCP), you do not need to create Ingresses.

Before you begin

If you are using OpenShift Container Platform, skip this procedure and go to Configuring an identity provider.

About this task

The script (di-generate-ingresses.sh) is available in the following GitHub repository: https://github.com/icp4a/automation-decision-services-kubernetes External link opens a new window or tab.

This script generates a file that contains ingresses Kubernetes descriptors for the foundational services and licensing service. This file is used on a cluster with the ingress-nginx External link opens a new window or tab contoller. If it’s not the case, you need to review it and adapt it with the equivalent annotations for your ingress controller technology.

Procedure

  1. Run the di-generate-ingresses.sh script:
    ./scripts/di-generate-ingresses.sh [-h] -n <di_namespace> [-o output-file]
    Description of the options:
    • -n <di_namespace>: Namespace where Decision Intelligence Client Managed Software is installed.
    • -o output-file: A file where the Kubernetes manifests is generated. Default is a temporary file.
  2. Apply the ingresses by running the following command:
    kubectl apply -f <your_ingress_file>