Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
Eric Tune
d5f303d3d7
Fixed and added tests
2016-02-19 09:20:56 -08:00
Eric Tune
98a801a37b
Created batch API group and copied Job there
...
Modeled after on first commit (2fbc5bb
) of piosz:hpa-ga (#20501 ).
2016-02-19 09:20:56 -08:00
Fabiano Franz
97d106e5ab
Use correct home directory on Windows
2016-02-19 01:41:42 -02:00
k8s-merge-robot
f1cbaed60f
Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
...
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
Wojciech Tyczynski
ba28dd9561
Long requests throttled for long time
2016-02-18 21:48:29 +01:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
deads2k
8c326993d5
only load kubeconfig files one time
2016-02-17 12:55:28 -05:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
d2f11521cb
Implemented Autoscaling client
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
2fbc5bb767
Created autoscaling API group and copied HPA there
2016-02-15 21:39:00 +01:00
k8s-merge-robot
e62cf38fa9
Merge pull request #21104 from krousey/throttle_client
...
Auto commit by PR queue bot
2016-02-15 00:44:14 -08:00
Kris
8396df57e6
Never rate limit watches
2016-02-11 13:50:05 -08:00
Jordan Liggitt
20216fa607
Provide current namespace to InClusterConfig
2016-02-11 15:51:31 -05:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
k8s-merge-robot
7b5136ee73
Merge pull request #20623 from magicwang-cn/20136
...
Auto commit by PR queue bot
2016-02-09 01:11:28 -08:00
k8s-merge-robot
8fcc105d6d
Merge pull request #20444 from ncdc/flake/19466
...
Auto commit by PR queue bot
2016-02-08 20:46:03 -08:00
Andy Goldstein
a45247ad2a
Fix exec/attach test flakes
...
Ensure that stream reply frames are enqueued prior to any goaway frames.
2016-02-08 21:33:23 -05:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
k8s-merge-robot
9de1b9b8c2
Merge pull request #20388 from mqliang/event-version
...
Auto commit by PR queue bot
2016-02-06 03:37:34 -08:00
Daniel Smith
8f3eb93626
Merge pull request #20072 from smarterclayton/higher_debug
...
Move the loader file log level to v(6)
2016-02-05 16:03:07 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
Chao Xu
0d772a7a52
To be compatible with release 1.1, decode Status even if the APIVersion is not set.
2016-02-04 16:12:17 -08:00
Dr. Stefan Schimanski
98b11e82d5
Add explicit test case for old mergo.Merge behavior
2016-02-04 08:16:32 +01:00
magicwang-cn
2d701e8ac8
bug fix in unversion request
2016-02-04 11:07:00 +08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
k8s-merge-robot
5914deeac8
Merge pull request #19380 from brendandburns/apiresource
...
Auto commit by PR queue bot
2016-02-03 00:49:47 -08:00
k8s-merge-robot
32ab64ce5b
Merge pull request #19778 from resouer/runtime
...
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot
ba13454430
Merge pull request #19855 from mitake/remove-v
...
Auto commit by PR queue bot
2016-02-01 17:18:42 -08:00
k8s-merge-robot
2746b5e43d
Merge pull request #20320 from caesarxuchao/add-discovery
...
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
k8s-merge-robot
dff7490c57
Merge pull request #20312 from caesarxuchao/replace-many-controllers
...
Auto commit by PR queue bot
2016-01-31 18:42:26 -08:00
k8s-merge-robot
9d9864486b
Merge pull request #19342 from caesarxuchao/remove-resourceversion-check
...
Auto commit by PR queue bot
2016-01-31 18:11:47 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
mqliang
1c9b12fe72
make eventType versioned correctly
2016-01-31 21:14:08 +08:00
k8s-merge-robot
f915ca55d0
Merge pull request #20095 from liggitt/load_tls_files
...
Auto commit by PR queue bot
2016-01-30 20:25:33 -08:00
Janet Kuo
3396db9510
Add rollback subresource; add rollback logic to deployment controller
2016-01-30 16:00:34 -08:00
Clayton Coleman
8692d260f8
Use Parameter codec in request.VersionedParams()
2016-01-30 14:14:20 -05:00
Chao Xu
dd357ed86a
include DiscoveryClient in the generated clientset
2016-01-29 11:03:03 -08:00
Fabio Yeon
e827c1cba3
Merge pull request #19746 from madhusudancs/replicaset-client
...
Implement ReplicaSet client.
2016-01-29 07:26:23 -08:00
Madhusudan.C.S
73fb6dca62
DaemonSetSpec.Template should not be a pointer.
...
Pod template for DaemonSets isn't optional, like Deployments and Jobs,
so the DaemonSetSpec.Template field should not be a pointer.
2016-01-28 22:51:58 -08:00
Madhusudan.C.S
c25a0ce00d
Implement ReplicaSets client.
2016-01-28 22:36:22 -08:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Jordan Liggitt
669be92ca5
Restore LoadTLSFiles to client.Config
2016-01-25 12:48:35 -05:00
k8s-merge-robot
d7d601b2fc
Merge pull request #18876 from erictune/dynamic-job
...
Auto commit by PR queue bot
2016-01-25 08:06:22 -08:00
k8s-merge-robot
d3b869ae14
Merge pull request #17922 from smarterclayton/split_codec
...
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Clayton Coleman
a2f68e2591
Move the loader file log level to v(6)
...
It's extremely rare that a user *must* have this, and we typically test
and verify at V(5) to get debugging info, which clogs up e2e output.
2016-01-24 19:08:20 -05:00
Eric Tune
53ee76fe1a
Support Work Queue jobs with variable parallelism
...
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.
Added tests.
Release Note:
This causes two minor changes to the API.
First, unset parallelism previously was defaulted to be
equal to completions. Now it always defaults to 1 if unset.
Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
Zach Loafman
62726c4ab8
Revert "kubectl: Make scaling smarter"
2016-01-22 14:52:38 -08:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Clayton Coleman
efe88e0818
Update client library to react to changes in Decoding
2016-01-22 13:27:24 -05:00
Zach Loafman
68771fe26a
Merge pull request #18169 from kargakis/smarter-scaling
...
kubectl: Make scaling smarter
2016-01-22 10:24:51 -08:00
Zach Loafman
f3a638de31
Merge pull request #16067 from smarterclayton/backoff_conflict
...
Provide a RetryOnConflict helper for client libraries
2016-01-22 10:23:19 -08:00
Chao Xu
a248d1117b
remove ResourceVersion validation in client
2016-01-22 10:14:39 -08:00
Clayton Coleman
24a7919002
Update clientcmd.Config to use new Decode methods
2016-01-22 01:10:23 -05:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
k8s-merge-robot
dda29bedd8
Merge pull request #18722 from deads2k/add-sar
...
Auto commit by PR queue bot
2016-01-21 07:06:05 -08:00
k8s-merge-robot
03ecde1277
Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
...
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Clayton Coleman
4342fccc0d
Provide a RetryOnConflict helper for client libraries
...
Used like:
var pod *api.Pod
err := client.RetryOnConflict(client.DefaultBackoff, func() (err error) {
pod, err = c.Pods("mynamespace").UpdateStatus(update)
return
})
// err may be conflict
2016-01-20 22:58:16 -05:00
deads2k
14396fc464
add subject access review types
2016-01-20 08:24:15 -05:00
Hitoshi Mitake
a33f459c39
clientcmd: remove needless format specifier in a log
...
Current BuildConfigFromFlags() seems to print a log like below when
config path isn't specified:
```
W0120 15:30:06.196820 13323 client_config.go:359] error creating
inClusterConfig, falling back to default config: %vunable to load
in-cluster configuration, KUBERNETES_SERVICE_HOST and
KUBERNETES_SERVICE_PORT must be defined
```
This commit removes the needless "%v"
2016-01-20 15:36:52 +09:00
James DeFelice
75f487f7bf
AbsPath should be compatible with proxy-prefixes:
...
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
k8s-merge-robot
a5e79a9f47
Merge pull request #19536 from bprashanth/daemon_replace
...
Auto commit by PR queue bot
2016-01-17 04:22:56 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
k8s-merge-robot
36dc6eab34
Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
...
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
k8s-merge-robot
e7f29514ab
Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
...
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
Chao Xu
6a104ee46c
move SwaggerSchema to DiscoveryClient
2016-01-13 10:11:53 -08:00
Chao Xu
144b5acd08
move ServerVersion to DiscoveryClient
2016-01-13 10:11:52 -08:00
Prashanth Balasubramanian
4f8b744b19
Rename daemon->resource in thirdparty client
2016-01-12 08:18:25 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Brendan Burns
79533385cf
Add kind to APIResource
2016-01-07 22:27:34 -08:00
Daniel Martí
91fbff99dc
Properly close test http servers in unversioned
...
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:
client_test.go:522: expected an error, got Get http://127.0.0.1:46070/api : dial tcp 127.0.0.1:46070: socket: too many open files
Steps to reproduce (no longer fails):
godep go test -short -run '^$' -o test .
./test -test.run '^TestGetSwaggerSchema' -test.count 100
Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-08 00:10:54 +01:00
Chao Xu
f0ddc2d969
Stop using NamespaceIfScoped in events.go
2016-01-06 15:13:07 -08:00
Daniel Martí
5505706891
Properly close tmp files in unversioned
...
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:
2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:39768: accept4: too many open files; retrying in 5ms
2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 5ms
2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 10ms
2015/12/05 12:43:56 http: Accept error: accept tcp 127.0.0.1:46606: accept4: too many open files; retrying in 20ms
Steps to reproduce (no longer fails):
godep go test -short -run '^$' -o test .
./test -test.run '^TestDoRequestNewWayFile$' -test.count 100
Note that this might not fail if your `ulimit -n` is not low enough.
2016-01-06 12:55:42 +01:00
k8s-merge-robot
500493a3ac
Merge pull request #18925 from caesarxuchao/refactor-registration
...
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
k8s-merge-robot
be235e8754
Merge pull request #18940 from smarterclayton/nil_body
...
Auto commit by PR queue bot
2015-12-23 18:02:03 -08:00
Mike Danese
da8b85e5c7
Merge pull request #18858 from jayunit100/overlogging-rclient
...
Minimize log level for request backoffs
2015-12-22 14:08:06 -08:00
Clayton Coleman
6d4612c8d2
Remove redundant / complex client code
2015-12-22 14:29:15 -05:00
jay vyas
4891d827ac
Delete extra logs, especially to prevent kubelet which makes many clients, from overlogging.
2015-12-22 10:38:24 -05:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
Michail Kargakis
e894dcc8ff
kubectl: Make scaling smarter
...
Skip updating resources that already meet the desired replica count.
This change has an impact in both kubectl scale and kubectl delete in
that reapable resources that already have the desired replicas (number
provided via --replicas for scale, or zero for delete) won't be updated
again and a "already scaled" message will be printed (in case of scale).
2015-12-21 10:07:21 +01:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
k8s-merge-robot
c02598aea2
Merge pull request #18551 from caesarxuchao/remove-serverapiversions
...
Auto commit by PR queue bot
2015-12-17 05:28:03 -08:00
k8s-merge-robot
0f144fd351
Merge pull request #18529 from timstclair/server
...
Auto commit by PR queue bot
2015-12-17 04:27:11 -08:00
Chao Xu
f2edba3bec
remove ServerAPIVersions from client
...
hard-code the groupVersion in SetKubernetesDefaults
2015-12-16 16:24:55 -08:00
Tamer Tas
c798a6ef01
ConfigMap resource and its REST implementation
2015-12-16 11:19:26 -05:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
k8s-merge-robot
e309583ff1
Merge pull request #18473 from smarterclayton/change_runtime_object
...
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
Tim St. Clair
89bc7992f9
Refactor kubelet server into its own package
...
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
k8s-merge-robot
3680268c52
Merge pull request #18353 from deads2k/gv-use-constants
...
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
abeda72863
Merge pull request #18231 from caesarxuchao/client-gen-test
...
Auto commit by PR queue bot
2015-12-15 02:19:16 -08:00
k8s-merge-robot
b3ccad2341
Merge pull request #18680 from caesarxuchao/clean-client
...
Auto commit by PR queue bot
2015-12-15 01:21:32 -08:00
k8s-merge-robot
414ebd2ddb
Merge pull request #17991 from krousey/errorstatus
...
Auto commit by PR queue bot
2015-12-14 20:18:19 -08:00
k8s-merge-robot
29e8b6123f
Merge pull request #17529 from jayunit100/hammer-backoff-expo-part2
...
Auto commit by PR queue bot
2015-12-14 19:48:40 -08:00
Chao Xu
f565646ea5
remove dead code in client
2015-12-14 13:34:07 -08:00
Chao Xu
05e3cb8bfb
adding a mock.testType to test the generated client code
2015-12-14 11:24:44 -08:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Filip Grzadkowski
4ef062c22f
Merge pull request #18476 from caesarxuchao/fix-query-convert
...
Fix queryparams convert
2015-12-14 13:22:27 +01:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
Chao Xu
367872a63a
add label test to deployment client
2015-12-13 13:56:01 -08:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot
47d2f41680
Merge pull request #18370 from deads2k/gv-interfacesfor
...
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
k8s-merge-robot
583b733a1e
Merge pull request #18309 from brendandburns/3rdparty2
...
Auto commit by PR queue bot
2015-12-12 01:23:06 -08:00
Jeff Lowdermilk
f6686ba3a4
Merge pull request #18290 from wojtek-t/fast_namespace_deletion
...
Support collection deletion in apiserver.
2015-12-11 13:34:56 -08:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -05:00
Brendan Burns
cee738871e
Add a client implementation for third party resources
2015-12-10 15:43:05 -08:00
Kris
ca7c765f0a
Remove APIStatus from the client
...
Everything that used it also depended on pkg/api/errors. It was a
needless abstraction since it was always an *errors.StatusError.
2015-12-10 13:12:21 -08:00
Wojciech Tyczynski
f28bb68d8c
Support collection deletion in apiserver.
2015-12-10 09:46:25 +01:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
Chao Xu
6f0eb521a6
Move pkg/client/unvrsioned#testClient to pkg/client/unversioned/testclient#simple
2015-12-09 10:39:28 -08:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
k8s-merge-robot
85789f319f
Merge pull request #18103 from deads2k/gv-remove-groupmetaVersion
...
Auto commit by PR queue bot
2015-12-08 23:31:52 -08:00
Jay Vyas
76e6281168
Exponential backoff for request client, rebased. Updated license to
...
2015, cleaned more //[a-z] comments. Added in support for Environment
variable gaurds over the backcoff w/ default NoBackoff. Rebased.
2015-12-07 20:19:51 -05:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
k8s-merge-robot
ec1ba7438f
Merge pull request #17796 from deads2k/gv-object-typer
...
Auto commit by PR queue bot
2015-12-07 12:34:55 -08:00
deads2k
66eecb963a
update more kubectl bits for groupversion
2015-12-07 09:01:44 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
k8s-merge-robot
c6b59353e1
Merge pull request #18022 from deads2k/gv-request
...
Auto commit by PR queue bot
2015-12-05 22:38:40 -08:00
k8s-merge-robot
ab35fff6f0
Merge pull request #18234 from krousey/clienttest
...
Auto commit by PR queue bot
2015-12-05 07:36:34 -08:00
Kris
e2583e294d
Cleaning up test organization for impending move
...
I'm moving/deleting some tests to make an upcoming RESTClient refactor
PR cleaner.
- TestDoRequestBearer is redundant to
pkg/client/transport.TestBearerAuthRoundTripper
- Added a case to pkg/client/transport.TestBasicAuthRoundTripper to
cover what TestDoRequestWithoutPassword was testing
- Moved TestSetsCodec, TestRESTClientRequires,
TestValidateHostParameter to helper_test.go since they were really
testing helper functions and not the RESTClient directly.
- Modified TestValidateHostParameter during the moved to just use
DefaultServerURL instead of creating a client.
2015-12-04 14:21:06 -08:00
k8s-merge-robot
c5924d20a5
Merge pull request #17817 from mqliang/eventtype
...
Auto commit by PR queue bot
2015-12-03 05:55:46 -08:00
deads2k
0fd17b7b2e
update client.Request for GroupVersion
2015-12-03 08:16:41 -05:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
k8s-merge-robot
51e7042295
Merge pull request #16590 from ncdc/create-all-streams-before-copying
...
Auto commit by PR queue bot
2015-12-02 16:51:49 -08:00
Andy Goldstein
e30b8a36d2
Create all streams before copying in exec/attach
...
Create error, stdin, stdout, stderr streams first, and only start
copying once all the streams have been created. This fixes an issue
where the client immediately starts sending data for stdin before all
the other streams have been created. This ends up blocking the spdy
connection frame handler and causes the entire exec/attach session to
time out.
2015-12-02 17:16:33 -05:00
deads2k
675d8a235e
remove Versions from GroupMeta
2015-12-02 16:16:36 -05:00
k8s-merge-robot
8a8639d7af
Merge pull request #17863 from wojtek-t/only_list_options_in_watch
...
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
k8s-merge-robot
689586c6ae
Merge pull request #16153 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
gmarek
459131fd92
Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2.
2015-12-02 13:38:17 +01:00
mqliang
9ff765978a
add filedselector for Event
2015-12-01 23:02:48 +08:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
Wojciech Tyczynski
d2dfc912e6
Simplify Watch() signature in clients.
2015-12-01 14:19:26 +01:00
k8s-merge-robot
a836b1e261
Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
...
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
k8s-merge-robot
940c7fbbd5
Merge pull request #17823 from wojtek-t/use_versioned_params
...
Auto commit by PR queue bot
2015-12-01 03:21:44 -08:00
k8s-merge-robot
329567ecb4
Merge pull request #17739 from ncdc/fix-port-forward-test-flake
...
Auto commit by PR queue bot
2015-12-01 02:48:37 -08:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
Wojciech Tyczynski
4e7fd55922
Handle selectors correctly in VersionedParams().
2015-11-30 20:56:16 +01:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
k8s-merge-robot
140df5f809
Merge pull request #17220 from kargakis/kubectl-scale-deployments
...
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
k8s-merge-robot
c1af9dcb7f
Merge pull request #17885 from hongchaodeng/register
...
Auto commit by PR queue bot
2015-11-29 02:24:47 -08:00
Hongchao Deng
0521481655
client request metrics should be registered only once
2015-11-27 10:10:08 -08:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
deads2k
e0b7f52633
hack up queryToObject to continue to work as it used to
2015-11-25 12:14:06 -05:00
k8s-merge-robot
3bd23b185b
Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
...
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
Michail Kargakis
99fc35880b
kubectl: Support scaling deployments
...
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
k8s-merge-robot
d42030170b
Merge pull request #15999 from aveshagarwal/master-issue-15624
...
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
Andy Goldstein
2fae847120
Fix TestPortForward flake
...
TestPortForward was failing occasionally due to the way the test was
written. It created a port forwarding session, then connected a client
to the local port, attempted to send some data, attempted to receive
some data, and then tore down the port forwarding session.
Unfortunately, some times the attempt to send data from the client to
the remote would be enqueued but not processed by the time the test tore
down everything. As a result, the data stream could get closed before
the client's data was transmitted to the server. If this happened, you'd
see an error such as 'forward 2 ports with bidirectional data: server
expected to receive "ghij", got "" for port 6000'.
This fixes the test by serializing the data flow: the client writes to
the remote, the remote waits to receive that data, the remote writes to
the client, and the client waits to receive the data from the remote.
This all takes place prior to the test tearing down port forwarding.
2015-11-24 15:38:11 -05:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
k8s-merge-robot
4fd6b6df06
Merge pull request #17316 from deads2k/gv-ClientForVersion
...
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Avesh Agarwal
001437a72f
This commit fixes tests.
2015-11-24 09:16:12 -05:00
hurf
1270764eb9
Fix description errro for client-certificate option
...
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
k8s-merge-robot
06ef4b0a83
Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
...
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
k8s-merge-robot
203f119579
Merge pull request #17517 from krousey/request_tests
...
Auto commit by PR queue bot
2015-11-20 17:07:48 -08:00
Kris
7f6d2e8305
Cleaning up client request unit tests
...
1. Closing test servers that we open.
2. Remove dependency on Config and just call NewRESTClient directly
3. Remove auth tests as they are redundant to the tests in transport_test.go
2015-11-20 08:52:34 -08:00
k8s-merge-robot
f0b07c9c68
Merge pull request #16126 from krousey/client_breakup
...
Auto commit by PR queue bot
2015-11-20 01:47:22 -08:00
feihujiang
ad79fa6e84
Move list functions from runtime to meta package
2015-11-20 09:20:55 +08:00
Kris
9b75b88d4e
Move client's tranport to a separate package
2015-11-19 14:55:47 -08:00
k8s-merge-robot
6383a3bc75
Merge pull request #17396 from krousey/podtest
...
Auto commit by PR queue bot
2015-11-19 08:54:31 -08:00
k8s-merge-robot
7536e776f3
Merge pull request #16931 from mikedanese/inclustercomponent
...
Auto commit by PR queue bot
2015-11-18 22:52:27 -08:00
Kris
4115738558
Change PodLogs test to use testClient validate
...
And also switch the 200s to http.StatusOK while I'm here.
2015-11-17 14:54:09 -08:00
Mike Danese
fb056c47b2
use inClusterConfig before using default config for cluster components
2015-11-17 10:37:40 -08:00
k8s-merge-robot
23d9d54b5f
Merge pull request #17239 from fabianofranz/config_filename_debug
...
Auto commit by PR queue bot
2015-11-17 05:04:32 -08:00
k8s-merge-robot
849280f18d
Merge pull request #16926 from liggitt/metrics_https
...
Auto commit by PR queue bot
2015-11-17 04:05:27 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
Jordan Liggitt
165d7d5030
Enable specifying scheme/port for metrics client
2015-11-16 13:18:40 -05:00
Paul Morie
1cb58baf2f
Refactor map field handling for clientcmd.LoadFromFile
2015-11-14 09:44:31 -05:00
Fabiano Franz
cb3bfbc757
Debug filename in config loader
2015-11-13 16:17:59 -05:00
k8s-merge-robot
927f30b0a5
Merge pull request #17074 from krousey/timeout
...
Auto commit by PR queue bot
2015-11-12 11:20:34 -08:00
k8s-merge-robot
b61a8fbb8a
Merge pull request #16271 from jayunit100/hammer-backoff-metrics-part1
...
Auto commit by PR queue bot
2015-11-12 00:55:37 -08:00
Kris
eacf65ddce
Renaming HTTPClientFunc to CreateHTTPClient
2015-11-11 11:54:58 -08:00
Kris
4a4d195419
Exposing http.Client for configurable timeouts
2015-11-10 13:40:51 -08:00
Wojciech Tyczynski
d80e0e837c
Merge pull request #10707 from kargakis/logs-with-resource-builder
...
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot
cf25625d46
Merge pull request #16929 from krousey/basic_auth_cleanup
...
Auto commit by PR queue bot
2015-11-07 09:58:27 -08:00
k8s-merge-robot
b8303a3983
Merge pull request #16859 from smarterclayton/allow_incluster_config
...
Auto commit by PR queue bot
2015-11-07 04:47:35 -08:00
k8s-merge-robot
9981f99949
Merge pull request #16849 from feihujiang/cleanupDeprecatedV1beta1Content
...
Auto commit by PR queue bot
2015-11-07 04:15:32 -08:00
k8s-merge-robot
354c6f3b12
Merge pull request #16834 from caesarxuchao/GroupVersion-Object
...
Auto commit by PR queue bot
2015-11-07 03:43:30 -08:00
k8s-merge-robot
d71a667aab
Merge pull request #16821 from caesarxuchao/restclient-timeout
...
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
Kris
0a4ee958c7
Use http's basic auth instead of manual encoding
2015-11-06 10:19:01 -08:00
k8s-merge-robot
c7d5f3cdca
Merge pull request #16881 from krousey/client_path
...
Auto commit by PR queue bot
2015-11-06 01:11:21 -08:00
feihujiang
eac8d6a997
Cleanup the content of deprecated V1beta1
2015-11-06 13:42:51 +08:00
k8s-merge-robot
6b7115067d
Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
...
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00