mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
doc: make it clear that newly scheduled Pods are Pod/Add events
This commit is contained in:
parent
8a9e0d936a
commit
e1e035e3a8
@ -65,6 +65,12 @@ type GVK string
|
|||||||
|
|
||||||
// Constants for GVKs.
|
// Constants for GVKs.
|
||||||
const (
|
const (
|
||||||
|
// There are a couple of notes about how the scheduler notifies the events of Pods:
|
||||||
|
// - Add: add events could be triggered by either a newly created Pod or an existing Pod that is scheduled to a Node.
|
||||||
|
// - Delete: delete events could be triggered by:
|
||||||
|
// - a Pod that is deleted
|
||||||
|
// - a Pod that was assumed, but gets un-assumed due to some errors in the binding cycle.
|
||||||
|
// - an existing Pod that was unscheduled but gets scheduled to a Node.
|
||||||
Pod GVK = "Pod"
|
Pod GVK = "Pod"
|
||||||
Node GVK = "Node"
|
Node GVK = "Node"
|
||||||
PersistentVolume GVK = "PersistentVolume"
|
PersistentVolume GVK = "PersistentVolume"
|
||||||
|
Loading…
Reference in New Issue
Block a user