Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventNetPolViolation events.EventName = "NetPolViolation" EventClusterUnhealthy events.EventName = "ClusterUnhealthy" EventClusterHealthy events.EventName = "ClusterHealthy" EventClusterNodeIpAutoDetected events.EventName = "ClusterNodeIpAutoDetected" EventClusterNodeIpAutoDetectionFailed events.EventName = "ClusterNodeIpAutoDetectionFailed" )
View Source
var EventsMap = map[events.EventName]*events.EventSchema{ "NetPolViolation": { Name: "NetPolViolation", Reason: "PolicyViolation", Action: "PolicyMonitoring", Type: events.EventTypeWarning, ReportingController: "worker", Message: "Network policy violation - please ask admin to check the network policy configuration on the worker cluster. <link to tech doc event-list>", }, "ClusterUnhealthy": { Name: "ClusterUnhealthy", Reason: "ComponentStatusChange", Action: "CheckComponents", Type: events.EventTypeWarning, ReportingController: "worker", Message: "Cluster is unhealthy - Please check if all worker components are running as expected", }, "ClusterHealthy": { Name: "ClusterHealthy", Reason: "ComponentStatusChange", Action: "None", Type: events.EventTypeNormal, ReportingController: "worker", Message: "Cluster is healthy - Cluster is back to healthy state", }, "ClusterNodeIpAutoDetected": { Name: "ClusterNodeIpAutoDetected", Reason: "ClusterNodeIpAutoDetected", Action: "None", Type: events.EventTypeNormal, ReportingController: "worker", Message: "Auto-detection of cluster node IP addresses was successful due to changes detected in the worker nodes", }, "ClusterNodeIpAutoDetectionFailed": { Name: "ClusterNodeIpAutoDetectionFailed", Reason: "ClusterNodeIpAutoDetectionFailed", Action: "None", Type: events.EventTypeWarning, ReportingController: "worker", Message: "Auto-detection of cluster node IP addresses failed", }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.