## 模块 5：查看 TiDB 配置

### 步骤 1. 查看 TidbCluster 配置

+ 在 Kubernetes 控制机器上，查看 TidbCluster 资源及其完整规范：

   ```bash
   kubectl get tidbcluster tidb-demo -n tidb-cluster -o yaml
   ```

### 步骤 2. 检查 TiDB Pod 配置

+ 列出 TiDB Pod 并查看其详情：

   ```bash
   kubectl describe pod -n tidb-cluster -l app.kubernetes.io/component=tidb
   ```

### 步骤 3. 检查 TiKV 和 PD Pod 配置

+ 查看 TiKV 和 PD Pod 配置：

   ```bash
   kubectl get pods -n tidb-cluster -o wide
   ```

### 步骤 4. 删除 TiDB 集群（可选）

+ 完成实验后删除 TiDB 集群：

   ```bash
   kubectl delete tidbcluster tidb-demo -n tidb-cluster
   ```
