Jordan Liggitt
0e2f1b535d
Ensure empty serialized slices are zero-length, not null
2017-03-20 23:56:39 -04:00
Maciej Szulik
c272630b1b
Deployments under apps/v1beta1 with new defaults
2017-03-01 15:14:41 +01:00
Łukasz Oleś
b27308c317
DaemonSet updates
...
It implements https://github.com/kubernetes/community/blob/master/contributors/design-proposals/daemonset-update.md
Feature https://github.com/kubernetes/features/issues/124
2017-02-27 09:15:56 +01:00
Piotr Szczesniak
a35ad8f6ba
Removed HPA objects from extensions api group
2017-02-02 14:09:54 +01:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
Klaus Ma
c8c4b81963
Made multi-scheduler graduated to Beta and then v1.
2017-01-19 20:16:01 +08:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Robert Rati
6a3ad93d6c
[scheduling] Moved pod affinity and anti-affinity from annotations to api
...
fields. #25319
2017-01-12 14:54:29 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Maciej Szulik
9f064c57ce
Remove extensions/v1beta1 Job
2016-12-17 00:07:24 +01:00
Robert Rati
91931c138e
[scheduling] Moved node affinity from annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Michail Kargakis
7bb68bc434
extensions: api changes for perma-failed deployments
2016-10-27 12:41:04 +02:00
Chao Xu
0a896a9e57
remove versioned LabelSelector definitions
2016-10-26 13:50:13 -07:00
gmarek
24975aad30
Revert "remove versioned LabelSelector definitions"
...
This reverts commit 1ace8fa9ce
.
2016-10-26 16:52:02 +02:00
Chao Xu
1ace8fa9ce
remove versioned LabelSelector definitions
2016-10-25 22:09:02 -07:00
yarntime
f65d47659e
add test cases to test the default value of HPA
2016-09-30 16:21:48 +08:00
Maciej Szulik
43612afaae
Set Job's labels from PodTemplateSpec if none are specified
2016-09-06 14:12:52 +02:00
Clayton Coleman
5f8366aac3
Convert() should accept the new conversion Context value
...
Allows Convert() to reuse the same conversions as ConvertToVersion
without being overly coupled to the version.
2016-08-18 14:45:20 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Janet Kuo
c160f75157
Fix deployment strategy validation
2016-06-10 11:14:32 -07:00
Jordan Liggitt
64f51723c8
Avoid populating job selector from pod template labels in autoSelector case
2016-03-16 02:23:01 -04:00
Madhusudan.C.S
db48dcf583
ReplicaSetSpec.Template shouldn't be a pointer.
...
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.
See PR #19510 .
2016-03-09 21:24:16 -08:00
Madhusudan.C.S
ad9ba23995
Comment out DaemonSet update type fields and remove the code that depends on it.
...
Leaving the type fields as comments for reference and reminder. But
deleting the conversion, defaulting and validation code. They can
always be brough back from the previous PR once the types are
introduced. Because builds break without them anyway that serves as a
reminder, so there is no need to leave them commented out.
2016-02-10 15:44:01 -08:00
Janet Kuo
7e9fb97b7d
Remove UniqueLabelKey from deployment spec
2016-02-05 16:21:44 -08:00
Madhusudan.C.S
559bf168ff
Fix tests.
2016-01-28 22:51:58 -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
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
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
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Madhusudan.C.S
572abe1c50
Introducing ReplicaSet, a new incarnation of Replication Controller.
...
This commit adds the API types, conversion, validation and defaulting code.
2016-01-21 00:38:42 -08:00
Madhusudan.C.S
bd3b476bbf
Update types, add defaulting code, conversions and validation.
2016-01-20 10:44:19 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
k8s-merge-robot
51e8c2e5f8
Merge pull request #17841 from mqliang/constant
...
Auto commit by PR queue bot
2015-12-13 23:40:27 -08: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
mqliang
0fd51b9e72
make 'deployment.kubernetes.io/podTemplateHash' as constant
2015-12-05 11:17:12 +08:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
Clayton Coleman
e9e02bdd50
Review comments
2015-11-26 11:53:38 -05:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05: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
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
Mike Danese
29c50cdc1a
plumb PodSelector through the api
2015-10-15 07:42:57 -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
Chao Xu
347d53ff2e
v1alpa1->v1beta1
2015-10-09 15:06:28 -07:00
Chao Xu
983f056514
move folders
2015-10-09 14:57:44 -07:00