Coder Social home page Coder Social logo

Comments (17)

pwittrock avatar pwittrock commented on July 24, 2024

@pires Would you be interested in implementing this?

from apiserver-builder-alpha.

pires avatar pires commented on July 24, 2024

Yes. I should be able to pick it up during the last couple weeks of August.

from apiserver-builder-alpha.

klustria avatar klustria commented on July 24, 2024

Any updates on this? Is this kind of related to this issue/question I posted: #226 ?

from apiserver-builder-alpha.

pires avatar pires commented on July 24, 2024

Yes it is. And I think I can spare some cycles in the next couple months for this.

from apiserver-builder-alpha.

klustria avatar klustria commented on July 24, 2024

Appreciate your response. If you don't mind, can you give me an overview of what you intend to do? Details would be good too. I'm trying to look around for any links that can provide me ideas how to implement but I can't seem to find any. If you have any of those, would appreciate if you can share it with me. I've been trying to look for this topic to justify the use of API-Server aggregation in our project as some people in the team are kind of reluctant with ETCD, so our plan is to try other persistence mechanism. So would appreciate if you can share your ideas about this. TIA.

from apiserver-builder-alpha.

klustria avatar klustria commented on July 24, 2024

As I'm reviewing the k8s.io/apiserver code, it looks like storage.Interface is the one used for implementing the storage. pkg/registry/generic/NewRawStorage() is the one that instantiates the actual storage. However from looking at factory.Create in NewRawStorage(), it looks like it only supports ETCD and ETCD3. Unless my understanding is wrong, etcd seems to be hardcoded into the apiserver code without an opportunity to pass a custom implementation of storage.Interface. So as a question, is there another way to do this, i.e. implement your own custom storage.Interface and be able use it in the aggregated api server? Would appreciate if you can share your thoughts if have ideas regarding this already. I'm really eager to get some answers to this question, so I can justify the use of the aggregated api-server to my team who wants to use another persistent storage instead of etcd. TIA.

from apiserver-builder-alpha.

pires avatar pires commented on July 24, 2024

Not really, @klustria. While, conceptually, supporting a different storage engine makes sense, the fact is kubernetes/apiserver library is very opinionated about using etcd.

But here's an idea which might be worth a try. There's also a related gdoc link you should read.

from apiserver-builder-alpha.

pires avatar pires commented on July 24, 2024

It seems the metrics-server proves it can be done! In this case, metrics are stored in-memory and no etcd is involved.

from apiserver-builder-alpha.

fejta-bot avatar fejta-bot commented on July 24, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from apiserver-builder-alpha.

fejta-bot avatar fejta-bot commented on July 24, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from apiserver-builder-alpha.

pires avatar pires commented on July 24, 2024

If anyone is still interested in following-up, maybe inspiration can be taken from how k3s relies on kvsql to provide support for different storage backends.

from apiserver-builder-alpha.

yue9944882 avatar yue9944882 commented on July 24, 2024

/remove-lifecycle rotten

@pires interesting point, i opened #362 to track this feature

from apiserver-builder-alpha.

fejta-bot avatar fejta-bot commented on July 24, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from apiserver-builder-alpha.

fejta-bot avatar fejta-bot commented on July 24, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from apiserver-builder-alpha.

fejta-bot avatar fejta-bot commented on July 24, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from apiserver-builder-alpha.

k8s-ci-robot avatar k8s-ci-robot commented on July 24, 2024

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from apiserver-builder-alpha.

drewwells avatar drewwells commented on July 24, 2024

Documentation would at least be useful here. There's a single example of non-etcd but there's no documentation of how to use it.

from apiserver-builder-alpha.

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.