Aldo Culquicondor
c27f9fdeb7
Add warnings for big number of completions and parallelism
...
Change-Id: I63e192b1ce9da7d8bb04f8be1a6e19ec6fbbfa5a
2023-06-14 10:38:42 -04:00
Tim Hockin
151509fb74
Remove unreachable warning on volume name dup
...
Volume names are validated to be unique and always have been. The cited
issues are all about apply getting messed up, not the aspiserver
allowing dups.
```
$ k create -f /tmp/bad.yaml
The Deployment "bad-volumes-test" is invalid: spec.template.spec.volumes[1].name: Duplicate value: "config"
$ k apply --server-side -f /tmp/bad.yaml
Error from server: failed to create typed patch object (default/bad-volumes-test; apps/v1, Kind=Deployment): .spec.template.spec.volumes: duplicate entries for key [name="config"]
$ k apply -f /tmp/bad.yaml -o json | jq '.spec.template.spec.volumes'
The Deployment "bad-volumes-test" is invalid: spec.template.spec.volumes[1].name: Duplicate value: "config"
```
2023-06-07 17:14:49 -07:00
Paco Xu
dfea1ae53e
add some ut for cronjob strategy and timezone in schedule
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-02-22 16:29:26 +08:00
Jordan Liggitt
642e6168d1
Add metadata.generation support to all pod-spec-containing types
2021-05-18 10:42:36 -04:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Zhou Peng
b33e202397
CronJob: cleanup legacy ScheduledJob vars,docs
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-05-10 00:45:21 +08:00
Jordan Liggitt
3b099ddf86
Ensure all new API versions of resources default to DeleteDependents
2018-12-06 19:58:14 -05:00
linweibin
fa8afc1d39
Remove unused code in UT files in pkg/
2018-01-15 16:02:35 +08:00
Di Xu
344fe56ed3
change DefaultGarbageCollectionPolicy to DeleteDependents for workload controllers
2017-11-22 10:09:44 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
deads2k
0258d044d3
create default storage selection functions
2017-08-02 11:02:22 -04:00
Anthony Yeh
631d8bcdbb
CronJob: Set DefaultGarbageCollectionPolicy to OrphanDependents.
...
Now that CronJob adds ControllerRef to Jobs it creates,
we need to set this default so legacy behavior is maintained.
2017-04-18 14:00:18 -07:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
6ea557d4b2
Fix tests after new defaulted value added
2017-01-23 12:37:21 -05:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
31b6ba4e94
mechanicals
2017-01-13 16:33:09 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +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
Maciej Szulik
41d88d30dd
Rename ScheduledJob to CronJob
2016-11-07 10:14:12 +01:00