Merge pull request #48291 from alant94/patch-1

Mark tcpSocket Pod lifecycle handler as deprecated
pull/49013/head
Kubernetes Prow Robot 2025-01-27 09:39:23 -08:00 committed by GitHub
commit a9ad0614d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ Enable the `PodLifecycleSleepActionAllowZero` feature gate if you want to set a
When a Container lifecycle management hook is called,
the Kubernetes management system executes the handler according to the hook action,
`httpGet` , `tcpSocket` and `sleep` are executed by the kubelet process, and `exec` is executed in the container.
`httpGet`, `tcpSocket` ([deprecated](/docs/reference/generated/kubernetes-api/v1.31/#lifecyclehandler-v1-core)) and `sleep` are executed by the kubelet process, and `exec` is executed in the container.
The `PostStart` hook handler call is initiated when a container is created,
meaning the container ENTRYPOINT and the `PostStart` hook are triggered simultaneously.