Post deployment tasks

After deploying Order Service, you can complete the deployment tasks.

Verifying your resources

Ensure that you verify your deployment, pods, services, and ingress either from the command prompt or by using the Red Hat® OpenShift® Container Platform web console.

  • If you are verifying from the command prompt, run the appropriate commands.
    • For deployments, run the following command:
      oc get deployments -n <namespace>
    • For pods, run the following command:
      oc get pods -n <namespace>
    • For services, run the following command:
      oc get services -n <namespace>
    • For the service accounts, run the following command:
      oc get sa -n <namespace>
    • For ingress, run the following command:
      oc get ingress -n <namespace>
  • If you are using the Red Hat OpenShift Container Platform web console, switch to the project and view all the resources.

Checking your logs

You can check your logs in the Red Hat OpenShift Container Platform web console or from the command prompt.

  • To check your logs in the Red Hat OpenShift Container Platform web console, from the navigation menu go to Workloads > Pods. Select the pod and click the Logs tab.
  • To check your logs from the command prompt, run the following commands:
    • To view the events present in the pods, run the following command:
      oc describe pod <pod-name> -n <namespace>
    • To view the logs of the pod, run the following command:
      oc logs <pod-name> -n <namespace>
  • To check the operator controller manager logs, run the following command:
    oc logs -f <controller_pod_name> -c manager
Note: You can use the same set of commands for checking the Order Service operator logs.