pingcap / docs-tidb-operator

Documentation for TiDB on Kubernetes in both English and Chinese.
https://docs.pingcap.com/tidb-in-kubernetes
Other
46 stars 118 forks source link

invaild example command syntax #2586

Open Jingyuma opened 4 days ago

Jingyuma commented 4 days ago

File: /release-1.6/en/use-tidb-dm.md

Wrong command: kubectl exec -ti ${dm_cluster_name}-dm-master-0 -n ${namespace} - /bin/sh Output: OCI runtime exec failed: exec failed: unable to start container process: exec: "-": executable file not found in $PATH: unknown command terminated with exit code 126

Expected command: kubectl exec -ti dm-dm-master-0 -n dm-cluster -- /bin/sh

Jingyuma commented 4 days ago

2587 PR created for this issue. thank you.