Abdullah Gharaibeh
f466ab0989
Make job pod template annotations and labels mutable for suspended jobs that never started
2021-10-28 14:53:15 -04:00
Aldo Culquicondor
1bff5eb44d
Add ready field to Job status
...
to keep a count of the pods that have the ready condition.
Also:
- Add feature gate JobReadyPods.
- Add Ready to describe.
Change-Id: Ib934730a430a8e2a2f485671e345fe2330006939
2021-10-19 15:18:34 -04:00
Aldo Culquicondor
2c1b3fdb5b
Graduate JobTrackingWithFinalizers to beta
...
Enable feature by default.
Update integration tests for other features to assume that finalizers are present.
Change-Id: Ie969344f572627dba882c0e862e5700dadaf3026
2021-10-15 10:29:40 -04:00
Abdullah Gharaibeh
335817cbce
Allow updating node affinity, selector and tolerations for suspended jobs that never started
2021-10-14 10:04:47 -04:00
Sahil Vazirani
3988405c8d
GA TTLAfterFinish
2021-10-07 16:58:50 -07:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
wangyamei
c128411815
fix typo: Modify PodTrackingWithFinalizers to JobTrackingWithFinalizers
2021-08-23 15:38:30 +08:00
Jordan Liggitt
87a4e082ac
Change defaulter-gen input to package path
2021-08-14 11:00:18 -04:00
Aldo Culquicondor
bb56a0bd04
Add Job.status.uncountedPodUIDs
...
For tracking Job Pods that have finished but are not yet counted as failed or succeeded
And feature gate JobTrackingWithFinalizers
Change-Id: I3e080f3ec090922640384b692e88eaf9a544d3b5
2021-07-08 15:31:59 +00:00
Kubernetes Prow Robot
268cab5f44
Merge pull request #102022 from adtac/sbeta
...
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Davanum Srinivas
4b36a5cbe9
Switch to github.com/robfig/cron/v3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-14 19:03:03 -04:00
Adhityaa Chandrasekar
ba708e5fc9
graduate SuspendJob to beta
...
Also adds a label to two existing Job metrics.
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-06-03 18:48:32 +00:00
Aldo Culquicondor
7c50cd762a
Use aliases in sig apps and scheduling APIs OWNERS
...
Add alculquicondor to sig-scheduling-api-reviewers and sig-apps-api-reviewers
2021-05-17 17:56:20 +00:00
Mengxue Zhang
0c99f29f98
add restriction to indexed job name
2021-05-07 13:29:01 +00:00
Mengxue Zhang
2d2ee6bc3a
change default feature gate value of IndexedJob
2021-04-30 14:36:15 +00:00
Monis Khan
91241eac9b
Prune stale entries from OWNERS files
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-13 20:54:50 -04:00
Aldo Culquicondor
e6c3d7b34d
Only default Job fields when feature gates are enabled
...
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Aldo Culquicondor
ae0ac3109e
Rename job completion index annotation to not contain alpha
2021-03-11 19:25:11 +00:00
Adhityaa Chandrasekar
a0844da8f7
batch: add suspended job
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Maciej Szulik
1fc8fe0f7d
Generated changes
2021-03-05 14:03:05 +01:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1
2021-03-05 12:44:23 +01:00
Maciej Szulik
22b3a9cd21
Introduce .status.lastSuccessfulTime field for CronJob
2021-03-05 12:44:23 +01:00
Aldo Culquicondor
a1a5868a5a
Add Job.spec.completionMode and Job.status.completedIndexes
...
And IndexedJob feature gate, disabled by default.
Update JobDescriber
2021-03-03 15:10:18 +00:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
4f1dd5d2fb
Merge pull request #96987 from soltysh/drop_batch-alpha
...
Drop batch/v2alpha1
2021-02-17 06:35:06 -08:00
Nikhita Raghunath
dc3f59c881
*: remove mbohlool from reviewers
2021-02-16 10:59:27 +05:30
Nikhita Raghunath
e1b6089e7e
*: remove jianhuiz from reviewers
2021-02-16 10:59:26 +05:30
Maciej Szulik
7d9f36cd85
Generated changes
2021-02-12 17:51:15 +01:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Kubernetes Prow Robot
edff05ce42
Merge pull request #97865 from alculquicondor/job-validate-test
...
Increase coverage of Job validation
2021-01-20 10:38:30 -08:00
Kubernetes Prow Robot
5e9b43eab6
Merge pull request #96960 from Jefftree/defaulter-diff
...
Update defaulter gen to not use reflect
2021-01-15 17:07:44 -08:00
Aldo Culquicondor
14a5b5c859
Add test for ValidateJobUpdate
...
Change-Id: If194f941919e2f4256001030a96101b6c91c4d08
2021-01-08 15:20:08 -05:00
Aldo Culquicondor
0309b8ac9b
Use t.Run in Job validation tests
...
Change-Id: I0bc69c59b5ccfc9bb323295fed3478341f7a7b21
2021-01-08 14:29:27 -05:00
Aldo Culquicondor
4c85317d8d
Use autogenerated Job conversion functions
...
Change-Id: I46691310faa1973b153e344c95989bbea0ac8d6c
2020-12-30 13:19:32 -05:00
Jefftree
6addd69529
Update generator to not use reflect
2020-12-14 16:38:23 -08:00
Jefftree
50e7aa49aa
Integrate defaults marker and remove ContainerPort defaulter
2020-11-13 17:27:40 -08:00
SataQiu
961d062e9a
fix the validation logic for Job/CronJob RestartPolicy field
2020-11-11 14:16:36 +08:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
wawa0210
6709d4f938
Keep the imagePullPolicy of kubectl alpha debug consistent with the default
2020-09-24 00:22:53 +08:00
Kubernetes Prow Robot
1814612d34
Merge pull request #87919 from SomtochiAma/update-api-docs
...
Adds additional documentation for job status
2020-08-27 01:19:02 -07:00
Somtochi Onyekwere
49751e33e9
Adds additional documentation for job status
2020-07-10 08:34:33 +01:00
Patrick Ohly
32fdf688b3
GenericEphemeralVolume: 'make update' for API
2020-07-09 11:03:03 +02:00
Benjamin Elder
d8f2b131b5
remove david-mcmahon from reviewers
2020-06-30 14:06:58 -07: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
Roy Hvaara
896f84b652
Fix golint issues in pkg/apis/batch/validation
2019-11-11 04:03:34 +01:00
wojtekt
7b6bcdf780
Autogenerated code
2019-10-24 20:21:00 +02:00
wojtekt
d7011f1bdb
Cleanup explicitly registered functions
2019-10-24 20:21:00 +02:00
Kubernetes Prow Robot
3ebe6a6a5f
Merge pull request #77807 from matthyx/startupProbe
...
Add startupProbe to health checks
2019-08-29 21:21:30 -07:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
misakazhou
f0323a2030
Fix broken link to api-conventions doc.
...
Signed-off-by: misakazhou <misakazhou@tencent.com>
2019-08-29 08:35:16 +08:00
Lee Verberne
4a753c7a44
Generated code for ephemeral containers API
2019-07-22 11:19:22 +00:00
Eric Ernst
5e09568c8e
pod-overhead: autogenerated code updates
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Chao Xu
369314959c
generated
2019-05-24 18:14:53 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
yue9944882
71a58de48b
clean up genclient tags for hub types
2019-04-24 16:53:21 +08:00
Kubernetes Prow Robot
3488cd346a
Merge pull request #76804 from SataQiu/fix-apis-golint-20190419
...
Fix golint failures of pkg/apis/batch
2019-04-22 09:23:46 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
SataQiu
61478c04d8
fix golint failures of pkg/apis/batch
2019-04-19 18:04:54 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
Jordan Liggitt
c5dfe6b612
Update feature-gate handling of TTLSecondsAfterFinished
2018-12-29 19:36:43 -05:00
Serguei Bezverkhi
0050a649f0
Generated files
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 14:43:52 -05:00
Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
4dca07ef7e
Fixup incorrect use of DefaultFeatureGate.Set in tests
2018-11-21 11:51:33 -05:00
Jordan Liggitt
248d661327
Add tests to ensure storage feature gate changes don't escape packages
2018-11-16 10:52:53 -05:00
Janet Kuo
47d06c446d
Validate Job .spec.ttlSecondsAfterFinished; clear it when feature disabled
...
1. If TTLAfterFinished feature is enabled, the value should be non-negative.
2. If TTLAfterFinished feature is disabled, the field value should not
be kept.
2018-09-04 14:21:14 -07:00
Janet Kuo
1d6dd86407
Autogen API docs
2018-09-04 11:35:30 -07:00
Janet Kuo
209b32684e
Add TTLAfterFinished alpha feature
2018-09-04 11:35:30 -07:00
Davanum Srinivas
9b43d97cd4
Add Labels to various OWNERS files
...
Will reduce the burden of manually adding labels. Information pulled
from:
https://github.com/kubernetes/community/blob/master/sigs.yaml
Change-Id: I17e661e37719f0bccf63e41347b628269cef7c8b
2018-08-21 13:59:08 -04:00
stewart-yu
f1343af5d7
auto-generated file
2018-07-28 07:54:17 +08:00
stewart-yu
55251c716a
update the import file for move util/pointer to k8s.io/utils
2018-07-27 19:47:02 +08:00
Clayton Coleman
ef561ba8b5
generated: Avoid use of reflect.Call in conversion code paths
2018-07-17 23:02:16 -04:00
Jordan Liggitt
f6a676d9d0
declare conversion dependencies
2018-07-10 11:12:19 -04:00
Jordan Liggitt
f51ba20cdd
change field selector conversion registration to be strongly typed
2018-07-03 15:47:20 -04:00
Dr. Stefan Schimanski
f8de7cea40
Update generated files
2018-06-29 20:36:17 +02:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640
Update to gazelle 0.12.0 and run hack/update-bazel.sh
2018-06-22 16:22:18 -07:00
Dr. Stefan Schimanski
1208437f84
Update generated files
2018-06-13 12:35:13 +02:00
Dr. Stefan Schimanski
1db0024ec9
apiextensions: add ObjectMeta schema validation and pruning
2018-06-01 17:43:07 +00:00
Mike Danese
514d280e2f
autogenerated
2018-05-30 11:06:58 -07:00
David Eads
c5445d3c56
simplify api registration
2018-05-08 18:33:50 -04:00
David Eads
7b4f97aca3
generated
2018-05-08 18:32:44 -04:00
David Eads
e7fbbe0e3c
eliminate indirection from type registration
2018-04-25 09:02:31 -04:00
fisherxu
b49ef6531c
regenerated all files and remove all YEAR fields
2018-03-08 17:52:48 +08:00
Kubernetes Submit Queue
1eb1c00c44
Merge pull request #59674 from jennybuckley/codegen
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
code-gen: output golint compliant 'Generated by' comment
New PR instead of reopening #58115 because /reopen did not work.
This won't be ready to merge until the upstream https://github.com/kubernetes/gengo/pull/94 merges. Once that merges, the second commit will be changed to godep-save.sh and update-staging-godeps.sh, and the last commit will be changed to update-all.sh
The failing test is due to the upstream changes not being merged yet
```devel-release-note
Go code generated by the code generators will now have a comment which allows them to be easily identified by golint
```
Fixes #56489
2018-02-27 02:47:05 -08:00
jennybuckley
c8dacd8e63
Run hack/update-all.sh
2018-02-26 17:16:14 -08:00
Stephen Augustus
036a9ba928
Run hack/update-bazel.sh
2018-02-25 14:38:59 -05:00
Stephen Augustus
ca345ac9b8
Use Int32Ptr
function from utils instead of self-written versions
2018-02-25 14:38:58 -05:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Timothy St. Clair
da77826d08
Remove myself (timothysc) from OWNERS files on areas that I do not
...
actively maintain.
2018-02-12 18:56:41 -06:00
Allen Petersen
3d69cea1e5
Update generated files
2018-01-02 22:13:19 -08:00
Christoph Blecker
80e344644e
Regenerate all generated code
2018-01-02 00:21:07 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Maciej Szulik
f8ea46e8fe
Use full gopath for externalTypes
2017-11-26 00:12:32 +08:00
Dr. Stefan Schimanski
1e79dfb959
Update generated code
2017-11-10 18:26:46 +01:00
Dr. Stefan Schimanski
72809a08b9
deepcopy: remove deepcopy register tags
2017-11-10 18:25:26 +01:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00