Alex Robinson
2b13bc471b
Merge pull request #21892 from jayunit100/backoff-flake-fix
...
fake backoff implementation for speeding up flakey test
2016-02-24 16:26:56 -08:00
Brian Grant
bea349a80d
Merge pull request #21856 from bprashanth/ttl_race
...
Lock across item expiration in the ttl store.
2016-02-24 15:06:25 -08:00
Prashanth Balasubramanian
45eb835833
Lock across item expiration in the ttl store.
2016-02-24 14:06:18 -08:00
jay vyas
4097cfe022
fake backoff implementation for speeding up flakey test, fake Clock Test for sleep
2016-02-24 13:50:29 -05:00
k8s-merge-robot
9b9b4fee11
Merge pull request #21278 from pweil-/include-discovery
...
Auto commit by PR queue bot
2016-02-22 09:31:53 -08:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
99c1df19b1
Merge pull request #21377 from wojtek-t/log_if_throttled
...
Auto commit by PR queue bot
2016-02-21 08:09:25 -08:00
k8s-merge-robot
3efdc1e08b
Merge pull request #21266 from deads2k/only-load-kubeconfig-once
...
Auto commit by PR queue bot
2016-02-20 14:00:38 -08:00
Janet Kuo
cf2bbc0d6d
Fix a bug when getting deployments for RS
2016-02-19 11:42:17 -08:00
k8s-merge-robot
c3a962bff5
Merge pull request #20351 from krousey/dynamic_client
...
Auto commit by PR queue bot
2016-02-19 10:00:54 -08:00
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
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -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
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -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
Paul Weil
6cf26a41c0
include discovery client in adaptor
2016-02-16 15:21:19 -05:00
Chao Xu
97aecd002a
remove underscore in imported pkg names
2016-02-16 10:54:51 -08: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
k8s-merge-robot
39a9043b8e
Merge pull request #21095 from liggitt/sa-namespace
...
Auto commit by PR queue bot
2016-02-14 22:13:10 -08:00
k8s-merge-robot
ee33ed2cf5
Merge pull request #20981 from madhusudancs/labelselector-error-string-fix
...
Auto commit by PR queue bot
2016-02-14 03:14:46 -08:00
Kris
4c58302b5b
Adding dynamic client
2016-02-12 11:49:00 -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
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
Madhusudan.C.S
525d7a7732
Fix the label selector to selector conversion error string.
...
The message as it is framed right now does not make any sense for the
end users of our system. It might even lead to confusion. So this is
attempt to make the error message less confusing.
2016-02-10 09:43:30 -08:00
k8s-merge-robot
41a98b43e4
Merge pull request #19840 from madhusudancs/replicaset-deployment
...
Auto commit by PR queue bot
2016-02-09 18:57:42 -08: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
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c
Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
...
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.
Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -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
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01: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
da10ef387f
Merge pull request #20761 from mikedanese/revert-20702
...
this is a manual reversion of #20702
2016-02-05 17:07:47 -08:00
Mike Danese
b1743a6887
this is a manual reversion of #20702
...
I can't revert with github which says "Sorry, this pull request couldn’t be
reverted automatically. It may have already been reverted, or the content may
have changed since it was merged."
Reverts commit: 0c191e787b
2016-02-05 16:34:02 -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
Daniel Smith
9b68e8ec2b
Merge pull request #20269 from mqliang/sync-delta-fifo
...
add a HasSynced() for DeltaFIFO and FIFO, method, which is very helpful for Informer
2016-02-05 15:51:50 -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
gmarek
0c191e787b
Split controller flags between controllers
2016-02-05 12:17:51 +01:00
Daniel Smith
2e7993e057
Merge pull request #20674 from caesarxuchao/decode-status
...
To be compatible with release 1.1, decode Status even if the APIVersion is not set in the response
2016-02-04 23:27:47 -08:00
Daniel Smith
d84ac764a9
Merge pull request #20492 from erictune/labselunver
...
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08: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
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Eric Tune
6133cb1f21
Move extensions.LabelSelector to unversioned.
...
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.
Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned
The related type in pkg/apis/extensions/v1beta1/ is staying there. I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Dr. Stefan Schimanski
98b11e82d5
Add explicit test case for old mergo.Merge behavior
2016-02-04 08:16:32 +01:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08: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
derekwaynecarr
070dce1bec
Fix DeleteCollection in FakeClient
2016-02-03 14:39:24 -05: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
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fe7887f1ec
replace the client with clientset in controllers
2016-02-02 20:28:45 -08:00
mqliang
8e615df000
fix the HasSynced() bug for Informer
2016-02-03 11:40:11 +08:00
k8s-merge-robot
8d540506ae
Merge pull request #20523 from caesarxuchao/generate-fake-clientset
...
Auto commit by PR queue bot
2016-02-02 17:28:24 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Chao Xu
66f5cd259d
automatically generate the clientset
2016-02-02 16:06:43 -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
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -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
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