Issues while trying to install Tidb in minikube #66426
Replies: 12 comments
-
|
原帖作者:winkyao\n原帖时间:2023-03-01 02:35:23.899599\n\n Hi, Seems like this is an outdated doc about minikube, could you refer to the latest one: Get Started With TiDB Operator on Kubernetes | PingCAP Docs |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:dveeden\n原帖时间:2023-03-01 13:51:09.003952\n\n Looks like your kubernetes “cluster” (minikube) isn’t reachable. Are you sure it is running? |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-01 19:20:25.76892\n\n ok i will check the new link out, thanks |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-01 19:21:16.100854\n\n my minikube is running fine |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-01 19:31:44.065244\n\n i followed the new link , but still getting error when i use helm while adding ping cap repositories [ec2-user@ip-10-148-41-114 bin]$ helm repo add pingcap https://charts.pingcap.org/ bash: helm: command not found [ec2-user@ip-10-148-41-114 bin]$ ./helm repo add pingcap https://charts.pingcap.org/ Error: looks like “https://charts.pingcap.org/” is not a valid chart repository or cannot be reached: Get “https://charts.pingcap.org/index.yaml”: EOF [ec2-user@ip-10-148-41-114 bin]$ |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-01 22:16:19.72152\n\n actually i got past that issue and i was able to get minikube, helm etc installed and followed the doc to get the tidb opeerator and components installed but i am not able to see all the services /pods under the tidb name space [ec2-user@ip-10-148-41-114 bin]$ kubectl get pod -n tidb-cluster |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-07 00:55:17.553151\n\n any help is appreaciated |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:dveeden\n原帖时间:2023-03-07 13:56:57.381345\n\n What OS are you using? This is how things look for me: |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-08 20:20:47.012497\n\n [ec2-user@ip-10-148-40-27 bin]$ uname -a Linux ip-10-148-40-27.ec2.internal 4.14.243-185.433.amzn2.x86_64 #1 SMP Mon Aug 9 05:55:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root@ip-10-148-40-27 bin]# ./helm repo add pingcap https://charts.pingcap.org/
[ec2-user@ip-10-148-40-27 bin]$ ./helm version version.BuildInfo{Version:“v3.0.0”, GitCommit:“e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6”, GitTreeState:“clean”, GoVersion:“go1.13.4”} |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:newbee\n原帖时间:2023-03-08 20:23:30.91976\n\n i did all the process as per this doc Get Started With TiDB Operator on KubernetesLearn how to quickly deploy a TiDB cluster on Kubernetes using TiDB Operator. but at the end i only see these pods running i dont see expected output as the doc |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:dveeden\n原帖时间:2023-03-09 09:42:35.931559\n\n Could you try these steps? Common Deployment Failures of TiDB on KubernetesLearn the common deployment failures of TiDB on Kubernetes and their solutions. |
Beta Was this translation helpful? Give feedback.
-
|
原帖作者:dveeden Could you try these steps? Common Deployment Failures of TiDB on KubernetesLearn the common deployment failures of TiDB on Kubernetes and their solutions. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
原帖作者:newbee\n原帖时间:2023-03-01 00:22:09.892851\n原帖ID/Slug:438 / issues-while-trying-to-install-tidb-in-minikube\n\n
Application environment:
test
TiDB version:
Reproduction method:
Problem:
Resource allocation:
Attachment:
I am trying to create a Tidb in minikube as per this documentation
Deploy TiDB in the Minikube Cluster | PingCAP Docs.
I got my minikube up and ready on a ec2 t2 large instance
but I have issues with helm, I installed it but I am not able to see the client and server version there
and not able to see any charts
[root@ip-10-148-41-114 bin]# ./helm version
version.BuildInfo{Version:“v3.8.0”, GitCommit:“d14138609b01886f544b2025f5000351c9eb092e”, GitTreeState:“clean”, GoVersion:“go1.17.5”}
[root@ip-10-148-41-114 bin]# ./helm list
Error: Kubernetes cluster unreachable: Get “http://localhost:8080/version”: dial tcp [::1]:8080: connect: connection refused
also I am getting this when I am trying add charts
[ec2-user@ip-10-148-41-114 bin]$ ./helm repo add pingcap https://charts.pingcap.org/
Error: looks like “https://charts.pingcap.org/” is not a valid chart repository or cannot be reached: Get “https://charts.pingcap.org/index.yaml”: EOF
[ec2-user@ip-10-148-41-114 bin]$
[root@ip-10-148-41-114 bin]#
Beta Was this translation helpful? Give feedback.
All reactions