-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No matches for kind "TidbCluster" in version "pingcap.com/v1alpha1" #19344
Comments
/assign @lichunzhu |
Have you deployed |
Not really, I may try it later |
I've got a similar error yesterday and this issue has been resolved after deploying tidb-operator. % kubectl create -f ./tidb-cluster.yaml -n tidb-cluster
error: unable to recognize "./tidb-cluster.yaml": no matches for kind "TidbCluster" in version "pingcap.com/v1alpha1" |
I'm still getting this error despite deploying TiDB operator:
|
You probably miss CRD from https://docs.pingcap.com/tidb-in-kubernetes/dev/get-started#step-2-deploy-tidb-operator: |
Bug Report
What version of TiKV are you using?
v4.0.4
What operating system and CPU are you using?
kubernetes
system: Ubuntu 18.04 LTS
CPU: AMD EPYC 7K62 48-Core Processor
Actually a one core 1 GiB virtual server.
Steps to reproduce
When following docs, trying to deploy a demo Tidb Cluster on my VPS with the .yaml file
What did you expect?
Successfully deploy TiDB cluster demo.
What did happened?
I stored the content in
tidb_cluster.yaml
, and tried to deploy TiDB on my VPS with Kubectl.error occured as:
Then I looked up more detailed link, its content clearly show that "TidbCluster" is actually in version "pingcap.com/v1alpha1".
So I tried accessing pingcap.com/v1alpha1 with browser, only returning a 404 page.
Using curl to get content.
curl pingcap.com/v1alpha1 | cat
output:
What happend? Is this a network problem?
The text was updated successfully, but these errors were encountered: