pingcap / docs-tidb-operator

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/
https://docs.pingcap.com/tidb-in-kubernetes
Other
47 stars 120 forks source link

After deploying TiDB monitering services,basic-tidb-0 and basic-tikv-0 are not shown on the pod status. #1774

Open Omari-00 opened 2 years ago

Omari-00 commented 2 years ago

Question

This repository is ONLY used to solve issues related to TiDB Operator documentation. For other issues (related to TiDB, PD, etc), please move to other repositories.

Before submitting your question, make sure you have:

Now, please describe your question here:

Omari-00 commented 2 years ago

I followed Get Started with TiDB Operator in Kubernetes step by step,and at the third step after I deploying TiDB monitering services ,I only found basic-discovery,basic-monitor and basic-pd-0(the first two status is running,while the third status is pending)

DanielZhangQD commented 2 years ago

When PD is not ready during creation, the TiKV and TiDB Pods will not be created. Please refer to the doc https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/deploy-failures#pod-%E5%A4%84%E4%BA%8E-pending-%E7%8A%B6%E6%80%81 to check why PD is pending.