Commit Graph

2293 Commits (59beb8c36b95ba82065e17f8417f89d9814d1e7e)

Author SHA1 Message Date
Eric Tune bf9e93250e Job and DaemonSet documentation. 2015-09-24 17:51:25 -07:00
Tim Hockin fd91d3f0ec Make patch-up conversions simpler
Rather than an "all or nothing" approach to defining a custom conversion
function (which seems destined to cause problems eventually), this is an
attempt to make it possible to call the auto-generated code and then "fix it
up".

Specifically, consider you have a fooBar struct.  If you don't define a
conversion for FooBar, you will get a generated function like:
    convert_v1_FooBar_To_api_FooBar()

Before this PR, if you define your own conversion function, you get no
generated function.  After this PR you get:
    autoconvert_v1_FooBar_To_api_FooBar()
...which you can call yourself in your custom function.
2015-09-24 17:21:07 -07: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 a518a27354 Merge pull request #14417 from soltysh/issue14385
Issue 14385: job's parallelism defaults to completions.
2015-09-24 14:25:22 -07:00
Maciej Szulik a984eb3760 Issue 14385: job's parallelism defaults to completions. 2015-09-23 13:25:58 +02:00
Eric Tune 95a44be2ef Job status updates.
Added status REST storage.
Added validation for Status Updates.
Changed job controller to update status rather than just job
(which ignores status updates).
2015-09-22 11:39:35 -07:00
k8s-merge-robot 6c30a0e170 Merge pull request #13955 from caesarxuchao/API-discovery
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
k8s-merge-robot 98ed2ca28a Merge pull request #14267 from soltysh/job_defaults_fix
Auto commit by PR queue bot
2015-09-21 12:41:47 -07:00
Chao Xu 1278771b34 let apiserver support api discovery 2015-09-21 12:20:24 -07:00
k8s-merge-robot 843134885e Merge pull request #12470 from simon3z/add-host-ipc
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
Maciej Szulik 5d3b4de435 Extended defaults for jobs.
Currently jobs will only default completions and parallelism. This adds
copying labels map for pod's template as selectors, similarly how it's done
in replication controller.
2015-09-21 17:18:32 +02:00
k8s-merge-robot 6dad530a1f Merge pull request #12599 from rootfs/fc_volume
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
k8s-merge-robot c2f76e4ce7 Merge pull request #14106 from jszczepkowski/hpa-api
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
Eric Paris c02d5117af Merge pull request #14229 from gmarek/update-swagger-docs
Fix swagger docs
2015-09-19 17:34:39 -05:00
gmarek a5de60f985 Fix swagger docs 2015-09-19 20:16:45 +02:00
Jian Huang 44477b246b Add Ingress API resource type - auto generated files 2015-09-19 17:40:52 +08:00
Jian Huang a5e23ef5ca Add Ingress API Resource Type for L7 loadbalancing 2015-09-19 17:40:49 +08:00
Huamin Chen ed9a1bbd3a support fibre channel volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
Tim Hockin e07eb387bb Merge pull request #14142 from mikedanese/job-update
Various fixes to job
2015-09-18 14:44:41 -07:00
k8s-merge-robot 9537c43a62 Merge pull request #14092 from nikhiljindal/deploymentAPI
Auto commit by PR queue bot
2015-09-18 13:03:34 -07:00
Federico Simoncelli f21d9ac9e4 Support pods with containers using host ipc
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.

This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
Mike Danese 9d1838fb64 only allow updates of parrallelism in jobspec 2015-09-18 11:48:47 -07: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 c5f22a025a Regenerating everything 2015-09-17 14:09:53 -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
Jerzy Szczepkowski 7fcf7f1177 Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot e83bf49f86 Merge pull request #13957 from ghodss/rename-deployment-structs
Auto commit by PR queue bot
2015-09-17 04:23:13 -07:00
Maciej Szulik 8cefa2ee55 Job controller logic 2015-09-17 10:05:33 +02:00
k8s-merge-robot 445fde3dc5 Merge pull request #13447 from pweil-/pid-mode
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
nikhiljindal c56a415bb7 Updating MaxSurge and unavailable to be on desired replicas 2015-09-16 17:33:47 -07:00
liguangbo 4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Sam Ghods cc6754f8d9 Rename Deployment API structs 2015-09-15 14:46:41 -07:00
Paul Weil ed80c2b940 pid mode 2015-09-15 13:51:44 -04: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
tummychow a21c52a766 Move util/validation files to their own package 2015-09-13 00:46:52 -07:00
Chao Xu ca803fc504 address lavalamp's comment on using testapi instead of latest, and adding comments for public method. 2015-09-12 15:48:44 -07:00
Chao Xu f2e12b765b move things around because we move expapi to apis/experimental now 2015-09-12 15:27:21 -07:00
Chao Xu fbde485548 remove pkg/expapi/testapi/testapi.go 2015-09-11 17:33:54 -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 7a0fc719fb Fix tooling for apis/experimental's new home
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00
Daniel Smith 4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00