-
Notifications
You must be signed in to change notification settings - Fork 58
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
Anyway to avoid etcd dependency when it's not needed? #44
Comments
@fengye87 i think it's a duplicate of kubernetes-sigs/apiserver-builder-alpha#583. and i will get back w/ feasible fixes after reproducing that locally. |
kubernetes-sigs/apiserver-builder-alpha#583 (comment) @fengye87 i saw a few warning level loggings from the apiserver when it's actually working w/o etcd, but the custom resources will be working fine. the e2e test kubernetes-sigs/apiserver-builder-alpha#587 also confirms that.. |
@fengye87 i cut a new release of apiserver-runtime in which etcd dependency can be completely removed by having |
@yue9944882 I can confirm I've created a sample to demonstrate my requirements. A few key points here:
In the previous commit of the sample, I can get it work but with an Etcd. In the current commit, I can remove the Etcd dependency only if I add one of CRUD operations to |
@fengye87 for
in the latest release of apiserver-runtime (v1.0.1), you can implement |
@yue9944882 I've just had a look at the example project pod-exec you mentioned, it is very close to my sample. Can the pod-exec apiserver run without etcd? In my sample project, as soon as I introduced the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
I'm building an apiserver with this project which doesn't use etcd as backend. However, the resulting binary still requires a
--etcd-servers
flag to get started normally, and it would keep connecting to that address until a real etcd service is connectd. And during this connecting period, the api endpoint would keep returning 503 error.So, is there anyway I can avoid the etcd dep? If not, any suggestion to how to make it possible? I may compose a PR here.
The text was updated successfully, but these errors were encountered: