Skip to content
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

Add TTL support to etcd_helper in preparation for graceful delete #5516

Merged
merged 3 commits into from
Mar 16, 2015

Conversation

smarterclayton
Copy link
Contributor

Start preparing for Graceful deletion - extracted from #5085

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

In order to support graceful deletion, the resource object will
need access to the TTL value in etcd.  Also, in the future we
may want to get the creation index (distinct from modifiedindex)
and expose it to clients.  Change EtcdResourceVersioner to be
more type specific (objects vs lists) and provide a default
implementation that relies on the internal API convention.

Also, rename etcd_tools.go to etcd_helper.go and split a few
things up.
@derekwaynecarr
Copy link
Member

LGTM - waiting for clean travis.

@smarterclayton
Copy link
Contributor Author

Looks like Travis checked out for the afternoon - must have a doctors appt.

@derekwaynecarr
Copy link
Member

Shippable is still working.

derekwaynecarr added a commit that referenced this pull request Mar 16, 2015
Add TTL support to etcd_helper in preparation for graceful delete
@derekwaynecarr derekwaynecarr merged commit 1291401 into kubernetes:master Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants