Log in to the Kubernetes master node.
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.
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
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
(Conditional) Run the following command to verify the status of the deployed pod:
kubectl get pods -o=wide
To check the details of the deployed pod, run the following command:
kubectl describe pod <pod name>
For example,
kubectl describe pod osp
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