Commit Graph

9851 Commits

Author SHA1 Message Date
Yu-Ju Hong
b0e6926f67 kubelet: filter out terminated pods in SyncPods
Once a pod reaches a terminated state (whether failed or succeeded), it should
not transit out ever again. Currently, kubelet relies on examining the dead
containers to verify that the container has already been run. This is fine
in most cases, but if the dead containers were garbage collected, kubelet may
falsely concluded that the pod has never been run. It would then try to restart
all the containers.

This change eliminates most of such possibilities by pre-filtering out the pods
in the final states before sending updates to per-pod workers.
2015-04-24 15:28:03 -07:00
Brendan Burns
ee5cad84e0 Merge pull request #7295 from GoogleCloudPlatform/revert-7077-hyperkube
Revert "Update docker examples to 0.15.0"
2015-04-24 10:05:44 -07:00
Brendan Burns
49977e6a47 Revert "Update docker examples to 0.15.0" 2015-04-24 10:05:27 -07:00
Dawn Chen
2128d4e251 Merge pull request #7261 from erictune/kube_env
Pass KUBELET_TOKEN in kube-env metadata.
2015-04-24 10:03:34 -07:00
Quinton Hoole
35e9ad1747 Merge pull request #7235 from rrati/rc-functions-refactor-7234
Move RunRC, DeleteRC, and ListPods into the utility module and refactor
2015-04-24 09:38:12 -07:00
Fabio Yeon
0c54673626 Merge pull request #7180 from ddysher/validate-no-dup-ip
Validate Node IPs; clean up validation code
2015-04-24 09:36:27 -07:00
Robert Bailey
c1d1e1d45c Merge pull request #7224 from errordeveloper/master
coreos/azure: Weave version bump, various other enhancements
2015-04-24 09:27:28 -07:00
Robert Bailey
137c90738e Merge pull request #7289 from kazegusuri/logging
lower log level on recovering from panic
2015-04-24 09:22:46 -07:00
Nikhil Jindal
4120b711cf Merge pull request #7258 from caesarxuchao/api-example
update examples/cassandra to api v1beta3
2015-04-24 09:21:54 -07:00
Nikhil Jindal
84cb48be11 Merge pull request #7246 from satnam6502/es
Convert Elasticsearch logging to v1beta3 and de-salt
2015-04-24 09:21:41 -07:00
Nikhil Jindal
dca49ba5e1 Merge pull request #7231 from bcbroussard/storm-example
Update examples/storm for v1beta3
2015-04-24 09:21:26 -07:00
Nikhil Jindal
113efcd355 Merge pull request #7230 from bcbroussard/spark-example
Update examples/spark for v1beta3
2015-04-24 09:21:10 -07:00
Robert Bailey
b6aae556b9 Merge pull request #7275 from cjcullen/readonly
kube2sky using kubeconfig secret: take 2. Point system secrets at https:...
2015-04-24 08:38:31 -07:00
Vish Kannan
6e532763c4 Merge pull request #7278 from vmarmol/ooms
Update cAdvisor dependency.
2015-04-24 08:30:37 -07:00
Victor Marmol
e654abde97 Merge pull request #7271 from yifan-gu/run
kubelet/dockertools: Move RunContainer into container runtime.
2015-04-24 07:46:22 -07:00
Masahiro Sano
7c371ee36e lower log level on recovering from panic 2015-04-24 22:09:14 +09:00
Clayton Coleman
9f753c2592 Merge pull request #5909 from mfojtik/iowatcher
Suppress 'use of closed network connection' error in iowatcher
2015-04-24 08:56:40 -04:00
Clayton Coleman
ed00dae7c8 Merge pull request #7107 from wojtek-t/conversion_generator
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Michal Fojtik
1d496a030e Suppress 'use of closed network connection' error in iowatcher
Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
2015-04-24 14:32:00 +02:00
Wojciech Tyczynski
159a58ddfb Merge pull request #7169 from fgrzadkowski/requests_by_clients
Break request metrics in apiserver by client.
2015-04-24 13:37:50 +02:00
Filip Grzadkowski
8b755c805b Break request metrics in apiserver by client. 2015-04-24 13:16:14 +02:00
Wojciech Tyczynski
8c9d970fc3 Merge pull request #7276 from bprashanth/bump_loglevel
Configurable log levels for integration tests.
2015-04-24 12:11:17 +02:00
Wojciech Tyczynski
6528d17df3 Merge pull request #7284 from nikhiljindal/bug
Fixing an indentation bug in yaml file
2015-04-24 12:08:25 +02:00
nikhiljindal
4c3171f7ec Fixing an indentation bug in yaml file 2015-04-24 00:48:24 -07:00
Wojciech Tyczynski
7f919a44c2 Generate conversions for v1beta3 package. 2015-04-24 09:18:12 +02:00
BC Broussard
6b27aa2e9b Update examples/storm for v1beta3 2015-04-23 20:03:32 -07:00
Victor Marmol
b049a3cccf Update cAdvisor dependency.
Picks up fixes for events and OOM handling.
2015-04-23 19:20:16 -07:00
BC Broussard
709c00c63d Update examples/spark for v1beta3 2015-04-23 18:23:13 -07:00
CJ Cullen
80af1c9e40 kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes. Override in clients that can't use DNS. 2015-04-23 18:13:16 -07:00
Prashanth Balasubramanian
080bc5b3dd Configurable log levels for integration tests. 2015-04-23 18:12:48 -07:00
Deyuan Deng
c73ce1db34 Validate Node IPs; clean up validation code 2015-04-23 21:08:18 -04:00
David Oppenheimer
7505bed054 Merge pull request #7270 from thockin/docslinks
Make docs links go through docs.k8s.io
2015-04-23 17:18:51 -07:00
David Oppenheimer
2d69f03183 Merge pull request #7259 from a-robinson/fluentd
Make a Fluentd sidecar image and example for sending logs from within a
2015-04-23 17:10:24 -07:00
David Oppenheimer
ee11832d71 Merge pull request #7263 from lavalamp/fix4
fix watch of single object
2015-04-23 17:09:59 -07:00
David Oppenheimer
dda010b572 Merge pull request #7240 from satnam6502/v1beta3
Update Kibana RC and service to v1beta3
2015-04-23 17:09:27 -07:00
Brian Grant
24cad22a88 Merge pull request #6674 from kargakis/error-on-invalid-label-spec
Tighten label parsing
2015-04-23 16:41:52 -07:00
Yifan Gu
b5a1b32aa4 kubelet/dockertools: Move RunContainer into container runtime.
Also removed ContainerRunner interface.
2015-04-23 16:40:37 -07:00
Tim Hockin
12e4e8f304 Make docs links go through docs.k8s.io 2015-04-23 16:36:27 -07:00
Brian Grant
73322af8e8 Merge pull request #5842 from simon3z/rc-annotation
Replica Controller Name Annotation in Pods
2015-04-23 16:35:18 -07:00
David Oppenheimer
e8b28c59c6 Merge pull request #7228 from jlowdermilk/describe-examples
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
David Oppenheimer
7c7b661cf3 Merge pull request #7247 from guenter/update-dockerclient
Upgrade go-dockerclient dependency to support CgroupParent
2015-04-23 16:04:39 -07:00
Daniel Smith
2fa3ae9f15 fix watch of single object 2015-04-23 16:02:22 -07:00
Victor Marmol
d25a1412e6 Merge pull request #7262 from yifan-gu/kill
kubelet: Move KillContainer to container runtime.
2015-04-23 15:59:30 -07:00
Brian Grant
0b153eb522 Merge pull request #7211 from anguslees/lbmethod-fix
OpenStack: lb_method required when creating LbaaS pool
2015-04-23 15:56:42 -07:00
Clayton Coleman
eed2293f19 Merge pull request #7255 from derekwaynecarr/lower_resource
Normalize to lower resource names in quota admission controller
2015-04-23 18:50:35 -04:00
Yifan Gu
6ed27d06f7 kubelet: Move KillContainer to container runtime.
Rename KillContainerID(string) with KillContainer(string).
Delete the old KillContainer(*kubecontainer.Container).
2015-04-23 15:44:00 -07:00
Brian Grant
38ea531487 Merge pull request #7194 from nikhiljindal/example
Updating the guestbook example to v1beta3
2015-04-23 15:26:47 -07:00
Alex Robinson
c0956ae0ba Make a Fluentd sidecar image and example for sending logs from within a
pod's filesystem to Elasticsearch, copying liberally from the GCP version.
2015-04-23 15:22:39 -07:00
Yu-Ju Hong
a3de4908d5 Merge pull request #7215 from nikhiljindal/errHandle
Updating serviceErrorHandler to use apiVersion specific codec
2015-04-23 15:21:29 -07:00
Eric Tune
e8a83b23d1 Pass KUBELET_TOKEN in kube-env metadata.
ensure-kube-token is not needed anymore because
the token passed in kube-env.

In the up case it is set, in the push case it is an empty string
but not used.

Allow unset KUBELET_TOKEN (for push case).

Fix comment.
2015-04-23 15:21:27 -07:00