Skip to content

Latest commit

 

History

History
60 lines (51 loc) · 2.45 KB

cp4d-wkc-recipe.md

File metadata and controls

60 lines (51 loc) · 2.45 KB

Deploy Cloud Pak for Data - Watson Knowledge Catalog

Infrastructure - Kustomization.yaml

  1. Edit the Infrastructure layer ${GITOPS_PROFILE}/1-infra/kustomization.yaml and un-comment the following:
    - argocd/consolenotification.yaml
    - argocd/namespace-ibm-common-services.yaml
    - argocd/namespace-sealed-secrets.yaml
    - argocd/namespace-tools.yaml
    - argocd/serviceaccounts-tools.yaml
    - argocd/scc-wkc-iis.yaml

Services - Kustomization.yaml

  1. Edit the Cloud Pak for Data Platform instance and update the storage class ${GITOPS_PROFILE}/2-services/argocd/instances/ibm-cpd-instance.yaml as needed. The default is set to managed-nfs-storage.

      - name: spec.storageClass
        value: "managed-nfs-storage"
  2. Edit the Watson Knowledge Catalog instance and update the storage class ${GITOPS_PROFILE}/2-services/argocd/instances/ibm-cpd-wkc-instance.yaml as needed. The default is set to managed-nfs-storage.

      - name: spec.storageClass
        value: managed-nfs-storage
  3. Edit the Services layer ${GITOPS_PROFILE}/2-services/kustomization.yaml uncomment the following:

    - argocd/operators/ibm-cpd-scheduling-operator.yaml
    - argocd/operators/ibm-cpd-platform-operator.yaml
    - argocd/instances/ibm-cpd-instance.yaml
    - argocd/operators/ibm-cpd-wkc-operator.yaml
    - argocd/instances/ibm-cpd-wkc-instance.yaml
    - argocd/operators/ibm-catalogs.yaml
    - argocd/instances/sealed-secrets.yaml

Validation

  1. Get the status of the control plane (lite-cr)

    oc get ZenService lite-cr -n tools -o jsonpath="{.status.zenStatus}{'\n'}"
    

    Cloud Pak for Data control plane is ready when the command returns Completed. If the command returns another status, wait for some more time and rerun the command.

  2. Get the status of Watson Knowledge Catalog (wkc-cr)

    oc get WKC wkc-cr -n tools -o jsonpath="{.status.wkcStatus} {'\n'}"
    

    Watson Knowledge Catalog is ready when the command returns Completed.

  3. Get the URL of the Cloud Pak for Data web client and open it in a browser.

    echo https://`oc get ZenService lite-cr -n tools -o jsonpath="{.status.url}{'\n'}"`
    
  4. The credentials for logging into the Cloud Pak for Data web client are admin/<password> where password is stored in a secret.

    oc extract secret/admin-user-details -n tools --keys=initial_admin_password --to=-