-
Notifications
You must be signed in to change notification settings - Fork 36
Move to unified cgroupv2 hierarchy and upgrade docker to 20.10 #931
Move to unified cgroupv2 hierarchy and upgrade docker to 20.10 #931
Commits on Aug 12, 2021
-
sys-process/tini: Sync with Gentoo upstream
For tini-0.19. Upstream commit 2e10a957da8a8a93c1f5d82011e3f6692f7b765c. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 450c5ae - Browse repository at this point
Copy the full SHA 450c5aeView commit details -
sys-process/tini: Apply Flatcar patches
We use a custom build system to remove the cmake dependency and hardcode relevant configuration. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 3497628 - Browse repository at this point
Copy the full SHA 3497628View commit details -
app-emulation/docker-cli: Import from Gentoo
Docker upstream split the cli component into a separate repo, so there is a separate ebuild that builds the docker utility. This is a prerequisite of the update of docker to 20.10. This is an import from portage commit 69d01a4273a556b1205a7a575cb3811ab7e2443d. Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0fa6f0e - Browse repository at this point
Copy the full SHA 0fa6f0eView commit details -
app-emulation/docker-cli: Apply Flatcar patches
We use coreos-go* eclass so that we can override several environment variables and build with the same go version as docker upstream. These changes are modeled after what was previously done in app-emulation/docker, the cli ebuild has only been split out since v20.10. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for d50a1c7 - Browse repository at this point
Copy the full SHA d50a1c7View commit details -
app-emulation/docker-proxy: Freeze version 0.8.0_p20180709
This is the version used by docker-19.03. We will be updating the live ebuild to build docker 20.10 dependencies. Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 758f8f5 - Browse repository at this point
Copy the full SHA 758f8f5View commit details -
app-emulation/docker-proxy: Update to 0.8.0_p20210525
This is the version needed by docker 20.10.7. ROADMAP.md doesn't exist so it has been removed from src_install. Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4022df9 - Browse repository at this point
Copy the full SHA 4022df9View commit details -
app-emulation/docker: Sync from Gentoo
For update to docker-20.10.7. gentoo/portage commit 0ed05ce0a8f0d1c3dfa6151e7ebb25b67c4aae16 Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 854a161 - Browse repository at this point
Copy the full SHA 854a161View commit details -
app-emulation/docker: Apply Flatcar patches
The patches do the following: * install flatcar specific wrappers and systemd config * force some USE flags to default on * allow injecting CFLAGS/LDFLAGS so that torcx can work * force building with go1.13 (like upstream does) - this won't be necessary next time because docker master already uses go1.16
Configuration menu - View commit details
-
Copy full SHA for 2cf4bb3 - Browse repository at this point
Copy the full SHA 2cf4bb3View commit details -
app-torcx/docker: Add a Docker 20.10 torcx image
Compared to previous torcx images the docker-cli package is a separate package, following upstream Docker repo layout changes. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 4175d5f - Browse repository at this point
Copy the full SHA 4175d5fView commit details -
coreos-base/flatcar-eks: update supported kubernetes versions for cgr…
…oupv2 We are switching flatcar to cgroupv2 which is support by docker 20.10 and kubernetes 1.19. This requires setting the systemd cgroup driver in the kubelet config. Due to the unified cgroup hierarchy, kubernetes <1.19 will not work so remove all older versions. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for f0da7f8 - Browse repository at this point
Copy the full SHA f0da7f8View commit details -
.github: Adapt docker-release-main action to Docker 20
The upstream docker repository location has changed to docker/docker. Additionally, the cli component has been split out which which requires fetching two hashes and updating two ebuilds. We also took the chance to align the ebuild with gentoo's, which means there are is no more live ebuild and no symlink. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 7cfa674 - Browse repository at this point
Copy the full SHA 7cfa674View commit details -
app-torcx/docker: Remove torcx packages for older docker versions
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for f1520d3 - Browse repository at this point
Copy the full SHA f1520d3View commit details -
sys-apps/systemd: Switch to unified cgroup hierarchy
Now that Docker has been updated to 20.10, we can use cgroupv2 so have systemd mount the unified cgroup hierarchy by default. Other ways of achieving the same would have been to pass 'systemd.unified_cgroup_hierarchy=1' on the kernel cmdline, but this way the change propagates nicely to all OEM consumers. Signed-off-by: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c02ec4e - Browse repository at this point
Copy the full SHA c02ec4eView commit details -
coreos-base/update_engine: add postinstall hook to stay on cgroupv1
This pulls in flatcar/update_engine#13 Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for f8eb3c0 - Browse repository at this point
Copy the full SHA f8eb3c0View commit details -
coreos-base/coreos-init: add motd warning when cgroupv1 is found
This pulls in flatcar/init#44 Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for ebab5a5 - Browse repository at this point
Copy the full SHA ebab5a5View commit details -
app-emulation/containerd: add config file for use during migration
The SystemdCgroup=true setting is incompatible with kubelet cgroupDriver: cgroupfs. So to prevent kube clusters from failing, we will be freezing a nodes config.toml during an update. For that purpose, we install a second configuration file that can then be selected using a systemd drop-in unit. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 80ea7e7 - Browse repository at this point
Copy the full SHA 80ea7e7View commit details