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
WINC-505: Windows containerd runtime enablement #962
WINC-505: Windows containerd runtime enablement #962
Conversation
ffb0c32
to
36cad3c
Compare
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good on a first pass through. I have a few comments
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @selansen. Please address my comments.
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
#### Dev Preview -> Tech Preview | ||
None | ||
|
||
#### Tech Preview -> GA | ||
None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove as this does not apply here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI throws error when I remove few headings . I think I should keep them and add N/A if it is not applicable.
enhancements/windows-containers/container-runtime-containerd.md missing "#### Removing a deprecated feature"
enhancements/windows-containers/container-runtime-containerd.md missing "### Operational Aspects of API Extensions"
enhancements/windows-containers/container-runtime-containerd.md missing "#### Failure Modes"
enhancements/windows-containers/container-runtime-containerd.md missing "#### Support Procedures"
enhancements/windows-containers/container-runtime-containerd.md missing "## Drawbacks"
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
36cad3c
to
2e712d8
Compare
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
a1d9d1d
to
f92a9a8
Compare
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
c070529
to
05dfc98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @selansen. Please address my comments.
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
community operator for customers and developers to try it out. This will become default for openshift | ||
4.11. At any given point in time we have one runtime support and do not allow switching between runtime. | ||
|
||
## logging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That needs to be investigated as we need to figure out if console logs and oc pod logs
etc continue to work.
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
093020d
to
fec7d3a
Compare
## Motivation | ||
|
||
In Kubernetes, the kubelet talks to a container runtime using the Container Runtime Interface. From | ||
Kubernetes 1.24 onwards dockershim will be removed from kubelet code via upstream [PR](kubernetes/kubernetes#97252). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken link when rendered. Should use https://github.com/kubernetes/kubernetes/pull/97252
.
in the 4.10 community branch(OKD) and 4.10 branch(ccm OCP)to capture any regression. | ||
This will help us to identify any issues well before containerd becomes default runtime. | ||
* containerd doesn't support image-pull-progress-deadline as of now. There is a PR | ||
https://github.com/containerd/containerd/pull/6150 work in progress. Until this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link should have text:
PR
There are few alternatives, but they are either not cost-effective or depend on the competitor's less modular | ||
components. | ||
* Implementing CRI-O runtime for Windows involves huge engineering effort and there is no community | ||
support ( most community supporters already moved to containerd). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove extra space after '( '
|
||
#### Removing a deprecated feature | ||
Once containerd becomes the default runtime, Docker will no longer be needed in Kubernetes stack. This is discussed in | ||
design section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can link to design section here
changes. MachineSet and BYOH (Bring Your Own Host) upgrade details are discussed in the upgrade section. | ||
There is no difference between MachineSet and BYOH on how we enable containerd as the default runtime. | ||
|
||
Golden Image: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah make this ### Golden Image
runtime or continue to use the same Windows image with Docker. Once containerd becomes the default runtime, WMCO will | ||
support Windows golden image with or without Docker. | ||
|
||
Containerd Migration plan: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrunalp is not asking for the line to be removed but to make it a subheader i.e. ### Containerd migration plan
@@ -0,0 +1,205 @@ | |||
--- | |||
title: container-runtime-containerd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the main header is containerd - Windows container runtime
this needs to be containerd-windows-container runtime
. My comment was changing the title does not imply changing the filename.
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
enhancements/windows-containers/container-runtime-containerd.md
Outdated
Show resolved
Hide resolved
cb51120
to
71367c0
Compare
Enhancement proposal for making containerd as default runtime in windows node. Signed-off-by: selansen <esiva@redhat.com>
71367c0
to
6ebfdc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @selansen. I am leaving the hold in case other @openshift/openshift-team-windows-containers members want to review.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aravindhp, mrunalp 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 |
/lgtm, thanks. |
/lgtm |
/lgtm |
/lgtm |
1 similar comment
/lgtm |
/hold cancel |
@selansen: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
💯 |
Enhancement proposal for making containerd as default runtime in windows node.
Signed-off-by: selansen esiva@redhat.com