Skip to content

Document Container Garbage Collection #1865

Closed

Description

@sdodson

We need to have some documentation on container garbage collection configuration.

Activity

  1. danmcp commented on May 11, 2015

    @danmcp

    @sdodson Should this be against openshift-docs?

  2. sdodson commented on May 11, 2015

    @sdodson
    MemberAuthor

    @danmcp either developer or admin/user documentation is fine.

    I've wedged my OSE3 host a few times with thousands of failed containers so I was looking for some description as to how and when non running containers were removed. I couldn't find anything that described the expected behavior.

    Though looking at the code again https://github.com/openshift/origin/blob/master/pkg/cmd/server/kubernetes/node.go#L179 seems to indicate that there should be no more than 100 dead containers, i've currently got 800+ so I'm not certain that GC is working at all.

  3. danmcp commented on May 28, 2015

    @danmcp

    @csrwng Any updates?

  4. csrwng commented on May 28, 2015

    @csrwng
    Contributor

    So the issue that @sdodson was seeing has been fixed because we are now actually doing gc in origin. Just as in Kube. So the only thing is that we need to add it to the user doc. I wouldn't say this is a release blocker.

  5. modified the milestone: 1.1.0 on Jun 17, 2015
  6. smarterclayton commented on Jul 10, 2015

    @smarterclayton
    Contributor

    GC is controllable via direct kubelet arguments (same flag as upstream), set onto kubeletArguments in the config. Be aware it is a map of string keys to an array of string values in YAML.

  7. smarterclayton commented on Nov 4, 2015

    @smarterclayton
    Contributor

    This should be a docs bug

  8. modified the milestones: 1.1.x, 1.1.0 on Nov 4, 2015
  9. csrwng commented on Nov 4, 2015

    @csrwng
    Contributor
  10. smarterclayton commented on Nov 4, 2015

    @smarterclayton
    Contributor

    We'd want to include it int he origin docs.

    On Wed, Nov 4, 2015 at 5:00 PM, Cesar Wong [email protected] wrote:

    Garbage collection is already documented in kubernetes... can we just
    point to it?

    https://github.com/kubernetes/kubernetes/blob/master/docs/admin/garbage-collection.md

    —
    Reply to this email directly or view it on GitHub
    #1865 (comment).

  11. sdodson commented on Nov 5, 2015

    @sdodson
    MemberAuthor

    Docs issue asking that kubernetesMaster and kubeletArguments documentation be automatically generated? openshift/openshift-docs#1151

  12. sdodson commented on Nov 5, 2015

    @sdodson
    MemberAuthor

    I'm not terribly interested in container GC specifically, at the time it wasn't working, now it is.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions