3.5 Deploying OSP Container

  1. Log in to the Kubernetes master node.

  2. Copy the secret.properties file and the OSP Tomcat keystore (tomcat-osp.ks) into the data volume path that you specified during the configuration. For example, /data.

  3. Run the following command to deploy the container:

    kubectl create -f <location of the YAML file>

    For example:

    kubectl create -f /data/OSP_AE.yaml

  4. To verify whether the pod was successfully deployed, check the log file by running the following command:

    kubectl exec <pod name> -- /usr/bin/tail -f /var/opt/netiq/idm/log/idmconfigure.log

    For example,

    kubectl exec osp -- /usr/bin/tail -f /var/opt/netiq/idm/log/idmconfigure.log

  5. (Conditional) Run the following command to verify the status of the deployed pod:

    kubectl get pods -o=wide

  6. To check the details of the deployed pod, run the following command:

    kubectl describe pod <pod name>

    For example,

    kubectl describe pod osp

  7. To log in to the pod, run the following command:

    kubectl exec -it <pod name> -- /bin/bash

    For example,

    kubectl exec -it osp -- /bin/bash