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

Reconcile kubelet and kube-proxy watching code, initial steps. #3392

Merged
merged 1 commit into from
Jan 12, 2015

Conversation

erictune
Copy link
Member

kubelet and kube-proxy have functionally similar, but different resource watching code.
I have a long term mission to have them share most of the same code (along with scheduler and controller manager). These simple refactors are baby steps towards that goal. I'll squash after review and the separate commits make it easier to review (and easier to rebase, so I don't really get what is so hot about squashing, but that is another discussion.)

@lavalamp lavalamp self-assigned this Jan 12, 2015
resourceVersion string
waitDuration time.Duration
reconnectDuration time.Duration
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: add blank line

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Split SourceAPI into two subobjects.

Parallel structure for endpoints, services will allow
changing to use generic code in pkg/client/cache/reflector.go.

Rename some funcs to be more like pkg/client/cache.
@erictune
Copy link
Member Author

squashed

@lavalamp
Copy link
Member

LGTM

lavalamp added a commit that referenced this pull request Jan 12, 2015
Reconcile kubelet and kube-proxy watching code, initial steps.
@lavalamp lavalamp merged commit 24e59de into kubernetes:master Jan 12, 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.

2 participants