Commit Graph

36 Commits

Author SHA1 Message Date
Jesse Butler 018f9d05a2 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-01 12:23:10 -05:00
Kubernetes Prow Robot 48a2a132b7
Merge pull request #29478 from ravisantoshgudimetla/patch-12
Recommend using TTL field in job
2021-11-19 04:16:51 -08:00
Daniel Weibel d367806825 Fix wording in Jobs documentation 2021-11-19 00:58:17 +04:00
Aldo Culquicondor 575b742e0a Graduate JobTrackingWithFinalizers to beta 2021-11-10 09:35:30 -05:00
ahg-g 14a003cb3b
add docs for JobMutableNodeSchedulingDirectives (#30390) 2021-11-10 04:43:27 -08:00
Ravi Gudimetla 1afd786d1b
Apply suggestions from code review
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-10-21 10:46:42 -04:00
Toli Kuznets 7b07d97a0b
Update job.md
add a newline per bug #29840
2021-10-01 12:21:42 -07:00
Tim Bannister 5b373f5bb9
Update “What's next” section of Workloads concept pages (#29730)
* Update “What's next” section of Workloads concept pages

Co-authored-by: Jihoon Seo <jihoon.seo@etri.re.kr>

* Add missing trailing / characters

Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
Co-authored-by: Arsh Sharma <56963264+RinkiyaKeDad@users.noreply.github.com>

Co-authored-by: Jihoon Seo <jihoon.seo@etri.re.kr>
Co-authored-by: Jihoon Seo <46767780+jihoon-seo@users.noreply.github.com>
Co-authored-by: Arsh Sharma <56963264+RinkiyaKeDad@users.noreply.github.com>
2021-09-27 17:16:43 -07:00
Kubernetes Prow Robot fa882c6ac3
Merge pull request #29394 from Patil2099/cascade-fix
Replace cascade=false -> cascade=orphan
2021-09-14 17:46:41 -07:00
Ravi Gudimetla 6c50bc639f
Recommend using TTL field in job
Recommend using ttlSecondsAfterFinished in the job spec so that the pod deletion can be guaranteed when jobs get deleted.
2021-08-19 16:59:53 -04:00
Pankaj Patil b4ef0b940e Replace cascade=false -> cascade=orphan 2021-08-14 20:27:40 +05:30
Mengjiao Liu f945335af6 Hard-code the name of the target repo's default branch instead of using the githubbranch parameter value 2021-08-10 18:03:21 +08:00
Victor Palade 61ac44bb11 Merge master into dev-1.22 to keep in sync 2021-08-04 19:43:06 +02:00
Chris Jones 1a2e20268a Add a clarifying reference about a Job's Pod deletion. 2021-07-29 12:50:06 -06:00
Kubernetes Prow Robot c9e0171da0
Merge pull request #28881 from adtac/sbeta22
SuspendJob: graduate to beta
2021-07-26 10:38:34 -07:00
Aldo Culquicondor d6b142070d Add details about using the Job completion index 2021-07-16 15:01:43 -04:00
Aldo Culquicondor a6b6a976c3 Add feature gate JobTrackingWithFinalizers
and describe its behavior

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-07-15 10:03:13 -04:00
Adhityaa Chandrasekar daa31064f3 SuspendJob: graduate to beta
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-07-12 13:35:32 +00:00
Aldo Culquicondor 96783a8119 Update release status of Indexed Job
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-07-05 15:00:21 -04:00
Nima 42af0d2f58
Remove paragraph about TTLAfterFinished feature gate 2021-06-15 13:52:43 +02:00
Nima 8a8427ef5e
Change alpha to beta 2021-06-14 13:03:23 +02:00
Nima d92c9f2a74
Fix feature state version for jobs ttl
I think this is a typo in the docs and it should be `v1.21` instead of `v1.12`
2021-06-14 12:38:28 +02:00
Jihoon Seo c76c3784aa Fix some errors 2021-04-20 09:38:53 +09:00
Victor Palade ca046d9b1f Merge master into dev-1.21 to keep in sync 2021-03-26 21:29:52 +01:00
Adhityaa Chandrasekar cd61594559 job.md: add section on suspended jobs
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-23 14:13:17 +00:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Aldo Culquicondor 552566fcfa Documentation for Indexed completion mode
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-03-16 16:54:44 -04:00
Marc Campbell 8a48273855
Better description of Job execution
Just a small clarification on the description of the responsibilities of a Job. Kubernetes doesn't ensure that the Pods are successful, but the scheduler's responsibility is to continue retrying until success. Updating the docs with a slight wording change to more accurately reflect that a Job won't ensure success, but it will continue retrying until success.
2021-01-25 12:57:00 -08:00
Ader aa571fbf8d Add content in job.md
* Add description to make it easy to read.

* Distinguish between 'command'and 'output'.

* Add the code blocks to the Markdown spec.
2020-12-28 09:44:04 +08:00
Evgeny Shmarnev 7f1a2cace5 Improve order of workload resources 2020-08-10 09:56:48 +02:00
Qiming Teng 0bdcd44e6b Replace reference to redirect entries (1)
We are referencing the redirect entries in the docs, at many places.
These references should be updated to the correct content page.
2020-07-27 13:22:53 +08:00
Tim Bannister 49eee8fd3d
Revise Pod concept (#22603)
* Revise Pod concept

Adapt the existing Pod documentation to suit the Docsy theme, by
promoting the Pod concept itself to /docs/concepts/workloads/pods/

Following on from this, update the Pod Lifecycle page to cover the
lifecycle of a Pod and follow on directly from the Pod concept,
for readers keen to understand things in detail.

This change also removes the automatic contents list from the Pod
overview page. Instead, the new page links to all the pages
inside the Pod section.

* Update links to Pod concept

Link to updated content

* Incorporate Pod concept suggestions

Co-authored-by: Celeste Horgan <celeste@cncf.io>

* Revise StatefulSet suggestion for Pod concept

Co-authored-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Celeste Horgan <celeste@cncf.io>
2020-07-26 20:18:16 -07:00
Leon Barrett 0f854ec760
Update content/en/docs/concepts/workloads/controllers/job.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-07-11 10:45:07 -07:00
Leon Barrett 7b92c46503 Fix description of back-off count reset
By carefully reading the code in `job_controller.go`, I finally understood that
the back-off count is reset when `forget` is true, which happens when `active`
or `successful` changes without any new failures right at the moment. That
happens in this code:

dd649bb7ef/pkg/controller/job/job_controller.go (L588)

That behavior does not match what this document says. My change fixes the doc
to match the code.

It might be better to fix the behavior to match the doc, since the behavior is
kind of weird to describe. But I imagine that the Kubernetes team will need to
consider factors I'm not aware of before deciding to change job back-off
behavior, so I am not going to the effort of proposing a change like that.
2020-07-10 14:10:05 -07:00
Weiping Cai 03092eed1c
remove unnecessary note
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-06-21 13:56:36 +08:00
Tim Bannister 8f9551638b Rename Job concept page
(including Netlify redirects)
2020-06-11 23:13:23 +01:00