Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 2.42 KB

cp4d-wml-recipe.md

File metadata and controls

59 lines (50 loc) · 2.42 KB

Deploy Cloud Pak for Data - Watson Machine Learning

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

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 Machine Learning instance and update the storage class ${GITOPS_PROFILE}/2-services/argocd/instances/ibm-cpd-wml-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-wml-operator.yaml
    - argocd/instances/ibm-cpd-wml-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 Machine Learning (wml-cr)

    oc get WmlBase wml-cr -n tools -o jsonpath="{.status.wmlStatus} {'\n'}"
    

    Watson Machine Learning 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=-