Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.77 KB

cp4d-platform-recipe.md

File metadata and controls

43 lines (37 loc) · 1.77 KB

Deploy Cloud Pak for Data platform

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

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 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-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 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'}"`
    
  3. 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=-