Documentation for TiDB on Kubernetes. TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
$ tkctl debug -n tidb-cluster basic-monitor-0
Defaulting container name to prometheus.
waiting for pod debug-launcher-da7c45c1-819b-4bdd-99a7-53ffac6ebc5b running...
error: pod ran to completion
File: /release-1.4/zh/network-issues.md 在 https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/use-tkctl 说到: 注意 PingCAP 从 v1.1.x 开始不再维护 tkctl,以下部分功能可能不可用,请直接使用对应的 kubectl 命令。
这里应该换成 kubectl 相应的命令。而且 tkctl 不工作
$ tkctl debug -n tidb-cluster basic-monitor-0 Defaulting container name to prometheus. waiting for pod debug-launcher-da7c45c1-819b-4bdd-99a7-53ffac6ebc5b running... error: pod ran to completion
这个报错是在 AKS 下