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

Etcd watcher #535

Merged
merged 1 commit into from
Jul 25, 2014
Merged

Etcd watcher #535

merged 1 commit into from
Jul 25, 2014

Conversation

lavalamp
Copy link
Member

Building on #505, this implements etcd's watch in a form that I can hook up to the apiserver.

@@ -303,3 +307,91 @@ func TestPolling(t *testing.T) {
f()
}
}

var watchTestTable = []struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this isn't part of TestWatch? Feels like this is the real test case (which should be prominent in the TestWatch method), and the rest of the code is the boilerplate necessary to make the test.

@lavalamp
Copy link
Member Author

@smarterclayton, both comments addressed in #505.

@lavalamp
Copy link
Member Author

I think my implementation here isn't quite right-- I fixed it in #549. Can just combine with that (and drop this PR) if you want.

@lavalamp
Copy link
Member Author

@smarterclayton: Comment addressed (ew -> w).

@smarterclayton
Copy link
Contributor

LGTM with answers to the two questions

@smarterclayton
Copy link
Contributor

Ok, LGTM and this is a net new interface so folks on vacation can register their discontent in subsequent pulls

@lavalamp
Copy link
Member Author

Awesome, I can fix further complaints in #549 which will be pending for a while because it's blocked on #571.

@lavalamp
Copy link
Member Author

Feel free to merge this any time... :)

smarterclayton added a commit that referenced this pull request Jul 25, 2014
@smarterclayton smarterclayton merged commit fbd71c9 into kubernetes:master Jul 25, 2014
@lavalamp lavalamp deleted the etcdWatcher branch August 26, 2015 20:02
vishh pushed a commit to vishh/kubernetes that referenced this pull request Apr 6, 2016
Added a basic api interface for events
mqliang pushed a commit to mqliang/kubernetes that referenced this pull request Dec 8, 2016
* Support provisioning baremetal cluster with ansible
mqliang pushed a commit to mqliang/kubernetes that referenced this pull request Mar 3, 2017
* Support provisioning baremetal cluster with ansible
seans3 pushed a commit to seans3/kubernetes that referenced this pull request Apr 10, 2019
Follow sig list to kubernetes/community
jsafrane pushed a commit to jsafrane/kubernetes that referenced this pull request Mar 1, 2021
…rry-pick-531-to-release-4.6

[release-4.6] Bug 1919069: UPSTREAM: 98103: kubelet: Delete static pod gracefully and fix mirrorPodTerminationMap leak
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.

2 participants