Closed antoninbas closed 6 months ago
Yeah this is the right path forward. Host Process containers are better in all ways. Hope we can get ovs to install in a windows pod someday also! Or at least to bootstrap windows components however is needed.
But yeah. I think you'll not find much docker windows antrea need in the windows k8s community.
Thanks for the feedback @jayunit100. We recently added a new installation method (for containerd of course) where OVS userspace daemons (ovs-vswitch / ovsdb-server) are run as a Pod, making the installation process simpler.
Now that https://github.com/antrea-io/antrea/pull/6019 has been merged, we just need to update the documentation, which I will take care of.
Describe what you are trying to solve
The K8s documentation lists 2 supported container runtimes on Windows:
Antrea on Windows supports containerd, and we do not claim any support for MCR. We also have a dedicated installation method for Docker (implying Docker CE / Moby, but should work for Docker Desktop as well), leveraging rancher/wins to manage Antrea as a Pod, but should we keep it?
Describe the solution you have in mind
I would like to propose dropping support for Docker on Windows in Antrea v2.0, for the following reasons:
hostProcess
Pods may be why it is no listed as a supported container runtime in the K8s documentation. Maybe @jayunit100 has some perspective here.In addition, we have these Antrea-specific reasons:
Describe how your solution impacts user flows
Antrea would no longer officially support Docker on Windows. We would remove instructions specific to Docker from the documentation.
Additional context
The Microsoft documentation lists the following container runtimes as supported on Windows:
The script for installing Docker CE still seems to be maintained: https://github.com/microsoft/Windows-Containers/tree/Main/helpful_tools
Docker Desktop is listed as the container runtime for Windows desktop, but:
Anthos clusters on VMware uses Antrea as the CNI for Windows Nodes (dataplane v2). The documentation states:
We are currently at version 1.16 of Anthos.
Even with the removal of dockershim in K8s v1.24, Docker can still be used as the container runtime thanks to https://github.com/Mirantis/cri-dockerd.