Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

创建活动

在控制器的 Reconcile 函数中发布 Event 对象通常是非常有用的,因为它们允许用户或任何自动化过程了解特定对象的状态并做出相应的响应。

可以通过运行 $ kubectl describe <资源类型> <资源名称> 来查看对象的最近事件。也可以通过运行 $ kubectl get events 来检查事件。