Commit Graph

7826 Commits (a6aee290fabd88167265dcad12a841d54974a3ab)

Author SHA1 Message Date
Victor Marmol d78ecf820e Garbage collecting images in the Kubelet.
Integrated the imageManager into the Kubelet and applies the garbage
collection policy every 5 minutes. The default policy allows up to 90%
disk usage, after which images are garbage collected to bring limit back
down to 80%.

Fixes #157.
2015-03-17 17:56:02 -07:00
Jeff Lowdermilk faab509a23 Merge pull request #5543 from you-n-g/master
add get available versions commmand
2015-03-17 17:34:33 -07:00
Vish Kannan b6e7f470cb Merge pull request #5576 from vmarmol/auth
Add monitoring scope to default GCE config.
2015-03-17 17:22:52 -07:00
Andy Goldstein 7b07960758 Use docker's ParseRepositoryTag when pulling 2015-03-17 20:15:13 -04:00
Victor Marmol 8d70dd8719 Merge pull request #5575 from dchen1107/image
Upgrade to container-vm-20150315
2015-03-17 17:14:52 -07:00
Victor Marmol 8e2dc04da8 Add monitoring scope to default GCE config.
This will allow Heapster to run GCM-based monitoring on the nodes.
2015-03-17 17:02:10 -07:00
Andy Goldstein b7c177944e bump(docker/docker/pkg/parsers):ed6685369740035b0af9675bf9add52d0af7657b
Add docker/docker/pkg/parsers and bump entire set of docker/docker/...
dependencies.
2015-03-17 19:56:16 -04:00
Tim Hockin 7e42fc86fd Merge pull request #5573 from brendandburns/err
Set the emptyNameError to be a bad request.  Always return a JSON error.
2015-03-17 16:43:22 -07:00
Victor Marmol c2ba26fb9e Merge pull request #5574 from ArtfulCoder/static_linking
build kube-apiserver, kube-scheduler and kube-controller-manager statically
2015-03-17 16:33:11 -07:00
Brendan Burns 4725ecac3f Set the emptyNameError to be a bad request. Always return a JSON error. 2015-03-17 16:17:14 -07:00
Yu-Ju Hong b84de4e986 Merge pull request #5571 from vmarmol/fix
Adding errors to Kubelet events.
2015-03-17 16:14:58 -07:00
Dawn Chen dce75998d0 Upgrade to container-vm-20150315 2015-03-17 16:10:39 -07:00
Abhishek Shah 9a901ed46d build kube-apiserver, kube-scheduler and kube-controller-manager statically. 2015-03-17 16:03:31 -07:00
Dawn Chen cbe4a1a679 Merge pull request #5510 from vmarmol/gc
Introduce and implement container GC policy
2015-03-17 16:02:17 -07:00
Victor Marmol 0c664a343c Adding errors to Kubelet events.
This will help while debugging issues that generate events.

Also removed unecessary log line.
2015-03-17 15:55:25 -07:00
Zach Loafman 11b9b309d3 Merge pull request #5570 from GoogleCloudPlatform/revert-5558-docker-ParseRepositoryTag
Revert "Use docker's ParseRepositoryTag when pulling"
2015-03-17 15:17:44 -07:00
Zach Loafman 5496686f33 Revert "Use docker's ParseRepositoryTag when pulling" 2015-03-17 15:16:33 -07:00
Nikhil Jindal 89f18f6fe1 Merge pull request #5493 from sdminonne/issue_341_step_2
Another step to introduce  fields.Selector
2015-03-17 15:16:18 -07:00
Victor Marmol 3e84c2612b Merge pull request #5568 from zmerlynn/publish_latest
Modify get.k8s.io script to use latest published build
2015-03-17 15:13:23 -07:00
Salvatore Dario Minonne 31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Filipe Brandenburger c3b361f218 Merge pull request #5563 from zmerlynn/publish_latest
Publish a gs://kubernetes-release/release/latest.txt when we publish a build
2015-03-17 14:36:21 -07:00
Zach Loafman 13600a65f8 Modify get.k8s.io script to use latest published build
After #5563, all official builds will update latest.txt. Use it.
2015-03-17 14:36:12 -07:00
Zach Loafman 3458246c10 Publish a gs://kubernetes-release/release/latest.txt when we publish a build
Adds a kube::release::gcs::publish_latest_official that checks the
current contents of this file in GCS, verifies that we're pushing a
newer build, and updates it if so. (i.e. it handles the case of
pushing a 0.13.1 and then later pushing a 0.12.3.) This follows the
pattern of the ci/ build, which Jenkins just updates unconditionally.

I already updated the file for 0.13.1. After this we can update the
get-k8s script, so we don't have to keep updating it.
2015-03-17 13:53:05 -07:00
Alex Robinson e6d13dbf76 Merge pull request #5565 from satnam6502/fluentd-es-image
Add a prefix to the POS file for Fluentd to Elasticsearch
2015-03-17 13:35:56 -07:00
Satnam Singh 985d5c1f95 Add a prefix to the POS file for Fluentd to Elasticsearch 2015-03-17 13:13:03 -07:00
Victor Marmol 94ba5db932 Merge pull request #5562 from yujuhong/verbal
Add -v to `go run hack/e2e.go -ctl` commands
2015-03-17 13:12:22 -07:00
Dawn Chen 2a5610dbcb Merge pull request #5558 from ncdc/docker-ParseRepositoryTag
Use docker's ParseRepositoryTag when pulling
2015-03-17 12:56:22 -07:00
Yu-Ju Hong fb10ccbbd8 Add -v to `go run hack/e2e.go -ctl` commands 2015-03-17 12:32:34 -07:00
Alex Robinson 572f804139 Merge pull request #5269 from satnam6502/e2e_cluster_logging
End to end test for cluster level logging with Elasticsearch
2015-03-17 12:12:24 -07:00
Antoine Cotten a4e29053f7 simplify fleet invocation
see commit b5a50ca
2015-03-17 20:05:39 +01:00
Satnam Singh 2042f1bf9e End to end test for cluster level logging with Elasticsearch 2015-03-17 11:51:20 -07:00
Brian Grant a62673d226 Merge pull request #5537 from nikhiljindal/swaggie
Updating go-restful to include fix for emicklei/go-restful#185
2015-03-17 11:51:01 -07:00
Alex Robinson 584d5faf4d Merge pull request #5559 from satnam6502/fluentd-gcp-image
Adjust POS file for Fluentd to Cloud Logging
2015-03-17 11:46:59 -07:00
Satnam Singh 0212e68e91 Adjust POS file for Fluentd to Cloud Logging 2015-03-17 11:44:04 -07:00
Derek Carr c966ae8953 Merge pull request #5525 from erictune/audiences
Added Quota documentation for Cluster Admins.
2015-03-17 14:05:12 -04:00
Victor Marmol d1ed571e28 Use containerGC in the Kubelet.
New policy default is 100 containers max.

Fixes #5457.
2015-03-17 10:50:32 -07:00
Victor Marmol 4c17c09a8f Separate GC policy into containerGC struct.
The policy today takes a min GC age, max dead containers per pod, and
max containers overall. When GC is called, only dead containers created
more than min GC age ago are considered. The policy tries to keep one
dead instance of every pod's containers.
2015-03-17 10:50:06 -07:00
Dawn Chen 5a04bf6316 Merge pull request #5512 from vmarmol/igc
Introduce and implement image GC policy
2015-03-17 10:36:22 -07:00
Victor Marmol 6b9b2a5ef1 Merge pull request #5401 from yujuhong/syncstatic
Sync static pods from Kubelet to the API server
2015-03-17 10:36:05 -07:00
Andy Goldstein c08f41c18b Use docker's ParseRepositoryTag when pulling 2015-03-17 13:23:17 -04:00
Andy Goldstein 73229ed660 bump(docker/docker/pkg/parsers):ed6685369740035b0af9675bf9add52d0af7657b
Add docker/docker/pkg/parsers and bump entire set of docker/docker/...
dependencies.
2015-03-17 13:23:17 -04:00
fabioy 401451c510 Add "--labels" option to the "expose" kubectl command. 2015-03-17 09:47:57 -07:00
Young 63f7d47ffd update docs after update apis 2015-03-17 16:30:53 +00:00
Victor Marmol 6bcbf12a3d Add image garbage collection policy to imageManager. 2015-03-17 09:19:04 -07:00
Victor Marmol 303a1f7ea1 Adding cAdvisor API to get image usage information. 2015-03-17 09:17:38 -07:00
Tim Hockin 879a39bcc4 Merge pull request #5192 from quinton-hoole/2015-03-06-service-namespace-clash
Fix service namespace clash
2015-03-17 09:10:50 -07:00
Yu-Ju Hong 929fb63b33 Sync static pods from Kubelet to the API server
Currently, API server is not aware of the static pods (manifests from
sources other than the API server, e.g. file and http) at all. This is
inconvenient since users cannot check the static pods through kubectl.
It is also sub-optimal because scheduler is unaware of the resource
consumption by these static pods on the node.

This change syncs the information back to the API server by creating a
mirror pod via API server for each static pod.

 - Kubelet creates containers for the static pod, as it would do
   normally.

 - If a mirror pod gets deleted, Kubelet will re-create one. The
   containers are sync'd to the static pods, so they will not be
   affected.

 - If a static pod gets removed from the source (e.g. manifest file
   removed from the directory), the orphaned mirror pod will be deleted.

Note that because events are associated with UID, and the mirror pod has
a different UID than the original static pod, the events will not be
shown for the mirror pod when running `kubectl describe pod
<mirror_pod>`.
2015-03-17 08:45:56 -07:00
Eric Tune ece66c80bc Added Quota documentation for Cluster Admins.
Also documented Admission Control Plugins
for developers.
2015-03-17 08:33:57 -07:00
Brendan Burns 2c97522692 Merge pull request #5549 from timothysc/ISSUE-5461-proxy-fdlimits
Fix to address issue #5461 kube-proxy too many files open
2015-03-17 08:16:39 -07:00
Timothy St. Clair 140330fca8 Fix to address issue #5461 kube-proxy too many files open
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461
2015-03-17 10:13:25 -05:00