This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.4.6. 在受限网络中使用远程健康报告
您可以手动收集和上传 Insights Operator 存档,以便从受限网络中诊断问题。
要在受限网络中使用 Insights Operator,您必须:
- 创建 Insights Operator 归档的副本。
- 将 Insights Operator 存档上传到 console.redhat.com。
4.6.1. 复制 Insights Operator 存档 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
您必须创建 Insights Operator 数据存储的副本,以上传到 cloud.redhat.com。
先决条件
-
以
cluster-admin
用户身份登录 OpenShift Container Platform。
流程
查找当前运行的 Insights Operator pod 的名称:
INSIGHTS_OPERATOR_POD=$(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers --field-selector=status.phase=Running)
$ INSIGHTS_OPERATOR_POD=$(oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers --field-selector=status.phase=Running)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 从 Insights Operator 容器复制最近的数据存档:
oc cp openshift-insights/$INSIGHTS_OPERATOR_POD:/var/lib/insights-operator ./insights-data
$ oc cp openshift-insights/$INSIGHTS_OPERATOR_POD:/var/lib/insights-operator ./insights-data
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Insights Operator 最近存档可在 insights-data
目录中找到。