13.3. 查看 Operator 日志
以下流程是如何查看 automation-controller-operator pod 的日志的示例。
流程
要查找 pod 名称,请运行:
oc get pods | grep operator要查看 pod 的日志,请运行:
oc logs <operator-pod-name> -f或者,要在不首先获取 pod 名称的情况下查看日志,请运行:
oc logs deployments/automation-controller-operator-controller-manager -c automation-controller-manager -f