Comments (17)
@pires Would you be interested in implementing this?
from apiserver-builder-alpha.
Yes. I should be able to pick it up during the last couple weeks of August.
from apiserver-builder-alpha.
Any updates on this? Is this kind of related to this issue/question I posted: #226 ?
from apiserver-builder-alpha.
Yes it is. And I think I can spare some cycles in the next couple months for this.
from apiserver-builder-alpha.
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.
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.
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.
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.
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.
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.
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.
/remove-lifecycle rotten
@pires interesting point, i opened #362 to track this feature
from apiserver-builder-alpha.
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.
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.
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.
@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.
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)
- [build fail] build executables fail due to unknown controller manager HOT 4
- support for dynamic type registration HOT 4
- Any support plan for OS=darwin && ARCH=arm64? HOT 4
- no problem
- apiserver-boot does not call code generator automatically? HOT 1
- Project no longer builds based on install instructions HOT 5
- How to make the addon apiserver authentication and authonrization in local HOT 4
- `apiserver-boot build executables` didn't call "make generate" in v2.0.0-beta.0 release on Mac HOT 4
- connect: connection refused HOT 1
- apiserver-boot must be installed using a release tar.gz downloaded from the git repo. HOT 4
- unknown option -addext HOT 5
- How to generate Java/C client code HOT 4
- v1.23.0 can not build generate client sdk HOT 6
- Why build docs is not functionally available? HOT 4
- How to pass queryParameter for ArbitrarySubResource HOT 4
- failed to install through "go install" HOT 5
- > example/podexec failed HOT 4
- Error when using ConnectorSubResource: (missing method Destroy) HOT 5
- Where is the unversioned API
- apiserver-boot 在windows环境下的gitbash执行报错 GOCACHE is not defined and %LocalAppData% is not defined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiserver-builder-alpha.