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

kubelet: Remove docker container in prober's interface #5614

Merged
merged 1 commit into from
Mar 18, 2015

Conversation

yifan-gu
Copy link
Contributor

Also change
kubelet.docketIDToRef[dockertools.DockerID]*api.ObjectReference{} to
kubelet.containerIDToRef[string]*api.ObjectReference{}.

This is one of the steps we need to take to replace dockerContainer with more generic container types. #5526

Whether to use api.Container or creating another one in the runtime is still under discussion:
#5572 (comment)

Feedback welcome! Thank you!

Also change
kubelet.docketIDToRef[dockertools.DockerID]*api.ObjectReference{} to
kubelet.containerIDToRef[string]*api.ObjectReference{}.
@vmarmol
Copy link
Contributor

vmarmol commented Mar 18, 2015

This LGTM overall, we should consider having a strong type for container IDs though (they may be a string under the covers, but having the strong type gives us flexibility and a layer of checks).

@vmarmol vmarmol self-assigned this Mar 18, 2015
@yifan-gu
Copy link
Contributor Author

@vmarmol That makes sense. Do you mind if I do this in separate PRs which introduce the container runtime? Cuz I feels it might fit into kubelet.container package better ?

@vmarmol
Copy link
Contributor

vmarmol commented Mar 18, 2015

Separate PR SGTM, merging this.

vmarmol added a commit that referenced this pull request Mar 18, 2015
kubelet: Remove docker container in prober's interface
@vmarmol vmarmol merged commit 9a3afb7 into kubernetes:master Mar 18, 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