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

WINC-505: Windows containerd runtime enablement #962

Merged

Conversation

selansen
Copy link
Contributor

Enhancement proposal for making containerd as default runtime in windows node.

Signed-off-by: selansen esiva@redhat.com

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 23, 2021
@openshift-ci openshift-ci bot requested review from markmc and sttts November 23, 2021 03:25
Copy link
Contributor

@saifshaikh48 saifshaikh48 left a 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

Copy link
Contributor

@aravindhp aravindhp left a 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.

Comment on lines 154 to 158
#### Dev Preview -> Tech Preview
None

#### Tech Preview -> GA
None
Copy link
Contributor

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.

Copy link
Contributor Author

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"

@selansen selansen force-pushed the containerd_enhancement branch 2 times, most recently from a1d9d1d to f92a9a8 Compare November 24, 2021 16:47
@selansen selansen force-pushed the containerd_enhancement branch 6 times, most recently from c070529 to 05dfc98 Compare November 29, 2021 04:44
Copy link
Contributor

@aravindhp aravindhp left a 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.

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
Copy link
Contributor

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.

@selansen selansen force-pushed the containerd_enhancement branch 9 times, most recently from 093020d to fec7d3a Compare December 6, 2021 03:05
@selansen selansen changed the title [WIP] WINC-505: Windows containerd runtime enablement WINC-505: Windows containerd runtime enablement Dec 6, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 6, 2021
## 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).
Copy link
Member

@mtnbikenc mtnbikenc Dec 9, 2021

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

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).

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.

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:
Copy link
Contributor

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:
Copy link
Contributor

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
Copy link
Contributor

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.

@selansen selansen force-pushed the containerd_enhancement branch 5 times, most recently from cb51120 to 71367c0 Compare December 10, 2021 00:02
  Enhancement proposal for making containerd as default runtime in
  windows node.

Signed-off-by: selansen <esiva@redhat.com>
Copy link
Contributor

@aravindhp aravindhp left a 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

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 10, 2021

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sgaoshang
Copy link

/lgtm, thanks.

@rrasouli
Copy link

/lgtm

@sebsoto
Copy link
Contributor

sebsoto commented Dec 13, 2021

/lgtm

@alinaryan
Copy link

/lgtm

1 similar comment
@jrvaldes
Copy link
Contributor

/lgtm

@selansen
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 13, 2021

@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.

@openshift-merge-robot openshift-merge-robot merged commit 90dafe7 into openshift:master Dec 13, 2021
@saifshaikh48
Copy link
Contributor

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet