Brendan Burns
250b9ccd74
Address comments. Rebase.
2015-01-27 10:23:28 -08:00
Brendan Burns
09166f5252
Add a service generator and a command to easily expose services.
2015-01-27 10:06:08 -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
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
Clayton Coleman
b5bc0c1619
Merge pull request #3700 from smarterclayton/add_run_until_to_reflector
...
Add RunUntil to the Reflector and Poller to allow early termination
2015-01-21 20:00:25 -05:00
Brian Grant
3ae67f8153
Merge pull request #3548 from nikhiljindal/listHandlers
...
Updating handleIndex in master to list all valid paths.
2015-01-21 15:42:50 -08:00
Clayton Coleman
f2d966859d
Add RunUntil to the Reflector and Poller to allow early termination
...
This is useful for test suites where you want to kill your workers
without having to run one test env per execution.
2015-01-21 18:25:54 -05:00
nikhiljindal
51007cc798
Updating handleIndex in master to list all valid paths.
...
The list of valid paths is computed from http.ServeMux and
restful.WebService.
Adding a mux helper - wrapper over mux, that keeps track of the paths
handled by mux.
2015-01-21 13:40:01 -08:00
Tim Hockin
30219f8dfa
Merge pull request #3664 from thockin/pull-if
...
Pull if
2015-01-21 13:05:28 -08:00
Tim Hockin
7dd0400065
Merge pull request #3470 from deads2k/deads-add-kubecfg-ns
...
respect namespace from .kubeconfig file
2015-01-21 12:58:06 -08:00
Tim Hockin
c729f345f0
Merge pull request #3660 from dchen1107/image
...
Using switch in validatePullPolicyWithDefault
2015-01-21 12:54:12 -08:00
Tim Hockin
81343aac63
Change PullPolicy constants to match
2015-01-21 12:48:56 -08:00
Dawn Chen
d2ebbcaf90
Merge pull request #3661 from thockin/volume-source-as-non-pointer
...
Make VolumeSource not be a pointer
2015-01-21 12:39:49 -08:00
Clayton Coleman
3c15427b2d
Merge pull request #3647 from deads2k/deads-make-factory-flag-binding-optional
...
make kubectl factory flag binding optional
2015-01-21 15:23:37 -05:00
Brian Grant
54ad81759a
Merge pull request #3677 from filbranden/flag_shorthand_refactor1
...
Flag shorthand refactor1
2015-01-21 10:41:26 -08:00
Tim Hockin
1c31aa489f
Merge pull request #3674 from liggitt/override_default_cluster
...
Allow overriding global default cluster host
2015-01-21 10:08:46 -08:00
Filipe Brandenburger
b2aabc540e
Fix kubectl version to match client and server version output
...
Before this fix, the server version was printed from a pointer, making
the Go formatter prefix it with a &.
Before this patch:
$ kubectl version
Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
Server Version: &version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
After this patch:
$ kubectl version
Client Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836-dirty", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"dirty"}
Server Version: version.Info{Major:"0", Minor:"8+", GitVersion:"v0.8.0-509-g8537a73264b836", GitCommit:"8537a73264b836226cfca745ed37d65916e3b16f", GitTreeState:"clean"}
2015-01-21 08:44:53 -08:00
Filipe Brandenburger
0bfeeb84ca
Make short flags optional, refactor code to use StringVarP directly.
...
There is no need to check for an empty string and call StringVar or
StringVarP depending on the case, since StringVar is essentially the
same as a call to StringVarP with an empty string.
This turns 6 lines of code back into 1.
Remove the TODO comments since removing the short flags will no longer
simplify this code significantly.
2015-01-21 07:58:02 -08:00
Filipe Brandenburger
af76d14e2e
Revert "fixup repeated usage strings"
...
This reverts commit 469bd2b641
.
2015-01-21 07:56:24 -08:00
Jordan Liggitt
f71521d758
Allow overriding global default cluster host
2015-01-21 10:38:58 -05:00