Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 6f3e5bade6 Merge pull request #40432 from sjenning/imagegc-default
Automatic merge from submit-queue

kubelet: change image-gc-high-threshold below docker dm.min_free_space

docker dm.min_free_space defaults to 10%, which "specifies the min free space percent in a thin pool require for new device creation to succeed....Whenever a new a thin pool device is created (during docker pull or during container creation), the Engine checks if the minimum free space is available. If sufficient space is unavailable, then device creation fails and any relevant docker operation fails." [1]

This setting is preventing the storage usage to cross the 90% limit. However, image GC is expected to kick in only beyond image-gc-high-threshold. The image-gc-high-threshold has a default value of 90%, and hence GC never triggers. If image-gc-high-threshold is set to a value lower than (100 - dm.min_free_space)%, GC triggers.

xref https://bugzilla.redhat.com/show_bug.cgi?id=1408309

```release-note
changed kubelet default image-gc-high-threshold to 85% to resolve a conflict with default settings in docker that prevented image garbage collection from resolving low disk space situations when using devicemapper storage.
```

@derekwaynecarr @sdodson @rhvgoyal
2017-04-03 10:51:32 -07:00
.github PR template: Update links to kubernetes/community repo 2017-03-17 12:23:58 -04:00
api wire in aggregation 2017-03-27 09:44:10 -04:00
build Merge pull request #43817 from spxtr/owners 2017-03-31 11:29:29 -07:00
cluster Merge pull request #42668 from ixdy/build-silence-docker-rmi 2017-03-30 23:36:24 -07:00
cmd Merge pull request #40432 from sjenning/imagegc-default 2017-04-03 10:51:32 -07:00
docs Fix typo 2017-03-30 19:09:26 +08:00
examples Fix typo in mysql-galera example Dockerfile 2017-03-31 19:52:15 +02:00
federation Update federation openapi spec 2017-04-02 21:42:29 -04:00
Godeps Merge pull request #40423 from mkutsevol/feature/openstack_cinder_v1_2_auto 2017-03-27 12:49:22 -07:00
hack Merge pull request #40804 from runcom/prepull-cri 2017-04-01 03:08:35 -07:00
hooks
logo
pkg Merge pull request #40432 from sjenning/imagegc-default 2017-04-03 10:51:32 -07:00
plugin Merge pull request #43885 from zhangxiaoyu-zidif/master 2017-04-02 17:17:26 -07:00
staging Merge pull request #42016 from MHBauer/fix-copypasta 2017-04-02 18:08:33 -07:00
test Merge pull request #42953 from kargakis/rm-myself 2017-04-03 01:50:58 -07:00
third_party
translations Update extraction script, sort messages, add .pot file. 2017-02-23 18:53:00 +00:00
vendor Admission plugin initializer for the generic API server. 2017-03-28 08:13:09 +02:00
.bazelrc Add verify-gofmt as a Bazel test. 2017-02-10 17:00:28 -08:00
.gazelcfg.json
.generated_files Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00
.gitattributes
.gitignore
BUILD.bazel
CHANGELOG.md Fixs markdown links in CHANGELOG for 1.6 and 1.5 2017-03-28 18:55:13 -07:00
code-of-conduct.md
CONTRIBUTING.md Close kubernetes/community#420 2017-03-08 09:59:30 -08:00
labels.yaml
LICENSE
Makefile test/e2e_node: prepull images with CRI 2017-04-01 10:18:56 +02:00
Makefile.generated_files
OWNERS
OWNERS_ALIASES Merge pull request #42953 from kargakis/rm-myself 2017-04-03 01:50:58 -07:00
README.md Close kubernetes/community#420 2017-03-08 09:59:30 -08:00
Vagrantfile
WORKSPACE Update busybox dependency to fix bazel build 2017-03-28 12:12:31 -07:00

Kubernetes

Submit Queue Widget GoDoc Widget


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics