Skip to content
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

docs: deploy tidb cluster in minikube #447

Closed
cofyc opened this issue May 1, 2019 · 1 comment · Fixed by #451
Closed

docs: deploy tidb cluster in minikube #447

cofyc opened this issue May 1, 2019 · 1 comment · Fixed by #451
Assignees

Comments

@cofyc
Copy link
Contributor

cofyc commented May 1, 2019

Feature Request

Is your feature request related to a problem? Please describe:

Guide the user to use tidb-operator in the minikube environment.

Describe the feature you'd like:

Guide on how to set up and use tidb-operator in the minikube environment.

Describe alternatives you've considered:

NONE

Teachability, Documentation, Adoption, Migration Strategy:

@cofyc cofyc self-assigned this May 1, 2019
@cofyc
Copy link
Contributor Author

cofyc commented May 1, 2019

notes from @tennix

git clone https://github.com/pingcap/tidb-operator
cd tidb-operator
minikube start
kubectl apply -f manifests/tiller-rbac.yaml
helm init
helm install charts/tidb-operator --name tidb-operator --namespace tidb-admin
helm install charts/tidb-cluster --name tidb-cluster --namespace tidb --set schedulerName=default-scheduler,pd.storageClassName=standard,tikv.storageClassName=standard,pd.replicas=1,tikv.replicas=1,tidb.replicas=1
minikube service -n tidb tidb-cluster-grafana # this will open grafana with your default browser
minikube service -n tidb tidb-cluster-tidb --url  # connect with MySQL client using the first IP and Port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant