Commit Graph

104 Commits (01cfb51bfed48d1bce79ff5c839d460c3f0acad8)

Author SHA1 Message Date
Tim Bannister e57cf329a6 Merge 'dev-1.29' with main 2023-12-11 17:11:37 +00:00
lakshmi bc7c1dbd96 added a new concept page Sidecar containers and revise details details of init containers and pod lifecycle. 2023-12-01 16:34:15 +05:30
Kubernetes Prow Robot 4a17ee3c73
Merge pull request #43533 from charles-chenzz/dev-1.29
update docs to promote PodReadyToStartContainersCondition into beta
2023-11-27 16:06:57 +01:00
charles-chenzz a8d08be631 third round of comment address 2023-11-21 07:54:04 +08:00
charles-chenzz e109ce70ba first round of comment address 2023-11-16 21:17:48 +08:00
charles-chenzz 50ea97524e update pod-lifecycle.md to reflect the state of podreadytostartcontainer 2023-11-16 20:03:14 +08:00
Matthias Bertschy 8f7cfdbf9c
modifying docs for SidecarContainers beta graduation (#43471)
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2023-11-15 08:21:56 +08:00
Kubernetes Prow Robot acc735f769
Merge pull request #39637 from Dentrax/container-kill-order
Add detail about execution sequence for container kill order during Pod Termination
2023-08-15 21:06:28 -07:00
Furkan 53b345db18 Fix reviews
Signed-off-by: Furkan <furkan.turkal@trendyol.com>
2023-08-12 15:07:44 +03:00
Furkan 1c7cb802a1 Add detail about execution sequence for container termination
Signed-off-by: Furkan <furkan.turkal@trendyol.com>
2023-08-11 14:07:04 +03:00
Tim Bannister 20b43d6095
Merge branch 'main' into 'dev-1.28' 2023-08-09 11:13:31 +01:00
Kubernetes Prow Robot 3342cbf645
Merge pull request #41297 from tengqm/clarify-prestop-hook
Clarify prestop hook invocation condition
2023-07-05 15:15:04 -07:00
Rishit Dagli e2dc67dbc1
Merge pull request #3 from Rishit-dagli/main
Merged main dev-1.28
2023-06-21 13:09:03 -04:00
Kevin Hannon 01c9decf7d
rename PodHasNetwork to PodReadyToStartContainers (#40945)
* rename PodHasNetwork to PodReadyToStartContainers

* add note for condition rename

* add feature gate removal

* Update content/en/docs/reference/command-line-tools-reference/feature-gates.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/en/docs/reference/command-line-tools-reference/feature-gates-removed.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/en/docs/reference/command-line-tools-reference/feature-gates-removed.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-06-16 16:44:19 -07:00
Qiming Teng 06852a5c95 Apply some tidy up to the page 2023-05-25 10:50:36 +08:00
Qiming Teng ef1b3bfd4e Clarify the condition when preStop hook is invoked 2023-05-24 12:07:55 +08:00
Sai Ramesh Vanka 0ef0dedf3a Add a caution regarding the `exec` probe mechanism
Reference Issue: https://github.com/kubernetes/website/issues/41084
1. Exec probe's implementation involves the Kubelet making a gRPC call to the
underlying CRI which inturn involves in the creation of multiple processes that
require a good amount of cpu usage whenever the probe is executed.
2. Whereas the other probes namely `http/gRPC/tcp` involves the Kubelet alone making
a call to the container.
3. There might be a significant amount of cpu overhead in the cases of
higher pod densities, lower periodic intervals when the exec probe is configured.
4. Hence, it would be a good idea to alert the user to opt for the other available probes
in case of the above mentioned scenarios.

Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2023-05-23 21:54:18 +05:30
Sergey Kanzhelev 81dfd0cd00
gRPC GA (#39919) 2023-04-04 05:57:54 -07:00
Kubernetes Prow Robot 0cbb4d0e7a
Merge pull request #39809 from mimowo/update-docs-about-handling-deleted-pods
Update docs for KEP3329: "Retriable and non-retriable Pod failures for jobs
2023-03-22 22:28:22 -07:00
Michal Wozniak 801b556183 Update for KEP3329: "Retriable and non-retriable Pod failures for Jobs"
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-03-21 15:56:19 +01:00
Sergey Kanzhelev ae17e46f73
Document behavior of endpoints with the feature EndpointSliceTerminatingCondition (#36791)
* new behavior of endpoints with the feature gate EndpointSliceTerminatingCondition

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

* fixing feature gate versions

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2023-03-15 08:32:17 -07:00
lianghao208 f16f67eb56 update pod scheduling readiness gate in pod lifecycle 2023-02-17 16:22:55 +08:00
Michal Wozniak 964a24d759 Extend documentation on PodGC focusing on PodDisruptionConditions enabled
Co-authored-by: divya-mohan0209 <divya.mohan0209@gmail.com>
2022-11-28 09:02:52 +01:00
Tim Bannister 1eef742465
Favor EndpointSlice over Endpoints
Document EndpointSlice as the preferred and most appropriate mechanism
to record the backing endpoints of a Service.

Co-authored-by: Rob Scott <rob.scott87@gmail.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-10-11 12:38:39 +01:00
Mandraenke 1c5d75b4d1
added warning about indefinitely running resources
A suggestion to 

https://github.com/kubernetes/website/issues/37157

Just mention the warning from kubectl when trying to force terminate a pod.
2022-10-05 09:21:52 +02:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Deep Debroy b7ae62fc27 Docs for PodHasNetwork condition
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
2022-08-12 16:07:23 -07:00
David Xia 6fdabb154a
Update Pod Lifecycle doc section header
to be more accurate. It currently says failed,
but then following paragraph includes `Succeeded`.
It seems like replacing "failed" with "terminated" is more accurate.
2022-08-08 09:37:50 -07:00
Alexandru Gheorghe 99ce89a035
Reword preStop hook usage regarding container's Terminated state 2022-03-04 15:51:48 +00:00
GuyTempleton 80e2f669a0
Docs - EN - Concepts - Correct Pod-Conditions Anchor Link 2022-01-14 10:30:44 +00:00
Jesse Butler 584421fe11 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-06 08:55:54 -05:00
Tim Bannister 8a0f330654 Improve documentation for container probes
- mention gRPC probes in concept page
- revise explanation of gRPC probes in task page
- general tidying
2021-12-03 00:26:22 +00:00
gbarceloPIB 6cb934ba19
Update pod-lifecycle.md 2021-11-29 13:59:13 +01:00
Tim Bannister dc84f0cb97 Mark figures' intended size
This commit activates Sass styling to make image sizes more responsive
on the rendered page.
2021-10-17 21:31:52 +01:00
Kubernetes Prow Robot 583bc39de7
Merge pull request #28782 from niteshseram/fix/link-issue
fixing #hook-details doesn't exist in /docs/concepts/containers/container-lifecycle-hooks/
2021-07-27 10:36:47 -07:00
Vijay 626b101340
Update pod-lifecycle.md
I think there is a typo, `readiness problem` needs to be `readiness probe`.
2021-07-23 17:09:19 +12:00
Nitesh Seram f0bc1f3ef7
fix link issue 2021-07-04 10:40:12 +05:30
Tim Bannister 7045fc791d Revise explanation for when to use readiness probes
Some cases in the existing text were better served by startup probes.
Reword to make the distinction more clear.
2021-06-29 18:12:32 +01:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Aldo Culquicondor bda3cea5a6
Remove indication that a failed scheduling attempt removes the Pod
/sig scheduling
2021-01-14 14:47:31 -05:00
Kubernetes Prow Robot 28b393032b
Merge pull request #24995 from PrakherS/patch-1
Update pod-lifecycle.md
2021-01-12 11:42:35 -08:00
Kubernetes Prow Robot 0b52aec1ae
Merge pull request #24986 from Cweiping/feature/add_note_for_termnating
Clarify pod phase Terminating
2021-01-12 09:54:35 -08:00
Weiping Cai 9e9bb44eeb
clairfy pod phase Terminating
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-11-26 17:12:08 +08:00
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01:00
SHARATH ARADHYAMATH 983df6134c
Fix typo in container restart policy #25041
Issue: https://github.com/kubernetes/website/issues/25041

Description: Missing space in the word "forthat", it should be "for that".

Fix: Fixed the missing space in "forthat" under the topic "Container restart policy".

Doc link: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
2020-11-17 20:11:39 +05:30
Prakher Singhal a2a2896865
Update pod-lifecycle.md
Default for periodSeconds field of startupProbe resource is 10 seconds.

$ kubectl explain pod.spec.containers.startupProbe.periodSeconds
KIND:     Pod
VERSION:  v1

FIELD:    periodSeconds <integer>

DESCRIPTION:
     How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
     value is 1.
2020-11-12 14:51:23 +05:30
eagleusb 45ec60bed5
Merge master into dev-1.20 to keep in sync 2020-10-22 17:44:02 +02:00
Qiming Teng 070023b24a Fix links in concepts section 2020-10-22 14:24:56 +08:00
reylejano-rxm 34695f9380 dev-1.20 branch version for pod-lifecycle.md for feature state for k8s version 2020-10-14 09:35:18 -07:00
Jesus Climent e6c7f7eadf
Update pod-lifecycle.md
Updated the table limits so that values do not get truncated.
2020-10-14 10:14:22 -04:00