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

Fix entrypoint cgroups mounts #1995

Merged
merged 5 commits into from
Jan 20, 2021

Conversation

aojea
Copy link
Contributor

@aojea aojea commented Dec 29, 2020

The cgroups mount points are different depending on the provider or the platform where kind is running.
We need to be able to handle this different mountpoints, or kubelet will fail to start.
Fixes: #1969

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 29, 2020
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 29, 2020
@aojea
Copy link
Contributor Author

aojea commented Dec 29, 2020

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 29, 2020
@aojea aojea force-pushed the add-github-actions-docker branch 3 times, most recently from d542ebf to 57afd22 Compare December 30, 2020 21:09
@aojea
Copy link
Contributor Author

aojea commented Dec 30, 2020

/hold cancel
/assign @BenTheElder

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 30, 2020
@aojea aojea force-pushed the add-github-actions-docker branch 2 times, most recently from 1bdc594 to 67b4b47 Compare December 30, 2020 21:29
@aojea aojea changed the title TEMP Add GitHub actions docker Fix entrypoint cgroups mounts Dec 30, 2020
This was referenced Dec 30, 2020
@aojea
Copy link
Contributor Author

aojea commented Dec 30, 2020

@BenTheElder it is working now 😄 https://github.com/kubernetes-sigs/kind/pull/1995/checks?check_run_id=1627892273

@BenTheElder
Copy link
Member

Excellent! I'll take a closer look soon, popping my head up today but I'm back on the 5th.

@aojea aojea mentioned this pull request Jan 19, 2021
@BenTheElder BenTheElder force-pushed the add-github-actions-docker branch from 67b4b47 to 28e8771 Compare January 20, 2021 00:43
@BenTheElder
Copy link
Member

rebased, updated base image bump, etc.
tests look good so far, looks reasonable enough to me for now.
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 20, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea, BenTheElder

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 20, 2021
@k8s-ci-robot k8s-ci-robot merged commit ee16568 into kubernetes-sigs:master Jan 20, 2021
@BenTheElder BenTheElder mentioned this pull request Jan 20, 2021
@AkihiroSuda
Copy link
Member

This change seems to broke cgroup v2 ( #2013)

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubelet: invalid configuration: cgroup-root ["kubelet"] doesn't exist
4 participants