Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 2.37 KB

cp4d-ds-recipe.md

File metadata and controls

59 lines (50 loc) · 2.37 KB

Deploy Cloud Pak for Data - DataStage

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

    oc get DataStage datastage-cr -n tools -o jsonpath="{.status.dsStatus} {'\n'}"
    

    DataStage 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=-