Commit Graph

1202 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
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
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
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
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
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