Skip to content

Update cgroup hierarchies for k8s 1.6#1955

Merged
yissachar merged 1 commit into
kubernetes:masterfrom
justinsb:rationalize_cgroups_hierarchies
Feb 21, 2017
Merged

Update cgroup hierarchies for k8s 1.6#1955
yissachar merged 1 commit into
kubernetes:masterfrom
justinsb:rationalize_cgroups_hierarchies

Conversation

@justinsb

@justinsb justinsb commented Feb 21, 2017

Copy link
Copy Markdown
Member

We're going with a much cleaner cgroup hierarchy for k8s 1.6


This change is Reviewable

We're going with a much cleaner cgroup hierarchy for k8s 1.6
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 21, 2017
@justinsb

Copy link
Copy Markdown
Member Author

cc @derekwaynecarr ... this is your work, but wrapped in a version check so we don't change the configuration of existing clusters until 1.6. Testing this on ubuntu now as that was the problematic OS IIRC.

I wrote this on the other PR also, but can you confirm the kubelet flag settings for 1.6 should be the following (at least for now!):

cgroup-root = "/"
runtime-cgroups unset
kubelet-cgroups unset
system-cgroups unset

clusterSpec.Kubelet.RuntimeCgroups = "/docker-daemon"
clusterSpec.Kubelet.KubeletCgroups = "/kubelet"
clusterSpec.Kubelet.SystemCgroups = "/system"
clusterSpec.Kubelet.CgroupRoot = "/"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't shipped GCE support in kops quite yet, so we don't need to worry about back-compat here.

@derekwaynecarr

Copy link
Copy Markdown
Member

this is LGTM, can we get this merged asap?

@yissachar yissachar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants