Commit Graph

22819 Commits

Author SHA1 Message Date
Xiang Li
c6d8bd8f5e pkg/kubelet: return error when there is no cadvisor connection 2015-02-19 21:35:57 -08:00
Xiang Li
ce1ced4322 pkg/kubelet: make comments follow go-style 2015-02-19 21:34:52 -08:00
Xiang Li
6433e2dd2b pkg/kubelet: uncaptialize the error message in cadvisor.go 2015-02-19 21:30:24 -08:00
Victor Marmol
8649628c6c Make POD container last OOM victim.
Setting the oom_score_adj of the PID of the POD container to -100 which is less
than the default of 0. This ensures that this PID is the last OOM victim
chosen by the kernel.

Fixes #3067.
2015-02-19 19:24:01 -08:00
Clayton Coleman
60c014334f Split TLS loading to allow 3rd parties to load keys easily
The LoadTLSFiles method is useful for configuration code that needs
to read the current client config and get values out for creating
other config files.
2015-02-19 20:54:21 -05:00
Victor Marmol
2d1a8d0da0 Allow ApplyOomScoreAdj to specify what PID to adjust for. 2015-02-19 17:16:31 -08:00
Daniel Smith
b7b537efc7 fix confusing defer 2015-02-19 17:11:32 -08:00
Yu-Ju Hong
adc10d9f47 Merge pull request #4616 from lavalamp/fix7
clean up rest installation code a little
2015-02-19 14:31:32 -08:00
Daniel Smith
40f8dfc54c Merge pull request #4621 from ironcladlou/fifo-add-if-not-present
Support AddIfNotPresent function
2015-02-19 14:22:29 -08:00
Dan Mace
45372a90f8 Support AddIfNotPresent function
Add an AddIfNotPresent function to support single producer/consumer
retry scenarios. Provides the consumer with a means to prefer items
already enqueued by the producer at the point of retry.
2015-02-19 17:04:55 -05:00
Daniel Smith
5b96a454d2 clean up rest installation code a little 2015-02-19 13:26:27 -08:00
Yu-Ju Hong
fc9550698e Merge pull request #4605 from lavalamp/fix4
Set GOMAXPROCS. Print errors on stderr.
2015-02-19 11:14:12 -08:00
Daniel Smith
f6ab47cc2e Merge pull request #4608 from yujuhong/fixgomt
Run gofmt for hash.go to fix formatting errors
2015-02-19 10:58:05 -08:00
Yu-Ju Hong
7379502cc9 Run gofmt for hash.go to fix formatting errors 2015-02-19 10:51:46 -08:00
Victor Marmol
40cb417901 Merge pull request #4531 from wojtek-t/batch_requests_in_kubelet
Batch updates of multiple Pods.
2015-02-19 10:50:26 -08:00
Daniel Smith
fcddefa184 Set GOMAXPROCS. Print errors on stderr. 2015-02-19 10:30:31 -08:00
Dawn Chen
053dd7834e Merge pull request #4586 from jszczepkowski/volume-event
Fire event for pod when mount fails.
2015-02-19 10:26:42 -08:00
Jeff Lowdermilk
703b642886 Merge pull request #4517 from liggitt/kubeconfig_cert_data
Let .kubeconfig be a single-source config for API clients
2015-02-19 10:22:58 -08:00
Yu-Ju Hong
1b5d14423c Merge pull request #4595 from rsokolowski/deterministic-hash
Make DeepHashObject function deterministic.
2015-02-19 10:10:08 -08:00
roberthbailey
bab8393e6a Merge pull request #4278 from brendandburns/kubecfg
Add an (optional) proxy to the TLS config.
2015-02-19 09:17:27 -08:00
Jordan Liggitt
abb38cf793 Let .kubeconfig populate ca/cert/key data, and basic-auth username/password in client configs 2015-02-19 11:29:42 -05:00
rsokolowski
14e93a112b Make DeepHashObject function deterministic. 2015-02-19 16:46:19 +01:00
Jerzy Szczepkowski
d614fc7fcc Fire event for pod when mount fails.
Implemented firing event for pod when mount of external volume fails. Fixes #4540.
2015-02-19 11:08:36 +01:00
Wojciech Tyczynski
702ad7732f Applied comments 2015-02-19 08:01:16 +01:00
Jordan Liggitt
945616a6f9 Surface load errors when reading .kubeconfig files 2015-02-18 23:34:51 -05:00
Tim Hockin
ae0062d001 Part 2 of plural ports: make endpoints a struct
Includes conversions for v1b[12] and tests and fixups for call sites.
2015-02-18 19:54:15 -08:00
Tim Hockin
34eaa0dbd6 Part 1 of plural ports: Add protocol to Endpoints
This makes it easier to make the second step, which is moving endpoints
to a struct instead of a string.
2015-02-18 18:58:04 -08:00
Brian Grant
1ba1c1c4a8 Merge pull request #4541 from yujuhong/lies
Remove obsolete comments in types.go
2015-02-18 17:05:56 -08:00
Yu-Ju Hong
be4ca11f38 Remove obsolete comments in types.go 2015-02-18 16:14:30 -08:00
Eric Tune
af67829eca Merge pull request #4515 from pmorie/secrets_wip
Secret volume plugin iteration 1
2015-02-18 15:57:31 -08:00
Xiang Li
0e20f7d736 pkg/kubelet: recreate infra pod if the pod is changed 2015-02-18 15:05:16 -08:00
Dawn Chen
8022c74b55 Merge pull request #4473 from xiang90/server
pkg/kubelet/server.go: minor fixes
2015-02-18 14:50:51 -08:00
Brian Grant
079e70e210 Merge pull request #4546 from mikedanese/hook-fix
add descriptions to PodCondition struct tags
2015-02-18 13:41:29 -08:00
Mike Danese
dd1548347d add descriptions to PodCondition struct tags 2015-02-18 13:29:56 -08:00
Paul Morie
a42ff94c8f Add secret volume plugin and e2e test 2015-02-18 16:27:44 -05:00
Xiang Li
6b91901bd3 pkg/kubelet: minor fixes in server.go 2015-02-18 13:18:45 -08:00
Victor Marmol
860c1cc93a Merge pull request #4508 from bprashanth/handle_stats_500
Cadvisor interface returns richer errors to the kubelet server #4127
2015-02-18 12:59:47 -08:00
Dawn Chen
31901780a9 Merge pull request #4520 from brendandburns/master
Release 0.11.0
2015-02-18 11:00:18 -08:00
Paul Morie
a131a5e491 Add test for secret RESTStorage 2015-02-18 13:02:22 -05:00
Prashanth Balasubramanian
9427f75788 Cadvisor returns richer errors to the kubelet server. 2015-02-18 09:31:28 -08:00
Paul Morie
fb001ada21 Secret API resource 2015-02-18 11:54:56 -05:00
Wojciech Tyczynski
25c8f07c67 Batch updates of multiple Pods. 2015-02-18 16:46:16 +01:00
Brendan Burns
5b34ac0e73 Kubernetes version v0.11.0-dev 2015-02-17 21:15:42 -08:00
Brendan Burns
18ddff0eb6 Kubernetes version v0.11.0 2015-02-17 21:15:37 -08:00
Clayton Coleman
a01c09a61a Merge pull request #4518 from brendandburns/master
Fix rolling update if namespace is empty.
2015-02-17 23:49:17 -05:00
Brendan Burns
62c4187e78 Fix rolling update if namespace is empty. 2015-02-17 20:16:49 -08:00
Tim Hockin
876b0c4619 Merge pull request #4484 from jszczepkowski/load-balancer
Update for external load balancer.
2015-02-17 17:04:08 -08:00
Nikhil Jindal
7264ad49f8 Merge pull request #4504 from dchen1107/podstatus
Create docker.Container obj with Name. Integration test is using fake_do...
2015-02-17 16:43:33 -08:00
Nikhil Jindal
a4bc22e263 Merge pull request #4507 from lavalamp/fix4
remove redundant func()
2015-02-17 16:10:51 -08:00
Eric Tune
7990b54803 Merge pull request #4444 from saad-ali/eventsCacheLru
Switch events history to use LRU cache instead of map
2015-02-17 16:05:11 -08:00