-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
etcd v3 as storage backend for APIServer #44
Comments
/cc @kubernetes/sig-scalability |
To be honest, I wouldn't say the current status of it is "alpha". To clarify, it is technically possible to configure apiserver to use etcd3, and start this etcd3, but it is completely not supported by our startup scripts - so one would need to do it on his/her own. In my opinion this is necessary step to say this feature is in alpha. So to be honest, I wouldn't say this feature is in alpha. @lavalamp - if you don't agree with ^^ |
Enablement has occurred as of - kubernetes/kubernetes#29399 We are currently following up with v3client enablement, which is in progress. Also, please add @wojtek-t and @timothysc as assignees as well. Many folks are involved in this effort. We should also label team/SIG-Scalability. |
done. thanks for the update @timothysc On Thu, Aug 11, 2016 at 10:25 AM Timothy St. Clair notifications@github.com
|
@wojtek-t Is the current plan to switch to etcd3 for 1.4? |
@alex-mohr - that's a very good question. Here is what we have:
What we are missing:
So we won't have everything by the end of this week, but the missing things will be pretty small. So I guess this is a question mostly to @lavalamp if he will be OK with cherrypicking those small changes ~next week. |
I believe @hongchaodeng is also working on this. @hongchaodeng told me that we are not loosing events, just that the moved events do not have TTL attached properly. We need to fix that part by attaching them to a lease correctly for the first bootstrap after migration. |
/cc @timothysc Anything from you? Are we able to switch unit tests/e2e test to etcd3 within next few weeks? |
Yes - that's what I meant. And yes - it's definitely doable, but it's not yet done. I mentioned things that we are missing. |
e2e tests are already fixed - we have a Jenkins suite running with etcd3 underneath and using v3 client. |
So the entire test suite has etcd3 as a backend. The work item/question I've been having is whether to enable clientv3 by default for the 1.4 release, and at this point I'm going to say NO for several reasons.
So for this release cycle b/c we are straddling v2/v3 support it seems prudent to release with etcd3 as the backend, using the v2 client as the default. This has passed all the tests and there are no known issues at this time. The only question I have is how many releases will we support the straddling of v2/v3? (one?) This should be a discussion topic for @kubernetes/sig-scalability tomorrow. /cc @jbeda |
Yes. v2 client until we have migration (both ways) at least. On Wed, Aug 17, 2016 at 2:01 PM, Timothy St. Clair <notifications@github.com
|
I definitely agree that migration both ways is a blocker. However, I don't agree that unit tests are a blocker - if we have e2e & integration tests working, then I don't think unit tests are that important. The reason why I would like to have this is that we had a discussion and we don't want to launch both protobuf format for storage and etcd3 in a single release. And we will definitely need to former to support 5000 nodes. |
So let me summarize the missing things here:
In my opinion unit/integration tests migration is not a blocker, all others actually are. |
I was able to get the unit tests cleaned up, I'll have PR shortly. |
@hongchaodeng Can you please merge #44 (comment) into the tracking list and also update the current status? |
@hongchaodeng - GKE bits is our internal stuff that we need to change. This is more to remind us what we need to do. |
etcd3 is now the default in 1.6 (https://groups.google.com/forum/#!topic/kubernetes-dev/WMPK5fyOorE), we will need to be careful to outline installation and upgrade instructions for the broader community. Luckily @kubernetes/sig-cluster-lifecycle-misc has already defaulted to etcd3 in their release. |
Great! Thanks @timothysc |
Automatic merge from submit-queue (batch tested with PRs 39714, 39646) use etcd2 as storage-backend for federation until federation features are completely tested with etcd3 **What this PR does / why we need it**: move federation etcd to etcd3 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39594 **Special notes for your reviewer**: here is the [link](kubernetes/enhancements#44 (comment)) to announcement making etcd3 as default **Release note**: ```release-note ```
@timothysc can you confirm that this feature can be labelled as "stable" for 1.6? |
I don't feel like "alpha, beta, stable" is a good paradigm for thinking about "features" like this one. It's on by default, which we wouldn't do if we thought there were any bugs. Chances of us rolling it back again rather than fixing any bugs is super low. Go ahead and call that stable if you want, I guess. |
@lavalamp yes, thank you. |
@timothysc @hongchaodeng @wojtek-t please, provide us with the release notes and documentation PR or link at https://docs.google.com/spreadsheets/d/1nspIeRVNjAQHRslHQD1-6gPv99OcYZLMezrBe3Pfhhg/edit#gid=0 Also, please, select the valid checkpoints at the Progress Tracker. |
@idvoretskyi @hongchaodeng @wojtek-t It basically looks like we are just waiting on a docs push. This seems to have fallen down - kubernetes/website#2172 it looks like we need to pull the documentation together here. |
@idvoretskyi where did you want the release notes, besides the one generated by the PR itself? |
@timothysc we require the human-friendly release note (one-line), please, put it to the spreadsheet above. |
Updated spreadsheet with release note. |
Thanks for creating release note - it lgtm. |
docs PR: kubernetes/website#2763 |
Please don't merge docs PRs for 1.6 until 1.6 is actually ready :( |
Now that v1.6 is out is this feature done and closable? |
@philips if no progress is expected - yes. |
Automatic merge from submit-queue (batch tested with PRs 39714, 39646) use etcd2 as storage-backend for federation until federation features are completely tested with etcd3 **What this PR does / why we need it**: move federation etcd to etcd3 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39594 **Special notes for your reviewer**: here is the [link](kubernetes/enhancements#44 (comment)) to announcement making etcd3 as default **Release note**: ```release-note ```
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
this is done. closing. |
Enhancements also facilitate public feature roadmap
Description
This feature was merged into v1.3 and is an alpha feature behind a flag. Creating a feature for tracking through the rest of the process.
etcd v3 is a new API supported by etcd v3.0.0+. There are a number advantages of this new API but there are a changes that need to happen both externally, like turning etcd v3 on by default and migration docs, and internally, like testing and continued storage improvements, to fully take advantage of etcd v3.
Why is this a feature? It slightly changes the operation of Kubernetes clusters and impacts SIG Scalabilities and SIG API Machinery work. This is already an alpha feature today that makes etcd v3 a non-default backend but there is work that remains to move from an alpha feature to a well tested complete feature.
Progress Tracker
FEATURE_STATUS: Stable
The text was updated successfully, but these errors were encountered: