Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Do we want to document alternative workaround for cgroup1 issue? #3094

Closed
kcoriordan opened this issue Feb 9, 2022 · 6 comments
Closed

Do we want to document alternative workaround for cgroup1 issue? #3094

kcoriordan opened this issue Feb 9, 2022 · 6 comments
Assignees
Labels
kind/docs A change in documentation kind/feature A request for a new feature owner/docs Work executed by VMware documentation team reporting/health/on-track
Milestone

Comments

@kcoriordan
Copy link
Contributor

Description

Based on Eric Shanks experience deploying TCE in this blog

We have a work around documented for cgroup1 issue -
PR #2837 - to use a docker version that leverages cgroup 1

Do we want to mention or note the alternative workaround used by Eric - prebuild a kind cluster and use the tanzu cli and the prebuilt kind cluster to deploy the management cluster.

Location

Additional Context

@kcoriordan kcoriordan added triage/needs-triage Needs triage by TCE maintainers kind/docs A change in documentation labels Feb 9, 2022
@davidvonthenen davidvonthenen added this to the v0.10.0 milestone Feb 9, 2022
@davidvonthenen davidvonthenen added kind/feature A request for a new feature owner/docs Work executed by VMware documentation team and removed triage/needs-triage Needs triage by TCE maintainers labels Feb 9, 2022
@kcoriordan kcoriordan modified the milestones: v0.10.0, v0.11.0 Feb 10, 2022
@ndwinton
Copy link

It looks like there is a better workaround provided by Docker itself as of Docker Desktop 4.4.2, see the release notes. There is also more detail in this issue.

Changing the value of deprecatedCgroupv1 to true in ~/Library/Group Containers/group.com.docker/settings.json causes Docker to revert to cgroups v1 (on a Mac, I would expect something similar on Windows)

@seemiller
Copy link
Contributor

Can confirm that the workaround does indeed work! (at least on a Mac)

@martinborgman
Copy link

The statement in the Docker documentation says it all.

Added a deprecated option to settings.json: "deprecatedCgroupv1": true, which switches the Linux environment back to cgroups v1. If your software requires cgroups v1, you should update it to be compatible with cgroups v2. Although cgroups v1 should continue to work, it is likely that some future features will depend on cgroups v2. It is also possible that some Linux kernel bugs will only be fixed with cgroups v2.

So why do we need this workaround?

@joshrosso
Copy link
Contributor

We'll continue tracking this for v0.11.

If #2798 resolves as we expect. We can simple close this as a side-effect.

@joshrosso joshrosso assigned joshrosso and unassigned kcoriordan Mar 4, 2022
@joshrosso
Copy link
Contributor

I own the validation for #2798 so i'll follow up here.

@joshrosso
Copy link
Contributor

This will be closed via #2798

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/docs A change in documentation kind/feature A request for a new feature owner/docs Work executed by VMware documentation team reporting/health/on-track
Projects
None yet
Development

No branches or pull requests

6 participants