You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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.
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.
Activity
danmcp commentedon May 11, 2015
@sdodson Should this be against openshift-docs?
sdodson commentedon May 11, 2015
@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.
danmcp commentedon May 28, 2015
@csrwng Any updates?
csrwng commentedon May 28, 2015
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.
smarterclayton commentedon Jul 10, 2015
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.
smarterclayton commentedon Nov 4, 2015
This should be a docs bug
csrwng commentedon Nov 4, 2015
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
smarterclayton commentedon Nov 4, 2015
We'd want to include it int he origin docs.
On Wed, Nov 4, 2015 at 5:00 PM, Cesar Wong [email protected] wrote:
sdodson commentedon Nov 5, 2015
Docs issue asking that kubernetesMaster and kubeletArguments documentation be automatically generated? openshift/openshift-docs#1151
sdodson commentedon Nov 5, 2015
I'm not terribly interested in container GC specifically, at the time it wasn't working, now it is.
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…