Skip to content

Commit ab733b6

Browse files
authored
Merge pull request #35815 from beni0888/patch-1
Fix wrong event name
2 parents 761a587 + 32be744 commit ab733b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/containers/container-lifecycle-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The logs for a Hook handler are not exposed in Pod events.
105105
If a handler fails for some reason, it broadcasts an event.
106106
For `PostStart`, this is the `FailedPostStartHook` event,
107107
and for `PreStop`, this is the `FailedPreStopHook` event.
108-
To generate a failed `FailedPreStopHook` event yourself, modify the [lifecycle-events.yaml](https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/lifecycle-events.yaml) file to change the postStart command to "badcommand" and apply it.
108+
To generate a failed `FailedPostStartHook` event yourself, modify the [lifecycle-events.yaml](https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/pods/lifecycle-events.yaml) file to change the postStart command to "badcommand" and apply it.
109109
Here is some example output of the resulting events you see from running `kubectl describe pod lifecycle-demo`:
110110

111111
```

0 commit comments

Comments
 (0)