$ oc adm must-gather --image=ghcr.io/grafana/tempo-operator/must-gather -- \
/usr/bin/must-gather --operator-namespace <operator_namespace> (1)
您可以使用各种故障排除方法诊断和修复 TempoStack 或 TempoMonolithic 实例中的问题。
提交支持案例时,最好将有关集群的诊断信息包含在内以提供给 Red Hat 支持。您可以使用oc adm must-gather
工具收集各种类型资源(例如TempoStack
或TempoMonolithic
)及其创建的资源(例如Deployment
、Pod
或ConfigMap
)的诊断数据。oc adm must-gather
工具会创建一个新的 Pod 来收集这些数据。
在要保存收集数据的目录中,运行oc adm must-gather
命令以收集数据。
$ oc adm must-gather --image=ghcr.io/grafana/tempo-operator/must-gather -- \
/usr/bin/must-gather --operator-namespace <operator_namespace> (1)
1 | 安装运算符的默认命名空间是openshift-tempo-operator 。 |
验证是否已创建新目录并包含收集的数据。