Ravi Gudimetla
9144250a92
Promote minReadySeconds to GA
2022-07-13 11:37:10 -04:00
areller
a6943ad863
[fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases ( #109809 )
...
* restructure tests
restructure TestValidateStatefulSet and TestValidateStatefulSetUpdate to be an array and accept list of expected errors. in this commits, no tests were changed and expected errors are not filled yet
* add expected errors
adding expected errors and making the tests pass, without making any changes to the tests
* clean up TestValidateStatefulSet error cases
* clean up TestValidateStatefulSetUpdate cases
* validate new statefulset as part of update validation
* address PR comments
2022-05-24 11:55:24 -07:00
Mayank Kumar
357203d992
API: maxUnavailable for StatefulSet
2022-03-28 11:01:05 -07:00
Matthew Cary
f1d5d4df5a
tests for statefulset PersistentVolumeClaimDeletePolicy api change
2021-11-17 16:46:48 -08:00
Matthew Cary
98c37f9e2a
statefulset PersistentVolumeClaimDeletePolicy api change
2021-11-17 16:46:47 -08:00
Matthew Cary
10a3cc815b
Revert "statefulset PersistentVolumeClaimDeletePolicy api change"
...
This reverts commit e4e735cd1c
.
Change-Id: I3e17aa585fd9ae4f9e74b97326ae6b9fadd2a94c
2021-07-15 17:14:19 -07:00
Matthew Cary
b259686b36
tests for statefulset PersistentVolumeClaimDeletePolicy api change
...
Change-Id: I07c8e31a8c76a6a1022c08fb749af7e353b731de
2021-06-23 11:55:35 -07:00
Matthew Cary
e4e735cd1c
statefulset PersistentVolumeClaimDeletePolicy api change
2021-06-23 10:33:05 -07:00
ravisantoshgudimetla
f3ab955018
validation: Handle presence of api introduced
...
When the StatefulSetMinReadySeconds feature gate is disabled,
the registry and validation must properly handle dropping the
minReadySeconds and AvailableReplicas fields
2021-05-25 20:03:18 -04:00
David Eads
2a0ef026b6
deepcopy statefulsets
2021-03-08 10:03:26 -05:00
Abdullah Gharaibeh
d7e80ab038
Implement pod deletion cost
2021-03-01 13:45:58 -05:00
Clayton Coleman
c37c93f47a
validation: Handle presence of MaxSurge on DaemonSet
...
When the maxsurge daemonset gate is disabled, the registry and validation
must properly handle stripping the field. In the special case where that
would leave the MaxUnavailable field set to 0, we must set it to 1 which
is the default value.
2020-12-17 09:00:56 -05:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
obitech
905e7510c8
Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation
2019-08-22 21:26:49 +02:00
Humble Chirammal
602c3eb0e6
Better documented exported functions and variables
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-18 15:08:25 +05:30
Mayank Kumar
57d6650339
fix error type when using activeDeadlineSeconds with RS/RC
2018-11-09 14:25:15 -08:00
Jordan Liggitt
283e282515
Move extensions validation to apps
2018-10-25 21:11:52 -04:00
Di Xu
3157ff0230
use NameIsDNSSubdomain validation from staging
2018-08-14 10:38:23 +08:00
foxyriver
345e53b783
change not valid to invalid
2018-07-18 14:11:22 +08:00
Jordan Liggitt
749484449a
Compare stateful set updates semantically
2018-07-13 13:32:31 -04:00
zouyee
fd743acf1a
statefulset validate collisionCount
2018-02-26 09:40:22 +08:00
yuexiao-wang
400f5545bf
add more test case in TestValidateStatefulSet
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-11-22 16:00:38 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Janet Kuo
ad0c6b66b5
Fix StatefulSet update validation
2017-08-21 15:28:08 -07:00
Yinan Li
68983201bf
Added field CollisionCount to StatefulSetStatus
2017-08-03 11:53:55 -07:00
Kenneth Owens
b1ce1ffc55
Removes PartitionStatefulSetStrategyType and Partition from UpdateStrategy and replaces them with a parameterized RollingUpdate strategy.
2017-06-12 10:06:09 -07:00
Kenneth Owens
1b55f57391
Implements StatefulSet update
...
Implements history utilities for ControllerRevision in the controller/history package
StatefulSetStatus now has additional fields for consistency with DaemonSet and Deployment
StatefulSetStatus.Replicas now represents the current number of createdPods and StatefulSetStatus.ReadyReplicas is the current number of ready Pods
2017-06-06 12:00:28 -07:00
Kenneth Owens
ba128e6e41
Implements ControllerRevision API Object without codec and code
...
generation
2017-05-25 11:38:57 -07:00
Clayton Coleman
2861ae5eb9
Support burst in stateful set scale up and down
...
The alpha field podManagementPolicy defines how pods are created,
deleted, and replaced. The new `Parallel` policy will replace pods
as fast as possible, not waiting for the pod to be `Ready` or providing
an order. This allows for advanced clustered software to take advantage
of rapid changes in scale.
2017-05-21 01:14:26 -04:00
moonfang(房孝敬)
d9c9e5e1e2
validate activeDeadlineSeconds in long run controller
2017-03-01 18:13:10 +08:00
deads2k
dd7cd951ce
move meta/v1/validation to apimachinery
2017-01-16 13:40:13 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -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
Anirudh Ramanathan
1ac31c8e09
Grammar
2016-11-30 11:02:34 -08:00
Anirudh
77609f3b0c
Update validation message.
2016-11-29 14:19:29 -08:00
Janet Kuo
10aee82ae3
Rename PetSet API to StatefulSet
2016-10-27 17:25:10 -07:00
Tim St. Clair
839034b46b
Validate AppArmor annotations in the API server
2016-08-21 20:59:11 -07:00
bprashanth
05aa040b0f
Allow changes to container image for updates
2016-08-18 16:33:51 -07:00
bprashanth
4601ac7643
Allow non-patch-updates to replicas
2016-08-17 17:37:56 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Tim Hockin
152c86ab06
Make name validators return string slices
2016-05-18 00:48:01 -07:00
Kevin
82ba4f077e
implement inter pod topological affinity and anti-affinity
2016-05-06 06:46:23 +00:00
Prashanth Balasubramanian
6bc3052551
PetSet alpha controller
2016-05-04 18:39:17 -07:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00