Code Monkey home page Code Monkey logo

Comments (5)

csuzhangxc avatar csuzhangxc commented on July 3, 2024

what's the current status of this restore CR?

from tidb-operator.

emchristiansen avatar emchristiansen commented on July 3, 2024

Digging a bit more, if I run kubectl describe job restore-restore -n tidb-cluster I see:

Error creating: pods "restore-restore-" is forbidden: error looking up service account tidb-cluster/tidb-backup-manager: serviceaccount "tidb-backup-manager" not found

from tidb-operator.

emchristiansen avatar emchristiansen commented on July 3, 2024

So, the tidb-backup-manager SA was created, but in the default namespace, not tidb-cluster where it was needed.

I fixed the problem by modifying this template to specify the namespace.

Also, it's weird that this worked before but not now - I did upgrade K8s so perhaps that changed some SA namespace semantics.

from tidb-operator.

csuzhangxc avatar csuzhangxc commented on July 3, 2024

in the document you mentioned above,

Step 1: Prepare the restore environment

2. Download backup-rbac.yaml, and execute the following command to create the role-based access control (RBAC) resources in the restore-test namespace:

from tidb-operator.

emchristiansen avatar emchristiansen commented on July 3, 2024

Ah, you're correct!

Still don't know why this worked in my old setup and not the new one though.

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.