Weibin Lin
1f921760d6
Default extensions/v1beta1 Deployment's RevisionHistoryLimit to MaxInt32
2018-08-14 09:20:45 +08:00
Janet Kuo
a4f85c8dd0
Default extensions/v1beta1 Deployment's ProgressDeadlineSeconds to MaxInt32.
...
1. MaxInt32 has the same meaning as unset, for compatibility
2. Deployment controller treats MaxInt32 the same as unset (nil)
2018-07-27 10:10:30 -07:00
Jordan Liggitt
bed6d0f5ea
Use pointer for PSP allow escalation
2017-10-04 13:55:06 -04:00
Christopher M. Luciano
90b139897e
Add PolicyTypes to NetworkPolicy Spec
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-09-05 12:16:19 -04:00
Chao Xu
cd7e7afaaa
run pkg/apis/make-origin-dir-compile, pkg/apis compile
2017-06-22 11:30:51 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Janet Kuo
8275e8f017
Update DaemonSet API for rollback and history
...
1. Add revisionHistoryLimit (default 10), collisionCount, and validation code
2. Add daemonset-controller-hash label, and deprecate templateGeneration
2017-06-03 00:43:17 -07:00
Jordan Liggitt
ad116026d9
Remove vestiges of defaulting from conversion path, switch to top-level default registration only
2017-04-12 13:36:15 -04:00
Dan Winship
1940941dbb
Update NetworkPolicy comments to reflect reality.
...
NetworkPolicy has been implemented with no distinction between nil and
empty Ports/From, and we don't intend to change that now.
2017-04-10 08:40:36 -04: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
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
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
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
Clayton Coleman
89b3a0d863
Register new defaulting functions
2016-10-18 21:07:34 -04:00
Clayton Coleman
0aa8da19a9
Move old defaulters to public functions
...
Also make Deployment defaulting resilient to fuzzing
2016-10-18 21:07:32 -04:00
Daniel Smith
f1fd638962
fix register.go files up + add test import
2016-08-11 17:06:54 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Casey Davenport
47248f3698
v1beta1 NetworkPolicy API definition and client support
2016-05-19 19:02:54 -07:00
Clayton Coleman
3e36dd62c6
Move defaulter functions to public methods with a convention
...
Preparing to generate direct defaulter access.
2016-04-28 12:20:13 -04:00
Brendan Burns
87a1635c93
Machine generated stuff
2016-03-22 14:41:37 -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
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
Janet Kuo
7e9fb97b7d
Remove UniqueLabelKey from deployment spec
2016-02-05 16:21:44 -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
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -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
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
ad484c79f7
pass runtime.Scheme as parameter to AddToScheme
2015-12-23 23:21:35 -08:00
Tamer Tas
c798a6ef01
ConfigMap resource and its REST implementation
2015-12-16 11:19:26 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05: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
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
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -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
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02: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
nikhiljindal
0829bcc8fc
Defaulting deployment selector and label
2015-10-12 11:00:29 -07:00