Troubleshooting operator

operator pod is not successfully deployed

No operator pod exists in the ibm-spectrum-scale-operator namespace.

operator pod shows container restarts

Kubernetes keeps the logs of the current container and the previous container.

Look at the previous container logs and look for any issues that might be causing the container to restart.

oc logs -p $(oc get pods -n ibm-spectrum-scale-operator -ojson | \
jq -r .items[0].metadata.name) -n ibm-spectrum-scale-operator