-
Notifications
You must be signed in to change notification settings - Fork 234
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
[question] why is etcd needed when using a different storage #583
Comments
@raffaelespazzoli that's b/c the apiserver is mostly re-using the original kube-apiserver's code where non-etcd storage is not supported. usually as a workaround, we can set a dummy etcd address, what storage backend are you actually replacing etcd? |
I'm building an api-proxy more than a proper api-server, so my api-server is proxying calls to hashicorp vault (which of course is, in turn, an api-server, just with different conventions/models). Here is my work in progress: |
@raffaelespazzoli mm how did observe the fact that ur apiserver is actually connecting the dummy etcd? is there any logging to share w/ us plz? |
by setting the etcd address to a constantly-failing address, i found a few WARN level log message from the local apiserver. they're baiscally negligible and doesnt influence the apiserver from working, see #587 |
after digging a bit further, i found that the warning messages above is actually caused by the etcd health checker from the kube-apiserver which cannot be disabled as far as i can see. but the bright side is that it wont fail the apiserver from running.. |
i cut a new release of apiserver-runtime in which etcd dependency can be completely removed by having |
It worked, thanks. |
hello, I'm building an api-server with a similar approach to the non-etcd example.
When the api-serve rtarts it complains that it needs the
--etcd-servers
parameter.After I set some value there, the process tarts and I can see that it tries to connect to etcd.
Why is this needed if I am not using etcd as the storage?
The text was updated successfully, but these errors were encountered: