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

Introduce image service proxy under cri scenario #168

Merged
merged 1 commit into from
May 24, 2022

Conversation

honpey
Copy link
Contributor

@honpey honpey commented May 24, 2022

for kubelet, when --image-service-endpoint is not set, kubelet would use
the runtime socket as the image-service endpoint.

under kubelet using runtime-manager as remote runtime and image-service not configured scenario :
kubelet xx --container-runtime-endpoint=/var/run/runtime-manager/runtimemanager.sock
runtime-manager should implement image service proxy, otherwise there would be image related errors
as no image-service exists.

runtime-manager just forwards image request to backend containerd tranparently.

Signed-off-by: honpey honpey@gmail.com

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented May 24, 2022

Codecov Report

Merging #168 (a757cb8) into main (8fdde3f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #168   +/-   ##
=======================================
  Coverage   57.82%   57.82%           
=======================================
  Files          91       91           
  Lines        8159     8159           
=======================================
  Hits         4718     4718           
  Misses       3029     3029           
  Partials      412      412           
Flag Coverage Δ
unittests 57.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fdde3f...a757cb8. Read the comment docs.

for kubelet, when --image-service-endpoint is not set, kubelet would use
the runtime socket as the image-service endpoint.

under kubelet using runtime-manager as remote runtime and image-service not configured scenario :
	kubelet xx --container-runtime-endpoint=/var/run/runtime-manager/runtimemanager.sock
runtime-manager should implement image service proxy, otherwise there would be image related errors
as no image-service exists.

runtime-manager just forwards image request to backend containerd tranparently.

Signed-off-by: honpey <honpey@gmail.com>
@hormes
Copy link
Member

hormes commented May 24, 2022

/lgtm
/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hormes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@koordinator-bot koordinator-bot bot merged commit cb90038 into koordinator-sh:main May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants