Git Product home page Git Product logo

Comments (3)

csuzhangxc avatar csuzhangxc commented on August 28, 2024

we do not recommend using tidb-scheduler now, in newer versions of k8s (v1.19+), there is no need to install it.

when installing, .scheduler.create: false can be used to install TiDB Operator without tidb-scheduler (https://github.com/pingcap/tidb-operator/blob/v1.5.3/charts/tidb-operator/values.yaml#L152). This is the default behavior in the coming v1.6

from tidb-operator.

yahonda avatar yahonda commented on August 28, 2024

Would you advise how to set .scheduler.create: false ?

from tidb-operator.

yahonda avatar yahonda commented on August 28, 2024

It works.
helm install --namespace tidb-admin tidb-operator pingcap/tidb-operator --version v1.5.3 --set scheduler.create=false

ubuntu@k3s:~$ helm install --namespace tidb-admin tidb-operator pingcap/tidb-operator --version v1.5.3 --set scheduler.create=false
NAME: tidb-operator
LAST DEPLOYED: Fri Apr 19 15:38:17 2024
NAMESPACE: tidb-admin
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Make sure tidb-operator components are running:

    kubectl get pods --namespace tidb-admin -l app.kubernetes.io/instance=tidb-operator
ubuntu@k3s:~$     kubectl get pods --namespace tidb-admin -l app.kubernetes.io/instance=tidb-operator
NAME                                      READY   STATUS              RESTARTS   AGE
tidb-controller-manager-7f8c786f9-tbm97   0/1     ContainerCreating   0          6s
ubuntu@k3s:~$     kubectl get pods --namespace tidb-admin -l app.kubernetes.io/instance=tidb-operator
NAME                                      READY   STATUS              RESTARTS   AGE
tidb-controller-manager-7f8c786f9-tbm97   0/1     ContainerCreating   0          33s
ubuntu@k3s:~    kubectl get pods --namespace tidb-admin -l app.kubernetes.io/instance=tidb-operator
NAME                                      READY   STATUS    RESTARTS   AGE
tidb-controller-manager-7f8c786f9-tbm97   1/1     Running   0          55s
ubuntu@k3s:~$

from tidb-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.