Applying the custom resources for Decision Intelligence Client Managed Software

What you apply in the custom resources (CR) for Decision Intelligence Client Managed Software depends on your target Kubernetes cluster. You apply certain choices available in the storage classes.

Procedure

  1. Run the following command to verify that Decision Intelligence has a valid yaml file, and it conforms to the expected grammar:
    kubectl apply -f <ads_cr_path> --validate='strict'
    Remember: Running the command does not prevent certain errors such as unintentional duplications of a section.
  2. When you finish applying your CR, you can view the progress of the installation by checking your CR status.
    For example, you can run the following command:
    kubectl get ads di -n di -o yaml -o go-template='{{range .status.conditions}}CONDITION: {{.type}}{{"\n"}}  STATUS: {{.status}}{{"\n"}}  MESSAGE: {{.message}}{{"\n"}}{{end}}'
    CONDITION: Running
      STATUS: False
      MESSAGE: 
    CONDITION: Ready
      STATUS: True
      MESSAGE: 
    CONDITION: DesignerInstalled
      STATUS: True
      MESSAGE: 
    CONDITION: RuntimeInstalled
      STATUS: True
      MESSAGE: 
    Note: Running indicates whether the Decision Intelligence operator is reconciling. Its status is True if it is processing a CR change, or it was fired by a Kubernetes event it watches (like a secret modification). False is expected when no reconciliation is ongoing.

    You might have some expected transient errors (unknown type errors) reported in the status while the foundational services operators and custom resource definitions (CRD) are pulled and started. Then, ZenService starts and the Decision Intelligence status reports its progress.

    For more information about the CR statuses, see Custom resource statuses.

    Tip:

    The Decision Intelligence status is set to ready when all Decision Intelligence components have at least one pod ready. It can take about 30 minutes for the first start before it's ready.

    When you run the following command, you can wait until the Decision Intelligence installation status becomes ready:
    kubectl wait ads di -n di --for=condition=Ready=True --timeout=30m

Results

When all the underlying layers are ready, Decision Designer and the decision runtime are installed (you can choose to install one of them or both).

What to do next

Go to Completing post-installation tasks for Decision Intelligence Client Managed Software.