Brendan Burns
99b9785881
Merge pull request #3836 from mfojtik/extract_list_ptr
...
Ensure the ptr is pointing to reflect.Slice in ExtractList
2015-01-27 10:00:33 -08:00
Brendan Burns
7e558a7535
Merge pull request #3813 from mattmoor/master
...
Fix for issue 3797.
2015-01-27 09:56:49 -08:00
Tim Hockin
f547960753
Merge pull request #3825 from mikedanese/goimports-fix
...
fixed goimports nits
2015-01-27 09:34:50 -08:00
Dawn Chen
10845b5743
Merge pull request #3821 from brendandburns/pod
...
Clear pod cache on delete.
2015-01-27 09:33:24 -08:00
Mrunal Patel
b6a0ff1003
IP: Shared IPC.
2015-01-27 09:26:36 -08:00
Michal Fojtik
ae3f10a397
Ensure the ptr is pointing to reflect.Slice in ExtractList
2015-01-27 18:02:37 +01:00
Deyuan Deng
d30da9a812
List objects in deterministic order
2015-01-27 09:29:40 -05:00
Mike Danese
d77743a07c
gimports nits
2015-01-26 22:42:29 -08:00
Tim Hockin
60eba74c14
Merge pull request #3827 from brendandburns/sanity
...
Fix unit tests @ main on OS X
2015-01-26 22:30:09 -08:00
Brendan Burns
e5c38a825b
Fix unit tests @ main.
2015-01-26 22:12:24 -08:00
Brendan Burns
95247b31ff
Merge pull request #3807 from brendandburns/validation
...
Fix a bug in validation that was leftover from the previous way of externalizing services.
2015-01-26 21:15:05 -08:00
Brendan Burns
33ee41090e
Add NodeSelector to the PodTemplate in v1beta1 and v1beta2
2015-01-26 20:30:48 -08:00
Clayton Coleman
19987612bf
Replace code that eats errors with a more consistent reporting
...
In order to allow certain programmer error / unexpected error states
to be captured, replace sections that log and eat errors with a method
that can be centrally replaced. This captures two common error sources,
replication errors, and apiserver code that returns invalid errors.
2015-01-26 20:54:29 -05:00
Brendan Burns
f124842505
Clear pod cache on delete.
2015-01-26 17:26:43 -08:00
Clayton Coleman
04b864a91f
Allow panics and unhandled errors to be reported to external targets
...
It would be better if Kubernetes could be instrumented to report panics
and handled but unreturned errors in controller loops to a remote
service. This commit introduces settable handlers for HandleCrash and a new
HandleError that can be overriden to report errors to a remote service
for analysis. HandleError() in particular is for control loops that do
not return an error, and so there is no ability to report those errors
other than in log files.
ReplicationController is provided as an example.
2015-01-26 20:23:46 -05:00
nikhiljindal
54e5d1f102
Fixing a bug where Reads() was called twice on all POST routes
2015-01-26 17:21:25 -08:00
Dawn Chen
c65f83f424
Merge pull request #3795 from ddysher/pod-cache-semantic
...
fix pod-cache with node semantic change
2015-01-26 16:04:48 -08:00
Matt Moore
2d396797a9
Fix for issue 3797.
...
Docker's logic for resolving credentials from .dockercfg accepts two kinds of matches:
1. an exact match between the dockercfg entry and the image prefix
2. a hostname match between the dockercfg entry and the image prefix
This change implements the latter, which permits the docker client to take .dockercfg entries of the form:
https://quay.io/v1/
and use them for images of the form:
quay.io/foo/bar
even though they are not a prefix-match.
2015-01-26 14:06:12 -08:00
Brendan Burns
99583fc8c5
Fix a bug in validation that was leftover from the previous way of externalizing services.
2015-01-26 13:19:27 -08:00
Jeff Lowdermilk
6ba8b7dfb2
Merge pull request #3768 from deads2k/deads-make-kubectl-config-easier-alt
...
make kubectl config set-cluster easier to use
2015-01-26 13:13:26 -08:00
Clayton Coleman
6410f37a32
Merge pull request #3591 from ddysher/node-client-update
...
Add node update method to client interface
2015-01-26 15:47:18 -05:00
deads2k
05bc508a13
make all kubectl config set-* easier to use
2015-01-26 15:16:54 -05:00
markturansky
131ce993c4
Added validation for annotations
2015-01-26 09:32:09 -05:00
Deyuan Deng
881be6c952
fix pod-cache with node semantic change
2015-01-25 16:59:00 -05:00
Tim Hockin
5d73fa40aa
Merge pull request #3588 from vishh/api_resources
...
Adding a 'Typename' strongtype for representing all resource types
2015-01-23 15:07:27 -08:00
Vishnu Kannan
c32295a180
Adding a 'Typename' strongtype for representing all compute resource types.
2015-01-23 22:17:56 +00:00
Clayton Coleman
b21500eaa2
Merge pull request #3753 from mfojtik/fix_extractlist
...
Fix ExtractList to support extraction from generic api.List{}
2015-01-23 16:56:53 -05:00
Deyuan Deng
e71227388e
add node update method to client interface
2015-01-23 16:40:33 -05:00
Michal Fojtik
e7df8aa098
Fix ExtractList to support extraction from generic api.List{}
2015-01-23 22:13:37 +01:00
Tim Hockin
c292aa54c4
Merge pull request #3738 from smreed/randomize-roundrobin-endpoints
...
Randomize roundrobin endpoints
2015-01-23 12:33:17 -08:00
Filipe Brandenburger
4c413e794e
Merge pull request #3704 from satnam6502/retry
...
Add a Retry-After header when rate limit is exceeded
2015-01-23 10:20:52 -08:00
Steve Reed
a186b47cd3
Adds test for slice.ShuffleStrings
2015-01-23 09:30:09 -08:00
Filipe Brandenburger
a5898a9559
Keep boolean status of imported flags
...
This makes glog flags such as --logtostderr and --alsologtostderr keep
working without requiring an explicit =true.
Tested by building kubelet and invoking it with --logtostderr. Also
tested a few non-boolean flags to ensure they weren't affected.
2015-01-22 16:32:12 -08:00
Satnam Singh
8350bb9700
Add a Retry-After header when rate limit is exceeded
2015-01-22 16:03:00 -08:00
Dawn Chen
0962b86ce3
Remove useless and duplicate call.
2015-01-22 15:00:21 -08:00
Dawn Chen
6db42eda4e
Merge pull request #3701 from thockin/fix-klet-manifest-reading
...
Make kubelet's file source go through conversion
2015-01-22 14:40:40 -08:00
Steve Reed
ab1ede3aaa
Sets year in copyright to 2015
2015-01-22 14:24:07 -08:00
Steve Reed
f7e3cb12a6
Moves string slice sorting, copying and shuffling into pkg/util/slice
2015-01-22 14:20:23 -08:00
Steve Reed
38241c7e80
Copies endpoint slices before any sorting
2015-01-22 14:20:18 -08:00
Steve Reed
79a6bfb95f
Fixes #3640 by shuffling endpoints in the round-robin load balancer
2015-01-22 14:19:56 -08:00
Tim Hockin
d63162b7e7
Make kubelet's HTTP source go through conversion
2015-01-22 14:09:37 -08:00
Tim Hockin
124915417c
Merge pull request #3723 from jlowdermilk/kubectl-stop
...
Add a kubectl stop command
2015-01-22 13:42:52 -08:00
Tim Hockin
4ff2865cd1
Make kubelet's file source go through conversion
...
See comments for details. Same problem exists in HTTP source, but I want to
float this for review first.
2015-01-22 13:10:59 -08:00
Tim Hockin
ffb2b62726
Merge pull request #3725 from dchen1107/cleanup
...
Generate pod.Name when pod.Name == "" for both HTTP and file sources.
2015-01-22 13:10:27 -08:00
Tim Hockin
bb9a37dc84
Merge pull request #3729 from smarterclayton/print_less_output
...
Endpoints controller can print sensitive pod info when errors occur
2015-01-22 12:55:40 -08:00
Dawn Chen
ec77507915
Generate pod.Name when pod.Name == "" for both HTTP and file sources.
...
Fix #3584
2015-01-22 12:53:30 -08:00
Clayton Coleman
7932bda3b3
Endpoints controller can print sensitive pod info when errors occur
...
In general, start to tone down the amount of log output.
2015-01-22 15:23:41 -05:00
Jeff Lowdermilk
201e99e0ee
Add a kubectl stop command
2015-01-22 09:46:53 -08:00
Filipe Brandenburger
b1727b0330
Revert "Add a kubectl stop command"
2015-01-22 09:00:50 -08:00
Brian Grant
a921086507
Merge pull request #3662 from jlowdermilk/kubectl-stop
...
Add a kubectl stop command
2015-01-22 06:58:29 -08:00