Chao Xu
7722a50647
generate client for replicaset
2016-01-31 15:42:03 -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
Chao Xu
55f039fd53
add an adapter for EventSink
2016-01-31 11:36:36 -08:00
Chao Xu
e2d02abb83
fix fixture for #17922
2016-01-31 11:36:36 -08:00
Chao Xu
c1b4d28a03
add an adaption function to adapt old client
2016-01-31 11:36:36 -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
k8s-merge-robot
4ed43968e0
Merge pull request #19581 from janetkuo/deployment-version
...
Auto commit by PR queue bot
2016-01-30 13:34:59 -08:00
Janet Kuo
42f712467e
Use ListOptions when listing RCs in deployment
2016-01-30 12:04:35 -08:00
Clayton Coleman
8692d260f8
Use Parameter codec in request.VersionedParams()
2016-01-30 14:14:20 -05:00
Alex Robinson
9c099bf529
Merge pull request #20271 from liggitt/event_panic
...
Handle panic in async event reporting
2016-01-30 10:49:38 -08:00
k8s-merge-robot
783d1d00d7
Merge pull request #20139 from janetkuo/rcList-namespace
...
Auto commit by PR queue bot
2016-01-30 09:42:35 -08:00
k8s-merge-robot
0069c901d9
Merge pull request #20341 from caesarxuchao/ingress-plural
...
Auto commit by PR queue bot
2016-01-29 15:11:16 -08:00
Chao Xu
8531ef4979
change ingress and componentstatus plural form
2016-01-29 11:21:04 -08: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
Jordan Liggitt
4ba6a2541b
Handle panic in async event reporting
2016-01-28 11:47:16 -05:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Chao Xu
c7ca0821da
Add service_expansion.go
2016-01-26 17:09:11 -08:00
k8s-merge-robot
67939eb933
Merge pull request #19958 from caesarxuchao/fix-resource-case
...
Auto commit by PR queue bot
2016-01-26 16:46:41 -08: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
Janet Kuo
14f4f1b065
Make listing deployment rcStore namespaced
2016-01-25 19:13:17 -08: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
3262d8efd8
GENERATED: all
2016-01-22 13:27:28 -05: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
Nikhil Jindal
cd2e0c490e
Merge pull request #19674 from nikhiljindal/latestAndRegistered
...
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Alex Mohr
69b28ce7e5
Merge pull request #19892 from krousey/rtwrap
...
Add WrappedRoundTripper methods to round trippers
2016-01-21 16:04:51 -08:00
Chao Xu
0734248e42
Use lowercase names in individual typed clients
2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be
Ingress's plural
2016-01-21 15:01:47 -08:00
Alex Mohr
ba6c939b3e
Merge pull request #19887 from liggitt/export_transports
...
Export transport constructors
2016-01-21 14:54:40 -08: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
Chao Xu
ee6f03f55a
Fix UpdateStatus
2016-01-20 21:15:07 -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
Kris
8cc483dc74
Add WrappedRoundTripper methods to round trippers
...
Proxy dialing code relies on this to get to the underlying
http.Transport for custom dialers and TLSConfigs.
2016-01-20 15:39:57 -08:00
liggitt
605979673b
Export transport constructors
2016-01-20 17:30:40 -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
k8s-merge-robot
ecf6038720
Merge pull request #19734 from caesarxuchao/generate-fake-client
...
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Chao Xu
fb81b2278e
client-gen now generates the fake client.
2016-01-19 17:27:17 -08: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
Mike Danese
a885d84cc9
leaderelection: retrofit controller-manager with leaderelection client
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08: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
k8s-merge-robot
4010c214e4
Merge pull request #19752 from hongchaodeng/listandwatch
...
Auto commit by PR queue bot
2016-01-15 23:01:37 -08:00
Hongchao Deng
9a10e95f6e
docs: Reflector ListAndWatch
2016-01-15 18:19:19 -08:00
Mike Danese
936c8cd597
Merge pull request #19685 from resouer/testing
...
Replace fake handler using testing pkg
2016-01-15 17:47:53 -08:00
Chao Xu
9d23d75071
Merge pull request #19499 from caesarxuchao/scale-client-gen
...
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
k8s-merge-robot
ec002e52ab
Merge pull request #19661 from mikedanese/le-config
...
Auto commit by PR queue bot
2016-01-14 22:27:14 -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
Chao Xu
b8be5e1340
generate client for scale, which has only the expansion interface
2016-01-14 12:14:00 -08:00
Mike Danese
daa7040195
move leader election configuration into component configuration
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-14 11:20:09 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -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
5007d7c4a9
Merge pull request #19492 from caesarxuchao/add-manual-methods
...
Auto commit by PR queue bot
2016-01-13 16:53:42 -08:00
k8s-merge-robot
ec78f3d5a9
Merge pull request #19349 from caesarxuchao/generate-updatestatus
...
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu
5addb86f6a
conditionally generate UpdateStatus method
2016-01-13 15:45:21 -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
He Simei
7dacd3fe61
use param indices
2016-01-13 19:23:58 +08:00
Mike Danese
f71657d9a6
retrofit the scheduler with the leader election client.
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
k8s-merge-robot
a47c170377
Merge pull request #19356 from mikedanese/le-2
...
Auto commit by PR queue bot
2016-01-12 21:33:34 -08:00
k8s-merge-robot
6d367480f9
Merge pull request #19267 from caesarxuchao/options-client-gen
...
Auto commit by PR queue bot
2016-01-12 14:23:21 -08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Chao Xu
64083a0576
Generate the clientset
2016-01-12 11:30:04 -08:00
Chao Xu
78b2a823a9
add expansion methods
2016-01-12 11:13:17 -08:00
Chao Xu
2e5da8b881
Merge pull request #19379 from caesarxuchao/manual-methods
...
client-gen: generate an interface which allows user to expand typed client's methods
2016-01-12 11:09:38 -08:00
Mike Danese
441baf07d6
add OnNewLeader callback to leaderelection client
2016-01-12 10:43:59 -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
Chao Xu
a0489e8685
add expansion interface
2016-01-11 10:46:24 -08:00
David Oppenheimer
9856ed8f2a
Merge pull request #19368 from krousey/record_race
...
Fix data race by eliminating concurrency in test
2016-01-09 22:42:24 -08:00
k8s-merge-robot
07d86af385
Merge pull request #18250 from mvdan/unversioned-test-close
...
Auto commit by PR queue bot
2016-01-08 06:06:49 -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
Kris
dd9301ede9
Fix data race by eliminating concurrency in test
...
I broke out the error retry logic into a named function that could be
tested independently of the rest of the event processing framework. This
allows the test to know when the retry logic is done.
The problem with the original test was there was no reliable way to know
when it was done trying record an event. A sentinal event was being
used, but there is no ordering guarantee. I could have added
synchronization around attempts tracking to fix the data race, but the
test case was still fundamentally flawed and would error occasionally.
2016-01-07 13:00:42 -08:00
k8s-merge-robot
13260188d5
Merge pull request #19355 from mikedanese/le-1
...
Auto commit by PR queue bot
2016-01-07 12:24:05 -08:00
Chao Xu
ea0086468c
remove the use of NamespaceIfScoped from generated clients
2016-01-06 16:20:44 -08:00
Mike Danese
592ca23a93
add GetLeader and IsLeader to the leaderelection client
2016-01-06 16:20:41 -08: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
Chao Xu
f51da22bcf
regenerate the typed clients
2016-01-05 16:20:46 -08:00
k8s-merge-robot
267687932f
Merge pull request #17916 from justinsb/multizone_volumes_aws
...
Auto commit by PR queue bot
2016-01-01 18:59:30 -08:00
Wojciech Tyczynski
5abdc2e944
Updage auto-generated files
2016-01-01 11:47:29 +01:00
Justin Santa Barbara
f9a6ac077e
Ubernetes Lite: Volumes can dictate zone scheduling
...
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.
So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels. This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.
Support for tagging GCE PVs will follow.
Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05: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
Wojciech Tyczynski
ebc14e1a2e
Regenerate clients
2015-12-21 11:12:25 +01: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
k8s-merge-robot
9e8233fc3c
Merge pull request #17398 from janetkuo/deployment-controller-informer
...
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
k8s-merge-robot
730a6a1d55
Merge pull request #18685 from caesarxuchao/client-gen-output
...
Auto commit by PR queue bot
2015-12-18 10:55:05 -08:00
Chao Xu
b61c9a4cf3
output of client-gen
2015-12-17 23:42:16 -08:00
Janet Kuo
32d153093e
Fix deployment tests failures; change ResyncPeriod
2015-12-17 19:29:54 -08:00
Sam Ghods
b838d8ce18
Add informers to deployment controller
2015-12-17 19:29:54 -08: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
k8s-merge-robot
5d16372104
Merge pull request #18653 from smarterclayton/cancel_wrapper
...
Auto commit by PR queue bot
2015-12-16 23:23:21 -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
c2af9cac58
Merge pull request #18590 from mikedanese/transit
...
Auto commit by PR queue bot
2015-12-15 04:09:02 -08: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
06df5c97e7
Merge pull request #18499 from wojtek-t/fix_reflector_race
...
Auto commit by PR queue bot
2015-12-15 01:19:06 -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
Clayton Coleman
6824530ae1
Debugging round tripper should wrap CancelRequest
2015-12-14 09:39:06 -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
Wojciech Tyczynski
6a7e8861c2
Fix data-race in reflector test in Go 1.5.1
2015-12-14 09:47:45 +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
Mike Danese
5c1ead8869
add leader transitions to leader election record
2015-12-11 13:51:01 -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
Mike Danese
5e03250577
fix testcase in pkg/client/leaderelection that wasn't testing what it said it was testing
2015-12-11 10:58:46 -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
k8s-merge-robot
dd0d1fb780
Merge pull request #18229 from caesarxuchao/move-testclient
...
Auto commit by PR queue bot
2015-12-10 06:22:22 -08:00
Marcin Wielgus
f6f7725f90
Merge pull request #18340 from wojtek-t/pod_intra_communication_test
...
Set timeout for clients created in e2e tests
2015-12-10 14:54:36 +01: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
Wojciech Tyczynski
f1de51567d
Set timeout for e2e clients
2015-12-09 20:44:25 +01:00
Chao Xu
6f0eb521a6
Move pkg/client/unvrsioned#testClient to pkg/client/unversioned/testclient#simple
2015-12-09 10:39:28 -08:00
Wojciech Tyczynski
0cefb43707
Enable listing from memory
2015-12-09 16:24:14 +01:00
Wojciech Tyczynski
a915b8b29a
Merge pull request #18080 from wojtek-t/list_options_in_listwatch
...
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
k8s-merge-robot
2adcd77dbd
Merge pull request #18407 from mikedanese/doc-fix
...
Auto commit by PR queue bot
2015-12-09 01:32:34 -08: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
k8s-merge-robot
a486977e19
Merge pull request #17982 from deads2k/gv-testapi-01
...
Auto commit by PR queue bot
2015-12-08 22:16:59 -08:00
Mike Danese
0b6167c0c4
fix package doc so it shows up on godoc.org
2015-12-08 17:19:44 -08:00
Mike Danese
68cf14695c
implement client leaderelection library
2015-12-08 13:39:56 -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
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
db11f1b6c6
Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
...
Auto commit by PR queue bot
2015-12-06 12:24:00 -08: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
e2679abdb8
Merge pull request #18011 from sdminonne/podSelector_labelSelector
...
Auto commit by PR queue bot
2015-12-05 13:56:04 -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
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05: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
68b3701176
Merge pull request #17836 from wojtek-t/support_selectors_in_versioned_params
...
Handle selectors correctly in VersionedParams().
2015-12-01 10:29:53 +01:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
k8s-merge-robot
0ca2182192
Merge pull request #17827 from jiangyaoguo/move-GetNodeInfo-to-scheduler
...
Auto commit by PR queue bot
2015-11-30 21:16:16 -08: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
jiangyaoguo
f4c5d00b0c
Implement a cachedNodeInfo in predicates
2015-11-27 21:49:14 +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
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05: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
Abhi Shah
3b014c71dd
Merge pull request #17274 from mqliang/podController
...
fix errror message
2015-11-18 14:17:31 -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
k8s-merge-robot
89d7309c88
Merge pull request #16256 from mikedanese/daemon-gls
...
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
mqliang
d7acd3d58f
fix errror message
2015-11-15 09:49:35 +08: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
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
k8s-merge-robot
dfb9ed2047
Merge pull request #17131 from pmorie/store-assert
...
Auto commit by PR queue bot
2015-11-13 00:01:13 -08: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
706d3a77a9
Merge pull request #16798 from derekwaynecarr/key_compaction
...
Auto commit by PR queue bot
2015-11-12 02:45:15 -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
Paul Morie
2377bada68
Add implements assertion for cache
2015-11-11 16:20:56 -05: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
k8s-merge-robot
699c91d4c4
Merge pull request #17026 from mikedanese/spam
...
Auto commit by PR queue bot
2015-11-09 12:20:09 -08:00
Mike Danese
c91dac3270
up the log level on a super spammy statement
2015-11-09 11:26:30 -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
derekwaynecarr
6ad7f1a8cb
Add event correlation to client
2015-11-06 16:59:38 -05: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
jayvyas
072980af14
HTTP Client request metrics: consolidating + client->server endpoint label, cleanups
2015-11-05 18:12:22 -05:00
Chao Xu
15e6ca5ac5
rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery
2015-11-05 14:52:58 -08:00
Kris
9e1afbceb0
Remove bad heuristic path manipulation
2015-11-05 14:42:36 -08:00
Clayton Coleman
2dc2db5d02
Config consumers should be able to recognize an empty config
...
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
kargakis
4fdb6d1331
logs: Use resource builder
2015-11-05 14:54:55 +01:00
Wojciech Tyczynski
ce95f68d2a
Changes in codec interfaces
2015-11-05 13:52:22 +01:00
Chao Xu
ac0b7b5d3b
remove RESTClient.Timeout
2015-11-04 16:48:24 -08:00
Chao Xu
0512d45986
document RESTClient.timeout
2015-11-04 16:13:55 -08:00
Clayton Coleman
3da15535b6
Provide backpressure to clients when etcd goes down
...
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.
In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping. Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
c8fe00b94f
Merge pull request #16711 from liggitt/remotecommand_error
...
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
Jordan Liggitt
ddae749111
Read error from failed upgrade attempts
2015-11-02 22:39:58 -05:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
huangyuqi
b69b498235
use the defined constant variable
2015-11-02 15:32:53 +08:00
Mike Danese
9bdb860eeb
add apigroup installer and tests
2015-10-31 11:42:38 -07:00
Wojciech Tyczynski
aac55d4795
Unify List() signature in clients
2015-10-30 15:43:40 +01:00
k8s-merge-robot
a86d8780f8
Merge pull request #16082 from caesarxuchao/discover-1.0-server-new
...
Auto commit by PR queue bot
2015-10-29 23:45:16 -07:00
k8s-merge-robot
f4b2d8358f
Merge pull request #16179 from madhusudancs/master-out-of-disk
...
Auto commit by PR queue bot
2015-10-29 11:57:25 -07:00
k8s-merge-robot
1ecda94f0a
Merge pull request #15305 from mqliang/deamonSetList
...
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Chao Xu
69932aecb0
Let discoveryClient use RESTClient;
...
Ignore 403 and 404 error when discovering server-supported group/version
2015-10-29 09:55:32 -07:00
Madhusudan.C.S
ce257b5a0e
Use node out of disk condition in the scheduler while scheduling pods.
...
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.
Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.
The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.
Also update listers test.
2015-10-28 14:29:46 -07:00
Wojciech Tyczynski
579fa74977
Add test for TimeoutSeconds parameter
2015-10-28 15:48:36 +01:00
k8s-merge-robot
d228fd6d9c
Merge pull request #15809 from mikedanese/deploy
...
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
Daniel Smith
424afd4cfb
Merge pull request #15971 from jlowdermilk/client-http-content-type
...
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Daniel Smith
8524d392bf
Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
...
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Wojciech Tyczynski
4d117dff6f
Fix timeoutSeconds parameter
2015-10-27 15:36:54 +01:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
k8s-merge-robot
a094a6e3de
Merge pull request #15815 from mqliang/lister_test
...
Auto commit by PR queue bot
2015-10-26 11:30:44 -07:00
k8s-merge-robot
dbf9a53de9
Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
...
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
Mike Danese
8acf01d620
add status subresource for deployment
2015-10-26 00:12:58 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
4f17b4b39c
Merge pull request #15961 from ncdc/stream-protocol-negotiation
...
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
Clayton Coleman
5b137a64a8
Return errors directly from negotiation
...
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
570a9dc18f
Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
...
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Andy Goldstein
6fddb0e83a
Add httpstream.Handshake unit test
2015-10-23 14:09:41 -04:00
Filip Grzadkowski
ebee4bb357
Merge pull request #15954 from timothysc/non-blocking-event
...
Events should be non-blocking.
2015-10-23 14:06:00 +02:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Jeff Lowdermilk
583246a22f
Set Content-Type in client http request header when posting objects
2015-10-22 13:50:28 -07:00
Chao Xu
eb3a80156a
let kubectl api-versions use the discovery client
2015-10-22 10:19:34 -07:00
Filip Grzadkowski
aff29f9b6b
Merge pull request #16044 from mikedanese/store-err
...
fix cache.Get error handling on bad key
2015-10-22 14:46:24 +02:00
Andy Goldstein
ad4f108bfa
Move port forward protocol constant to subpackage
...
Move port forward protocol name constant to a subpackage underneath
pkg/kubelet to avoid flags applicable to the kubelet leaking into
kubectl. Eventually, handlers for specific protocol versions will move
into the new subpackage as well.
2015-10-21 22:37:26 -04:00
Andy Goldstein
ff9883d9ec
Address code review comments
2015-10-21 21:53:51 -04:00
Andy Goldstein
6c7b519619
Move protocol handlers to separate files
2015-10-21 21:53:51 -04:00
Andy Goldstein
3d1cafc2c3
Add streaming subprotocol negotiation
...
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
k8s-merge-robot
f12171b430
Merge pull request #16020 from wojtek-t/fix_request_tests
...
Auto commit by PR queue bot
2015-10-21 16:42:54 -07:00
Mike Danese
933daef3f8
fix cache.Get error handling on bad key
2015-10-21 11:43:30 -07:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
k8s-merge-robot
071d21257f
Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
...
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
Wojciech Tyczynski
433ccf0043
Fix broken Request test
2015-10-21 11:09:29 +02:00
k8s-merge-robot
36e1b80e4a
Merge pull request #14881 from lavalamp/fix-14617
...
Auto commit by PR queue bot
2015-10-20 14:14:18 -07:00
Timothy St. Clair
d00bf0c48c
"Force events to be non-blocking on the client side"
2015-10-20 11:52:09 -05:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
Chao Xu
5f210c6473
fix names in comments
2015-10-19 16:10:02 -07:00
Chao Xu
6f0f87b629
make kubectl explain work for extensions API
2015-10-19 10:21:56 -07:00
mqliang
62846b8b3c
solve conflict after rebase
2015-10-19 21:56:24 +08:00
mqliang
b9f9944351
add unit test for StoreToJobLister
2015-10-19 21:56:24 +08:00
k8s-merge-robot
75c977d200
Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
...
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
k8s-merge-robot
09a3871506
Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
...
Auto commit by PR queue bot
2015-10-18 04:04:11 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
mqliang
1ce85d8ffd
replace Fatalf to Errorf
2015-10-17 19:44:32 +08:00
k8s-merge-robot
d94e4d64f2
Merge pull request #15694 from mqliang/jobList
...
Auto commit by PR queue bot
2015-10-16 21:22:12 -07:00
k8s-merge-robot
68717ddae0
Merge pull request #15659 from caesarxuchao/discovery-client
...
Auto commit by PR queue bot
2015-10-16 20:03:33 -07:00
Chao Xu
5859da3e1f
add discovery client
2015-10-16 14:20:21 -07:00
eulerzgy
31c09bdcb8
Del capatical local packagename for cadvisorApi
2015-10-16 11:03:50 +08:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
k8s-merge-robot
7ef2a1b293
Merge pull request #15427 from brendandburns/controllerversion
...
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot
130e6a7a4d
Merge pull request #15468 from feiskyer/volume-typo-error
...
Auto commit by PR queue bot
2015-10-15 05:08:33 -07:00
k8s-merge-robot
081f05c207
Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
...
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
mqliang
5122f34206
StoreToJobLister.List() should return extensions.JobList, instead of []extension.Job
2015-10-15 15:23:52 +08:00
mqliang
45269bef8f
return api.DaemonSetList, instead of an array
2015-10-15 14:49:52 +08:00
Brendan Burns
0c730f4ea7
update
2015-10-14 18:22:19 -07:00
Daniel Smith
57c6dd93ea
Switch type; add comments & disclaimer
2015-10-14 16:18:56 -07:00
Daniel Smith
4bdb1259a7
fix delta fifo & various fakes for go1.5.1
2015-10-14 16:07:46 -07:00
Brendan Burns
5afbf578b0
Add a method for getting supported resources on a server
2015-10-14 15:51:26 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
k8s-merge-robot
dfb400e2e9
Merge pull request #15268 from caesarxuchao/fix-14126
...
Auto commit by PR queue bot
2015-10-13 19:30:17 -07:00
Chao Xu
b443f1264c
Use PATCH instead of PUT when update events
2015-10-13 17:12:09 -07:00
Chao Xu
a5f42698b3
fix unit test
2015-10-13 13:22:54 -07:00
Chao Xu
493d2b6920
grep sed Experimental()
2015-10-13 13:22:54 -07:00
Chao Xu
c4ee22b5b6
grep sed NewExperimental
2015-10-13 13:22:22 -07:00
Chao Xu
9a812bd0c5
grep sed ExperimentalClient
2015-10-13 13:22:22 -07:00
Chao Xu
9aa163aa88
grep sed ExperimentalInterface
2015-10-13 13:22:22 -07:00
Chao Xu
10917084df
experimental.go
2015-10-13 13:22:22 -07:00
k8s-merge-robot
de1a9e3167
Merge pull request #15430 from liggitt/fix_tls_config_for
...
Auto commit by PR queue bot
2015-10-13 06:29:16 -07:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Dawn Chen
782102d437
Merge pull request #15224 from liggitt/proxy_https
...
Allow specifying scheme when proxying
2015-10-12 14:39:21 -07:00
Chao Xu
7817c2312c
fix rebase
2015-10-12 13:48:14 -07:00
Chao Xu
910c1fd130
fix exceptions
2015-10-12 13:34:07 -07:00
Chao Xu
fe7b85f6ea
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
8654227c08
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
58ed8fd6fe
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
654ceb6e5a
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
cbb3deb182
run goimports
2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643
grep-sed
2015-10-12 13:31:45 -07:00
Dawn Chen
149ca1ec49
Merge pull request #14618 from smarterclayton/refactor_exec
...
Refactor exec to make attach useful without a client.Config
2015-10-12 11:44:34 -07:00
derekwaynecarr
3c012db30f
Add status subresource to HorizontalPodAutoscaler
2015-10-12 11:27:56 -04:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
feisky
8ad6b8f035
Fix typo error
2015-10-12 18:57:56 +08:00
k8s-merge-robot
688b7840c5
Merge pull request #14941 from caesarxuchao/fix-ServerAPIVersions
...
Auto commit by PR queue bot
2015-10-10 10:36:55 -07:00
Jordan Liggitt
0ed6751456
Simplify TLSConfigFor, honor Insecure with client certs
2015-10-10 01:04:02 -04:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Clayton Coleman
3f1b18fbba
Refactor exec to make attach useful without a client.Config
...
The current executor structure is too dependent on client.Request
and client.Config. In order to do an attach from the server, it needs
to be possible to create an Executor from crypto/tls#TLSConfig and to
bypassing having a client.Request.
Changes:
* remotecommand.spdyExecutor - handles upgrading a request to SPDY and getting a connection
* remotecommand.NewAttach / New - moved to exec / portforward / attach since they handle requests
* Remove request.Upgrade() - it's too coupled to SPDY, and can live with the spdyExecutor
* Add request.VersionedParams(runtime.Object, runtime.ObjectConvertor) to handle object -> query transform
2015-10-09 14:36:46 -04:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
Chao Xu
efe7d30a64
address lavalamp's comments
2015-10-07 16:19:22 -07:00
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
k8s-merge-robot
f0fdfd96a0
Merge pull request #15101 from liggitt/kubelet_bearer_token
...
Auto commit by PR queue bot
2015-10-06 04:51:32 -07:00
Alex Robinson
7a33a4b0e9
Merge pull request #14296 from technosophos/master
...
Fix documentation in clientcmd/doc.go.
2015-10-05 16:31:09 -07:00
Jordan Liggitt
120e87277a
Add bearer token support for kubelet client config
2015-10-05 15:29:10 -04:00
Alex Robinson
66cbacc9c1
Merge pull request #14967 from liggitt/set_transport_defaults
...
Add util to set transport defaults
2015-10-05 10:29:32 -07:00
CJ Cullen
49e204cd1e
Merge pull request #14566 from erictune/job-e2e
...
Job e2e
2015-10-02 16:59:14 -07:00
k8s-merge-robot
e330b1197e
Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
...
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
k8s-merge-robot
1bcdd56cf3
Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
...
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot
562ea7160d
Merge pull request #14664 from deads2k/fix-prepend
...
Auto commit by PR queue bot
2015-10-02 03:21:10 -07:00
Jordan Liggitt
2a1286c8f2
Add util to set transport defaults
2015-10-02 02:29:46 -04:00
Chao Xu
6dc99b52dd
use http.client in ServerAPIVersions
2015-10-01 16:24:04 -07:00
Chao Xu
6a4c477af7
add a ServerAPIVersions function that visits both /api and /apis, and doesn't require a high-level client
2015-10-01 15:00:33 -07:00
Nikhil Jindal
00ab055fa1
Merge pull request #14893 from caesarxuchao/temp-fix-negotiate-version
...
temporarily disable warning message in NegotiateVersion
2015-09-30 23:13:39 -07:00
Chao Xu
dfdbaec577
temporarily disable warning message in NegotiateVersion
2015-09-30 21:41:26 -07:00
Andy Goldstein
ed021fed4c
Port forwarding fixes
...
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.
Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.
Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Brendan Burns
44a16834d8
Merge pull request #14087 from brendandburns/kubectl
...
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
eulerzgy
71b96422f4
set capital in some files
2015-09-30 14:46:20 +08:00
Brendan Burns
e827934d78
Merge pull request #12677 from andronat/kubectl_doc_cmd
...
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
Prashanth Balasubramanian
c54e174808
Ingress Client
2015-09-29 18:51:24 -07:00
Eric Tune
3c43c8dfa0
Improve jobs e2e
...
Remove unnecessary yaml file.
Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing. Also, sleep -1 still exits 0)
Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.
Changed some tests to use pods that run forever, and not wait
for completion.
Added tests with local restarts.
Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
deads2k
4cc63313e7
fix testclient prepend functions
2015-09-29 08:03:52 -04:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
Eric Tune
293055b38e
Always set codec in setExperimentalDefaults
...
Without this, the Jobs client used by
kubectl had codec type v1. You would not notice this
on, say, a GET. But when you tried to do an
Update, which did client-side conversion, then
you would get an error.
2015-09-28 14:36:54 -07:00
Anastasis Andronidis
495433fbb7
client can return swagger schema
2015-09-26 14:25:53 +03:00
derekwaynecarr
aead9d3291
DaemonSets adds a Status subresource
2015-09-25 12:13:54 -04:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
c340d664da
Merge pull request #14046 from soltysh/job_controller_reaper_scaler
...
Reaper and scaler for jobs
2015-09-24 13:54:31 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
Maciej Szulik
48775319d9
Reaper and scaler for jobs
2015-09-23 13:06:34 +02:00
Matt Butcher
e243ca8129
Fix package documentation on pkg/client/unversioned.
...
The package documentation seems to reflect an older version of the
API.
2015-09-21 13:49:04 -06:00
Matt Butcher
625a64c9ec
Fix documentation in clientcmd/doc.go.
2015-09-21 13:39:04 -06:00
jiangyaoguo
e4ef28f096
generate new event cache for every event sink
2015-09-19 10:58:25 +08:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
36eb7372c8
Merge pull request #13259 from soltysh/job_controller_logic
...
Auto commit by PR queue bot
2015-09-17 13:22:34 -07:00
Alex Mohr
f893245f4e
Merge pull request #14103 from feihujiang/fixWrongPathOfDocument
...
Fixes the wrong path of documents
2015-09-17 10:27:41 -07:00
k8s-merge-robot
ea410b389c
Merge pull request #14063 from deads2k/enable-system-ca
...
Auto commit by PR queue bot
2015-09-17 10:23:26 -07:00
deads2k
a093ea34c3
enable system cas
2015-09-17 10:31:30 -04:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
Maciej Szulik
8cefa2ee55
Job controller logic
2015-09-17 10:05:33 +02:00
Maciej Szulik
bdec7da47b
Added NewUpdateSubresourceAction to testclient actions
2015-09-17 10:02:00 +02:00
Jerzy Szczepkowski
722b0a6cf8
Unittests for horizontal pod autoscaler controller.
...
Unittests for horizontal pod autoscaler controller.
2015-09-17 09:32:05 +02:00
k8s-merge-robot
80e6d660b0
Merge pull request #13915 from tmrts/docs/improvement
...
Auto commit by PR queue bot
2015-09-16 21:17:37 -07:00
k8s-merge-robot
426d4a2477
Merge pull request #13945 from caesarxuchao/kube-api-prefix
...
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
Tamer Tas
c491d94a89
Improve documentation for client/metrics pkg
2015-09-15 18:36:02 +03:00
Maciej Szulik
1b46bc010a
Job clients, printer and describer
2015-09-15 13:54:51 +02:00
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
8189460809
Merge pull request #13844 from tummychow/label-deps-2
...
Auto commit by PR queue bot
2015-09-14 12:56:24 -07:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
tummychow
a21c52a766
Move util/validation files to their own package
2015-09-13 00:46:52 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
c733124920
address lavalamp's comments
2015-09-11 17:34:32 -07:00
Chao Xu
3dc5223f4f
check if experimental is enabled during startup of client and server
2015-09-11 17:34:32 -07:00
Chao Xu
ac5481d089
move client/unversioned/fake.go to its own package
2015-09-11 17:33:54 -07:00
Chao Xu
fa9c9d0375
remove comments
2015-09-11 17:33:22 -07:00
Chao Xu
0d2110c3f4
fix boilerplate
2015-09-11 17:33:22 -07:00
Chao Xu
0b6fd8c5c4
fixing tests
2015-09-11 17:33:22 -07:00
Chao Xu
190ca2ebf2
add import_known_versions.go
2015-09-11 17:32:23 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Daniel Smith
ccd9e3e247
Run all automated tools
2015-09-11 16:11:08 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Mike Danese
b0457bee94
Merge pull request #13058 from mvdan/go1.5
...
Race condition and test fixes
2015-09-10 15:10:19 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Daniel Martí
71ca503d30
Try to fix flaky test in record/event
...
The error messages were inconsistent with what was actually being tested in
regards to timestamps being equal or not.
2015-09-10 11:44:14 -07:00
Mike Danese
bf881f187e
rename expapi.Daemon to expapi.DaemonSet
2015-09-10 08:34:26 -07:00
Jerzy Szczepkowski
6998247e1b
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
...
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735 .
2015-09-09 10:59:43 +02:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Andy Goldstein
c83786979c
Various exec fixes
...
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:
echo foo | kubectl exec -i <pod> -- cat
Without this change, the `cat` process never terminates and `kubectl
exec` hangs.
Fix interactive exec sessions hanging after you type 'exit'.
Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`
Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`
Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak
6698257239
Merge pull request #13523 from roofmonkey/experimental-api-fixes
...
Experimental api fixes
2015-09-04 09:07:14 +02:00
Piotr Szczesniak
14f4d3ad0e
Merge pull request #13425 from jszczepkowski/hpa-kind
...
Fixed kind to resource convertion in scale client.
2015-09-04 09:04:00 +02:00